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. | |
| ~OSrL2Gams () | |
| Destructor. | |
| void | writeSolution (OSResult &osresult) |
| Writes a solution into a GMO with the result given as OSResult object. | |
| void | writeSolution (std::string &osrl) |
| Writes a solution into a GMO with the result given as osrl string. | |
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_ | ) |
Constructor.
| gmo_ | GMO handler. |
| OSrL2Gams::~OSrL2Gams | ( | ) | [inline] |
Destructor.
Definition at line 34 of file OSosrl2gams.hpp.
| void OSrL2Gams::writeSolution | ( | OSResult & | osresult | ) |
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.
struct gmoRec* OSrL2Gams::gmo [read, private] |
Definition at line 23 of file OSosrl2gams.hpp.
struct gevRec* OSrL2Gams::gev [read, private] |
Definition at line 24 of file OSosrl2gams.hpp.
1.6.1