public final class MathProgSysModel extends Object
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
boolean |
equals(Object obj) |
ExpressionsBasedModel |
getExpressionsBasedModel() |
String |
getName() |
int |
hashCode() |
static MathProgSysModel |
make(File file) |
Optimisation.Result |
maximise()
Will disregard the OBJSENSE and maximise.
|
Optimisation.Result |
minimise()
Will disregard the OBJSENSE and minimise.
|
Optimisation.Result |
solve()
If the OBJSENSE was specified in the file it is used otherwise the default is to minimise.
|
String |
toString() |
boolean |
validate() |
boolean |
validate(Access1D<BigDecimal> solution,
NumberContext context) |
public static MathProgSysModel make(File file)
public void dispose()
public ExpressionsBasedModel getExpressionsBasedModel()
public String getName()
public Optimisation.Result maximise()
Optimisation.Model.maximise()
public Optimisation.Result minimise()
Optimisation.Model.minimise()
public Optimisation.Result solve()
If the OBJSENSE was specified in the file it is used otherwise the default is to minimise.
The solution (variable values) are in the order the columns were defined in the MPS-file.
public boolean validate()
public boolean validate(Access1D<BigDecimal> solution, NumberContext context)
Copyright © 2019 Optimatika. All rights reserved.