Loading...
Searching...
No Matches
gamsworkspace.h
99 GAMSWorkspace(const std::string& workingDir, const std::string& systemDir, GAMSEnum::DebugLevel debug);
193 GAMSDatabase addDatabaseFromGDX(const std::string& gdxFileName, const std::string& databaseName);
212 GAMSDatabase addDatabase(const std::string& databaseName = "", const std::string& inModelName = "");
219 GAMSDatabase addDatabase(const GAMSDatabase& sourceDatabase, const std::string& databaseName = ""
239 GAMSJob addJobFromFile(const std::string& fileName, const GAMSCheckpoint& checkpoint, const std::string& jobName = "");
252 GAMSJob addJobFromString(const std::string& gamsSource, const GAMSCheckpoint& checkpoint, const std::string& jobName = "");
265 GAMSJob addJobFromGamsLib(const std::string& model, const GAMSCheckpoint& checkpoint, const std::string& jobName = "");
278 GAMSJob addJobFromApiLib(const std::string& model, const GAMSCheckpoint& checkpoint, const std::string& jobName = "");
291 GAMSJob addJobFromTestLib(const std::string& model, const GAMSCheckpoint& checkpoint, const std::string& jobName = "");
304 GAMSJob addJobFromEmpLib(const std::string& model, const GAMSCheckpoint& checkpoint, const std::string& jobName = "");
317 GAMSJob addJobFromDataLib(const std::string& model, const GAMSCheckpoint& checkpoint, const std::string& jobName = "");
330 GAMSJob addJobFromFinLib(const std::string& model, const GAMSCheckpoint& checkpoint, const std::string& jobName = "");
343 GAMSJob addJobFromNoaLib(const std::string& model, const GAMSCheckpoint& checkpoint, const std::string& jobName = "");
356 GAMSJob addJobFromPsoptLib(const std::string& model, const GAMSCheckpoint& checkpoint, const std::string& jobName = "");
449 GAMSDatabase addDatabaseFromGDXForcedName(std::string gdxFileName, std::string databaseName, std::string inModelName = "");
Definition: gamscheckpoint.h:47
Definition: gamsdatabase.h:175
Definition: gamsjob.h:61
Definition: gamsoptions.h:55
The GAMSWorkspaceInfo can be used to input parameters for the GAMSWorkspace constructor.
Definition: gamsworkspaceinfo.h:38
Definition: gamsworkspace.h:89
std::string workingDirectory() const
GAMSJob addJobFromPsoptLib(const std::string &model, const GAMSCheckpoint &checkpoint, const std::string &jobName="")
GAMSJob addJobFromNoaLib(const std::string &model, const std::string &jobName="")
GAMSJob addJobFromGamsLib(const std::string &model, const std::string &jobName="")
GAMSJob addJobFromDataLib(const std::string &model, const std::string &jobName="")
GAMSJob addJobFromGamsLib(const std::string &model, const GAMSCheckpoint &checkpoint, const std::string &jobName="")
void finLib(std::string model)
GAMSJob addJobFromTestLib(const std::string &model, const GAMSCheckpoint &checkpoint, const std::string &jobName="")
GAMSWorkspace & operator=(const GAMSWorkspace &other)
double myEPS()
GAMSWorkspace(const std::string &workingDir, const std::string &systemDir, GAMSEnum::DebugLevel debug)
GAMSJob addJobFromEmpLib(const std::string &model, const GAMSCheckpoint &checkpoint, const std::string &jobName="")
double * specValues() const
Get all special values related to a system.
static int apiGoldRelNumber()
Get the GAMS C++ API GOLD release number.
std::string systemDirectory() const
void noaLib(std::string model)
void dataLib(std::string model)
LogId logID() const
bool hasError() const
GAMSOptions addOptions()
GAMSJob addJobFromFinLib(const std::string &model, const GAMSCheckpoint &checkpoint, const std::string &jobName="")
void psoptLib(std::string model)
GAMSWorkspace(const std::string &workingDir, const std::string &systemDir="")
void empLib(std::string model)
GAMSJob addJobFromNoaLib(const std::string &model, const GAMSCheckpoint &checkpoint, const std::string &jobName="")
GAMSJob addJobFromApiLib(const std::string &model, const GAMSCheckpoint &checkpoint, const std::string &jobName="")
void gamsLib(std::string model)
static int apiMajorRelNumber()
Get the GAMS C++ API major release number.
void setMyEPS(double eps)
std::string scratchFilePrefix() const
Get the string used to prefix automatically generated files.
GAMSOptions addOptions(const std::string &optFile)
GAMSJob addJobFromString(const std::string &gamsSource, const GAMSCheckpoint &checkpoint, const std::string &jobName="")
GAMSDatabase addDatabase(const GAMSDatabase &sourceDatabase, const std::string &databaseName="", const std::string &inModelName="")
GAMSJob addJobFromFinLib(const std::string &model, const std::string &jobName="")
void setHasError(bool newHasError)
void setScratchFilePrefix(std::string prefix)
GAMSJob addJobFromEmpLib(const std::string &model, const std::string &jobName="")
bool operator==(const GAMSWorkspace &other) const
GAMSJob addJobFromFile(const std::string &fileName, const GAMSCheckpoint &checkpoint, const std::string &jobName="")
GAMSJob addJobFromFile(const std::string &fileName, const std::string &jobName="")
GAMSJob addJobFromTestLib(const std::string &model, const std::string &jobName="")
GAMSWorkspace(GAMSEnum::DebugLevel debug)
GAMSDatabase addDatabaseFromGDX(const std::string &gdxFileName, const std::string &databaseName)
static std::string apiVersion()
GAMSJob addJobFromString(const std::string &gamsSource, const std::string &jobName="")
GAMSDatabase addDatabase(const std::string &databaseName="", const std::string &inModelName="")
static std::string apiVersionDetail()
static int apiMinorRelNumber()
Get the GAMS C++ API minor release number.
GAMSWorkspace(const GAMSWorkspaceInfo &wsInfo)
GAMSDatabase addDatabaseFromGMD(void *gmdPtr)
GAMSJob addJobFromPsoptLib(const std::string &model, const std::string &jobName="")
bool operator!=(const GAMSWorkspace &other) const
GAMSJob addJobFromApiLib(const std::string &model, const std::string &jobName="")
GAMSWorkspace(const std::string &workingDir, GAMSEnum::DebugLevel debug)
GAMSOptions addOptions(const GAMSOptions &optFrom)
void apiLib(std::string model)
GAMSJob addJobFromDataLib(const std::string &model, const GAMSCheckpoint &checkpoint, const std::string &jobName="")
GAMSDatabase addDatabaseFromGDX(const std::string &gdxFileName, const std::string &databaseName, const std::string &inModelName)
void testLib(std::string model)
GAMSDatabase addDatabaseFromGDX(const std::string &gdxFileName)
GAMSCheckpoint addCheckpoint(const std::string &checkpointName="")