9 #ifndef GAMSOPTIONS_HPP_
10 #define GAMSOPTIONS_HPP_
14 #include "CoinPragma.hpp"
18 extern "C" struct optRec;
49 bool isKnown(
const char* optname);
73 char*
getString(
const char *optname,
char *buffer);
84 void setInteger(
const char *optname,
int ival);
89 void setDouble(
const char *optname,
double dval);
94 void setString(
const char *optname,
const char *sval);
void setInteger(const char *optname, int ival)
Sets the value of an integer option.
bool isKnown(const char *optname)
Checks whether an option exists.
void setBool(const char *optname, bool bval)
Sets the value of a boolean option.
~GamsOptions()
Destructor.
void setDouble(const char *optname, double dval)
Sets the value of a double option.
bool isDefined(const char *optname)
Checks whether the user specified some option.
char * getString(const char *optname, char *buffer)
Gets the value of a string option.
GamsOptions(GamsHandler &gams_, const char *solvername)
Constructor for GamsOptions class.
double getDouble(const char *optname)
Gets the value of a real (double) option.
Forwards requests for output, point transformations, dictionary files, and other things to a GAMS I/O...
int getInteger(const char *optname)
Gets the value of an integer option.
bool readOptionsFile(const char *optfilename)
Reads an options file.
bool getBool(const char *optname)
Gets the value of a boolean option.
Class to handle the access to a GAMS options file.
struct optRec * optionshandle
void setString(const char *optname, const char *sval)
Sets the value of a string option.