public class SimplexSolver extends AbstractLinearOptimizer
DEFAULT_MAX_ITERATIONS
Constructor and Description |
---|
SimplexSolver()
Build a simplex solver with default settings.
|
SimplexSolver(double epsilon)
Build a simplex solver with a specified accepted amount of error
|
Modifier and Type | Method and Description |
---|---|
RealPointValuePair |
doOptimize()
Perform the bulk of optimization algorithm.
|
getIterations, getMaxIterations, optimize, setMaxIterations
public SimplexSolver()
public SimplexSolver(double epsilon)
epsilon
- the amount of error to accept in floating point comparisonspublic RealPointValuePair doOptimize() throws OptimizationException
OptimizationException
- if no solution fulfilling the constraints
can be found in the allowed number of iterations"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"