|
OS
2.10.1
|
Creating a OSInstance from a GAMS model given as GAMS Modeling Object (GMO). More...
#include <OSgams2osil.hpp>
Collaboration diagram for OSgams2osil:Public Member Functions | |
| OSgams2osil (struct gmoRec *gmo_=NULL) | |
| OSgams2osil (std::string gamsControlFile) | |
| ~OSgams2osil () | |
| bool | initGMO (const char *datfile) |
| bool | createOSInstance () |
| Creates an OSInstance from the GAMS smag instance representation. More... | |
| OSInstance * | takeOverOSInstance () |
| Gives OSInstance and ownership to calling function. More... | |
| OSInstance * | getOSInstance () |
| Gives OSInstances but keeps ownership. More... | |
Public Attributes | |
| OSInstance * | osinstance |
Creating a OSInstance from a GAMS model given as GAMS Modeling Object (GMO).
Definition at line 22 of file OSgams2osil.hpp.
| OSgams2osil::OSgams2osil | ( | struct gmoRec * | gmo_ = NULL | ) |
| OSgams2osil::OSgams2osil | ( | std::string | gamsControlFile | ) |
| OSgams2osil::~OSgams2osil | ( | ) |
| bool OSgams2osil::initGMO | ( | const char * | datfile | ) |
| bool OSgams2osil::createOSInstance | ( | ) |
Creates an OSInstance from the GAMS smag instance representation.
| OSInstance* OSgams2osil::takeOverOSInstance | ( | ) |
Gives OSInstance and ownership to calling function.
This object forgets about the created instance.
|
inline |
Gives OSInstances but keeps ownership.
Destruction will destruct OSInstance.
Definition at line 55 of file OSgams2osil.hpp.
| OSInstance* OSgams2osil::osinstance |
Definition at line 32 of file OSgams2osil.hpp.
1.8.11