Reads an optimization result and stores result and solution in a Gams Modeling Object. More...
#include <OSosrl2gams.hpp>
Public Member Functions | |
OSrL2Gams (struct gmoRec *gmo_) | |
Constructor. More... | |
~OSrL2Gams () | |
Destructor. More... | |
void | writeSolution (OSResult &osresult) |
Writes a solution into a GMO with the result given as OSResult object. More... | |
void | writeSolution (std::string &osrl) |
Writes a solution into a GMO with the result given as osrl string. More... | |
Private Attributes | |
struct gmoRec * | gmo |
struct gevRec * | gev |
Reads an optimization result and stores result and solution in a Gams Modeling Object.
Definition at line 20 of file OSosrl2gams.hpp.
OSrL2Gams::OSrL2Gams | ( | struct gmoRec * | gmo_ | ) |
|
inline |
Destructor.
Definition at line 34 of file OSosrl2gams.hpp.
Writes a solution into a GMO with the result given as OSResult object.
osresult | Optimization result as object. |
Definition at line 32 of file OSosrl2gams.cpp.
void OSrL2Gams::writeSolution | ( | std::string & | osrl | ) |
Writes a solution into a GMO with the result given as osrl string.
osrl | Optimization result as string. |
Definition at line 185 of file OSosrl2gams.cpp.
|
private |
Definition at line 23 of file OSosrl2gams.hpp.
|
private |
Definition at line 24 of file OSosrl2gams.hpp.