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