Loading...
Searching...
No Matches
gamsdatabase.h
261 GAMSSet addSet(const std::string& name, const int dimension, const std::string& explanatoryText = "",
285 , GAMSDomain domain1, GAMSDomain domain2 = GAMSDomain(), GAMSDomain domain3 = GAMSDomain(), GAMSEnum::SetType setType = GAMSEnum::SetType::Multi);
293 GAMSParameter addParameter(const std::string& name, const int dimension, const std::string& explanatoryText = "");
312 GAMSParameter addParameter(const std::string& name, const std::string& explanatoryText, GAMSDomain domain1
322 GAMSVariable addVariable(const std::string& name, const int dimension, const GAMSEnum::VarType varType
332 GAMSVariable addVariable(const std::string& name, const GAMSEnum::VarType varType, const std::string& explanatoryText = ""
344 GAMSVariable addVariable(const std::string& name, const GAMSEnum::VarType varType, const std::string& explanatoryText
354 GAMSEquation addEquation(const std::string& name, const int dimension, const GAMSEnum::EquType equType
364 GAMSEquation addEquation(const std::string& name, const GAMSEnum::EquType equType, const std::string& explanatoryText = ""
376 GAMSEquation addEquation(const std::string& name, const GAMSEnum::EquType equType, const std::string& explanatoryText
383 std::vector<GAMSDatabaseDomainViolation> getDatabaseDVs(int maxViol = 0, int maxViolPerSym = 0);
414 GAMSDatabase(const std::string& gdxFileName, gams::GAMSWorkspace& workspace, const double specValues[]
415 , const std::string& databaseName = "", const std::string& inModelName = "", bool forceName = false);
416 GAMSDatabase(gams::GAMSWorkspace& workspace, const double specValues[], const std::string& databaseName = ""
418 GAMSDatabase(gams::GAMSWorkspace &workspace, const double specValues[], const GAMSDatabase& sourceDb
Definition: gamsdatabaseiter.h:39
Definition: gamsdatabase.h:175
GAMSSet addSet(const std::string &name, const std::string &explanatoryText, const std::vector< GAMSDomain > &domains=std::vector< GAMSDomain >(), GAMSEnum::SetType setType=GAMSEnum::SetType::Multi)
GAMSEquation getEquation(const std::string &name)
GAMSEquation addEquation(const std::string &name, const int dimension, const GAMSEnum::EquType equType, const std::string &explanatoryText="")
bool isValid() const
std::vector< GAMSDatabaseDomainViolation > getDatabaseDVs(int maxViol=0, int maxViolPerSym=0)
GAMSVariable addVariable(const std::string &name, const int dimension, const GAMSEnum::VarType varType, const std::string &explanatoryText="")
GAMSSet addSet(const std::string &name, const int dimension, const std::string &explanatoryText="", GAMSEnum::SetType setType=GAMSEnum::SetType::Multi)
int getNrSymbols()
Retrieve the number of symbols in the GAMSDatabase.
GAMSVariable addVariable(const std::string &name, const GAMSEnum::VarType varType, const std::string &explanatoryText="", const std::vector< GAMSDomain > &domains=std::vector< GAMSDomain >())
GAMSParameter addParameter(const std::string &name, const int dimension, const std::string &explanatoryText="")
GAMSEquation addEquation(const std::string &name, const GAMSEnum::EquType equType, const std::string &explanatoryText, GAMSDomain domain1, GAMSDomain domain2=GAMSDomain(), GAMSDomain domain3=GAMSDomain())
void doExport(const std::string &filePath="")
GAMSParameter addParameter(const std::string &name, const std::string &explanatoryText="", const std::vector< GAMSDomain > &domains=std::vector< GAMSDomain >())
GAMSSet addSet(const std::string &name, const std::string &explanatoryText, GAMSDomain domain1, GAMSDomain domain2=GAMSDomain(), GAMSDomain domain3=GAMSDomain(), GAMSEnum::SetType setType=GAMSEnum::SetType::Multi)
GAMSSymbol getSymbol(const std::string &name)
GAMSSet getSet(const std::string &name)
GAMSParameter getParameter(const std::string &name)
GAMSDatabase & operator=(const GAMSDatabase &other)
bool suppressAutoDomainChecking()
bool checkDomains()
GAMSVariable addVariable(const std::string &name, const GAMSEnum::VarType varType, const std::string &explanatoryText, GAMSDomain domain1, GAMSDomain domain2=GAMSDomain(), GAMSDomain domain3=GAMSDomain())
void setSuppressAutoDomainChecking(bool value)
LogId logID()
bool operator==(const GAMSDatabase &other) const
GAMSEquation addEquation(const std::string &name, const GAMSEnum::EquType equType, const std::string &explanatoryText="", const std::vector< GAMSDomain > &domains=std::vector< GAMSDomain >())
GAMSVariable getVariable(const std::string &name)
GAMSDatabaseIter end()
bool operator!=(const GAMSDatabase &other) const
GAMSDatabaseIter begin()
GAMSParameter addParameter(const std::string &name, const std::string &explanatoryText, GAMSDomain domain1, GAMSDomain domain2=GAMSDomain(), GAMSDomain domain3=GAMSDomain())
This class represents a abstraction of GAMSSet objects and relaxed sets, i.e. strings.
Definition: gamsdomain.h:38
Definition: gamsequation.h:37
Definition: gamsparameter.h:37
Definition: gamsset.h:37
Definition: gamssymbol.h:49
Definition: gamsvariable.h:37
Definition: gamsworkspace.h:89