OSosrl2gams.hpp
Go to the documentation of this file.
1 // Copyright (C) GAMS Development and others 2008-2009
2 // All Rights Reserved.
3 // This code is published under the Eclipse Public License.
4 //
5 // $Id: OSosrl2gams.hpp 4263 2011-09-09 20:19:26Z Gassmann $
6 //
7 // Authors: Stefan Vigerske
8 
9 #ifndef OSRL2GAMS_HPP_
10 #define OSRL2GAMS_HPP_
11 
12 #include "GAMSlinksConfig.h"
13 
14 class OSResult;
15 struct gmoRec;
16 struct gevRec;
17 
20 class OSrL2Gams
21 {
22 private:
23  struct gmoRec* gmo;
24  struct gevRec* gev;
25 
26 public:
30  OSrL2Gams(struct gmoRec* gmo_);
31 
35 
40 
44  void writeSolution(std::string& osrl);
45 };
46 
47 #endif /*OSRL2GAMS_HPP_*/
Reads an optimization result and stores result and solution in a Gams Modeling Object.
Definition: OSosrl2gams.hpp:20
struct gevRec * gev
Definition: OSosrl2gams.hpp:24
The Result Class.
Definition: OSResult.h:2548
void writeSolution(OSResult &osresult)
Writes a solution into a GMO with the result given as OSResult object.
Definition: OSosrl2gams.cpp:32
struct gmoRec * gmo
Definition: OSosrl2gams.hpp:23
OSResult * osresult
~OSrL2Gams()
Destructor.
Definition: OSosrl2gams.hpp:34
OSrL2Gams(struct gmoRec *gmo_)
Constructor.
Definition: OSosrl2gams.cpp:28