public abstract class LinearSolver extends BaseSolver
min [C]T[X]
when [AE][X] == [BE]
and 0 <= [X]
and 0 <= [BE]
Further it is required here that the constraint right hand sides are nonnegative (nonnegative elements in [BE]).
You construct instances by using the LinearSolver.Builder class. It will return an appropriate subclass for you. It's recommended that you first create a ExpressionsBasedModel and feed that to the LinearSolver.Builder. Alternatively you can directly call ExpressionsBasedModel.getDefaultSolver() or even ExpressionsBasedModel.minimise() or ExpressionsBasedModel.maximise() on the model.
| Modifier and Type | Class and Description |
|---|---|
static class |
LinearSolver.Builder |
Optimisation.Constraint, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.Result, Optimisation.Solver, Optimisation.Stateoptions| Modifier and Type | Method and Description |
|---|---|
static LinearSolver |
make(ExpressionsBasedModel aModel) |
relax, solve, toStringequals, getClass, hashCode, notify, notifyAll, wait, wait, waitsolvepublic static LinearSolver make(ExpressionsBasedModel aModel)