Transport5.java
41 t5 = ws.addJobFromString("bmult=" + b + "; solve transport min z use lp; ms=transport.modelstat; ss=transport.solvestat;", cp);
45 System.out.println(" Modelstatus: " + GAMSGlobals.ModelStat.lookup( (int) t5.OutDB().getParameter("ms").findRecord().getValue() ));
46 System.out.println(" Solvestatus: " + GAMSGlobals.SolveStat.lookup( (int)t5.OutDB().getParameter("ss").findRecord().getValue() ));
GAMSParameter getParameter(String identifier)
GAMSVariable getVariable(String identifier)
GAMSDatabase OutDB()
void run()
double getValue()
T findRecord(String ... keys)
double getLevel()
void setSystemDirectory(String directory)
void setWorkingDirectory(String directory)
GAMSJob addJobFromString(String source)
GAMSCheckpoint addCheckpoint()
This example shows how to initialize a GAMSJob from a GAMSCheckpoint.
Definition: Transport5.java:16
Provides package namespace for Java interface and examples to General Algebraic Model System (GAMS).