Transport8.java
43 Arrays.asList( Double.valueOf(0.6), Double.valueOf(0.7), Double.valueOf(0.8), Double.valueOf(0.9),
79 public Scenarios(GAMSWorkspace ws, GAMSCheckpoint cp, Queue<Double> que, Object IOLockObj, int i) {
99 // instantiate the GAMSModelInstance and pass a model definition and GAMSModifier to declare bmult mutable
106 // dynamically get a bmult value from the queue instead of passing it to the different threads at creation time
GAMSModelInstance addModelInstance()
GAMSParameter addParameter(String identifier, int dimension)
GAMSVariable getVariable(String identifier)
void run()
GAMSDatabase SyncDB()
void dispose()
void solve()
GAMSGlobals.ModelStat getModelStatus()
GAMSGlobals.SolveStat getSolveStatus()
void instantiate(String modelDefinition, GAMSModifier ... modifiers)
void setAllModelTypes(String value)
void dispose()
void setValue(double value)
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 use a queue to solve multiple GAMSModelInstances in parallel.
Definition: Transport8.java:22
Provides package namespace for Java interface and examples to General Algebraic Model System (GAMS).