public final class SimplexSolver extends LinearSolver
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]).
The general recommendation is to construct optimisation problems using ExpressionsBasedModel and not worry about solver details. If you do want to instantiate a linear solver directly use the Builder class. It will return an appropriate subclass for you.
LinearSolver.Builder, LinearSolver.ModelIntegrationOptimisation.Constraint, Optimisation.Integration<M extends Optimisation.Model,S extends Optimisation.Solver>, Optimisation.Model, Optimisation.Objective, Optimisation.Options, Optimisation.Result, Optimisation.Solver, Optimisation.Stateoptions| Modifier and Type | Method and Description |
|---|---|
protected Optimisation.Result |
buildResult() |
protected double |
evaluateFunction(Access1D<?> solution) |
protected PhysicalStore<Double> |
extractSolution()
Extract solution MatrixStore from the tableau
|
protected boolean |
initialise(Optimisation.Result kickStarter) |
protected boolean |
needsAnotherIteration() |
Optimisation.Result |
solve(Optimisation.Result kickStarter) |
protected boolean |
validate() |
getBuilder, getBuilder, solvecountIterations, countTime, error, getState, incrementIterationsCount, isDebug, isIterationAllowed, isProgress, log, log, resetIterationsCount, setStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdispose, solvepublic Optimisation.Result solve(Optimisation.Result kickStarter)
protected Optimisation.Result buildResult()
buildResult in class GenericSolverprotected double evaluateFunction(Access1D<?> solution)
evaluateFunction in class GenericSolverprotected PhysicalStore<Double> extractSolution()
extractSolution in class GenericSolverprotected boolean initialise(Optimisation.Result kickStarter)
initialise in class LinearSolverprotected boolean needsAnotherIteration()
needsAnotherIteration in class LinearSolverprotected boolean validate()
Copyright © 2018 Optimatika. All rights reserved.