#include <GamsGDX.hpp>
Collaboration diagram for GamsGDX:

Public Member Functions | |
| GamsGDX (GamsHandler &gams_, GamsDictionary &dict_) | |
| Constructor. | |
| ~GamsGDX () | |
| Destructor. | |
| bool | init () |
| Loads and initializes the GDX dynamic library. | |
| bool | writePoint (const double *x, const double *rc, double objval, const char *filename) const |
| Writes a given point to a GDX file. | |
Private Member Functions | |
| void | reportError (int n) const |
Private Attributes | |
| GamsHandler & | gams |
| GamsDictionary & | dict |
| gdxRec * | gdx |
Definition at line 24 of file GamsGDX.hpp.
| GamsGDX::GamsGDX | ( | GamsHandler & | gams_, | |
| GamsDictionary & | dict_ | |||
| ) |
Constructor.
| gams_ | A GAMS handler. | |
| dict_ | A GAMS dictionary. |
| GamsGDX::~GamsGDX | ( | ) |
Destructor.
| void GamsGDX::reportError | ( | int | n | ) | const [private] |
| bool GamsGDX::init | ( | ) |
Loads and initializes the GDX dynamic library.
| bool GamsGDX::writePoint | ( | const double * | x, | |
| const double * | rc, | |||
| double | objval, | |||
| const char * | filename | |||
| ) | const |
Writes a given point to a GDX file.
Assumes that the GDX library has been initialized successfully before.
| x | Primal column values. | |
| rc | Dual column values. | |
| objval | Objective value for this point (needed if model is reformulated). | |
| filename | The name of the GDX file to create. |
GamsHandler& GamsGDX::gams [private] |
Definition at line 26 of file GamsGDX.hpp.
GamsDictionary& GamsGDX::dict [private] |
Definition at line 27 of file GamsGDX.hpp.
struct gdxRec* GamsGDX::gdx [private] |
Definition at line 29 of file GamsGDX.hpp.
1.4.7