Transport7.java
49 // instantiate the ModelInstance and pass a model definition and Modifier to declare bmult mutable
70 // instantiate the ModelInstance and pass a model definition and Modifier to declare upper bound of X mutable
71 mi.instantiate("transport use lp min z", new GAMSModifier(x, GAMSGlobals.UpdateAction.UPPER, xup));
GAMSModelInstance addModelInstance()
GAMSVariable addVariable(String identifier, int dimension, GAMSGlobals.VarType varType)
GAMSParameter addParameter(String identifier, int dimension)
GAMSVariable getVariable(String identifier)
GAMSSet getSet(String identifier)
GAMSDatabase OutDB()
void run()
GAMSDatabase SyncDB()
void solve()
GAMSGlobals.ModelStat getModelStatus()
GAMSGlobals.SolveStat getSolveStatus()
void instantiate(String modelDefinition, GAMSModifier ... modifiers)
void setAllModelTypes(String value)
void setValue(double value)
boolean clear()
T getFirstRecord()
T findRecord(String ... keys)
T addRecord(Vector< String > keys)
double getLevel()
void setSystemDirectory(String directory)
void setWorkingDirectory(String directory)
GAMSJob addJobFromString(String source)
GAMSCheckpoint addCheckpoint()
GAMSOptions addOptions()
This example shows how to create a GAMSModelInstance from a GAMSCheckpoint and how to modify a parame...
Definition: Transport7.java:23
Provides package namespace for Java interface and examples to General Algebraic Model System (GAMS).