public class SimplexSolver extends LinearOptimizer
evaluations, iterations
Constructor and Description |
---|
SimplexSolver()
Builds a simplex solver with default settings.
|
SimplexSolver(double epsilonIn,
int maxUlpsIn)
Builds a simplex solver with a specified accepted amount of error.
|
Modifier and Type | Method and Description |
---|---|
protected void |
doIteration(fr.cnes.sirius.patrius.math.optim.linear.SimplexTableau tableau)
Runs one iteration of the Simplex method on the given model.
|
PointValuePair |
doOptimize()
Performs the bulk of the optimization algorithm.
|
protected void |
solvePhase1(fr.cnes.sirius.patrius.math.optim.linear.SimplexTableau tableau)
Solves Phase 1 of the Simplex method.
|
getConstraints, getFunction, isRestrictedToNonNegative, optimize
computeObjectiveValue, getGoalType
getLowerBound, getStartPoint, getUpperBound
getConvergenceChecker, getEvaluations, getIterations, getMaxEvaluations, getMaxIterations, incrementEvaluationCount, incrementIterationCount
public SimplexSolver()
public SimplexSolver(double epsilonIn, int maxUlpsIn)
epsilonIn
- Amount of error to accept for algorithm convergence.maxUlpsIn
- Amount of error to accept in floating point comparisons.protected void doIteration(fr.cnes.sirius.patrius.math.optim.linear.SimplexTableau tableau)
tableau
- Simple tableau for the problem.TooManyIterationsException
- if the allowed number of iterations has been exhausted.UnboundedSolutionException
- if the model is found not to have a bounded solution.protected void solvePhase1(fr.cnes.sirius.patrius.math.optim.linear.SimplexTableau tableau)
tableau
- Simple tableau for the problem.TooManyIterationsException
- if the allowed number of iterations has been exhausted.UnboundedSolutionException
- if the model is found not to have a bounded solution.NoFeasibleSolutionException
- if there is no feasible solution?public PointValuePair doOptimize()
doOptimize
in class BaseOptimizer<PointValuePair>
Copyright © 2019 CNES. All Rights Reserved.