9 #ifndef GAMSHANDLER_HPP_ 
   10 #define GAMSHANDLER_HPP_ 
virtual void translateToGamsSpaceLB(const double *lb_, double *lb) const =0
Translates a given lower bound as seem by the GamsModel or smag user into the original gams space...
 
virtual const char * getSystemDir() const =0
Path to GAMS system. 
 
virtual const char * dictionaryFile() const =0
Gives the name of a dictionary file, if any. 
 
virtual void println(PrintMask mask, const char *msg) const =0
Prints the given message plus an extra newline into the GAMS output channels (log and/or status file)...
 
virtual int getColCount() const =0
The number of columns in the possibly transformed problem space. 
 
virtual void print(PrintMask mask, const char *msg) const =0
Prints the given message into the GAMS output channels (log and/or status file). 
 
virtual int translateToGamsSpaceCol(int colindex) const =0
Translates given column index into the original gams space. 
 
virtual double getMInfinity() const =0
GAMS value for minus infinity. 
 
virtual int getObjSense() const =0
Objective sense: +1 for min, -1 for max. 
 
GamsHandler()
Constructor. 
 
virtual bool translateFromGamsSpaceCol(const int *indices_, int *indices, int nr) const =0
Translates given column indices from the original gams space into what the user sees in a GamsModel o...
 
Forwards requests for output, point transformations, dictionary files, and other things to a GAMS I/O...
 
virtual ~GamsHandler()
Destructor. 
 
virtual void translateToGamsSpaceUB(const double *ub_, double *ub) const =0
Translates a given upper bound as seem by the GamsModel or smag user into the original gams space...
 
virtual int getObjVariable() const =0
The index of the objective variable in the original gams space. 
 
virtual void flush(PrintMask mask=AllMask) const =0
Flushes the buffer of a GAMS output channel. 
 
virtual void translateFromGamsSpaceX(const double *x_, double *x) const =0
Translates a given point from the original gams space into what the user sees in a GamsModel or smag...
 
virtual int getColCountGams() const =0
The number of columns in the original gams space. 
 
PrintMask
Distinguishing between message types. 
 
virtual double getPInfinity() const =0
GAMS value for plus infinity. 
 
virtual int translateToGamsSpaceRow(int rowindex) const =0
Translates given row index into the original gams space. 
 
virtual void translateToGamsSpaceX(const double *x_, double objval_, double *x) const =0
Translates a given point as seem by the GamsModel or smag user into the original gams space...
 
virtual int dictionaryVersion() const =0
Gives the dictionary version. 
 
virtual bool isDictionaryWritten() const =0
Indicates whether GAMS has written a dictionary file. 
 
virtual int getObjRow() const =0
The index of the objective row in the original gams space.