Package | Description |
---|---|
org.apache.commons.math3.optimization |
This package provides common interfaces for the optimization algorithms
provided in sub-packages.
|
org.apache.commons.math3.optimization.direct |
This package provides optimization algorithms that don't require derivatives.
|
org.apache.commons.math3.optimization.general |
This package provides optimization algorithms that require derivatives.
|
org.apache.commons.math3.optimization.linear |
This package provides optimization algorithms for linear constrained problems.
|
Modifier and Type | Method and Description |
---|---|
PointValuePair[] |
BaseMultivariateMultiStartOptimizer.getOptima()
Get all the optima found during the last call to
optimize . |
PointValuePair |
BaseMultivariateOptimizer.optimize(int maxEval,
FUNC f,
GoalType goalType,
double[] startPoint)
Optimize an objective function.
|
PointValuePair |
BaseMultivariateMultiStartOptimizer.optimize(int maxEval,
FUNC f,
GoalType goal,
double[] startPoint)
Optimize an objective function.
|
PointValuePair |
BaseMultivariateSimpleBoundsOptimizer.optimize(int maxEval,
FUNC f,
GoalType goalType,
double[] startPoint,
double[] lowerBound,
double[] upperBound)
Optimize an objective function.
|
Modifier and Type | Method and Description |
---|---|
ConvergenceChecker<PointValuePair> |
BaseMultivariateMultiStartOptimizer.getConvergenceChecker()
Get the convergence checker.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SimpleValueChecker.converged(int iteration,
PointValuePair previous,
PointValuePair current)
Check if the optimization algorithm has converged considering the
last two points.
|
Modifier and Type | Method and Description |
---|---|
protected PointValuePair |
CMAESOptimizer.doOptimize()
Perform the bulk of the optimization algorithm.
|
protected abstract PointValuePair |
BaseAbstractMultivariateOptimizer.doOptimize()
Perform the bulk of the optimization algorithm.
|
protected PointValuePair |
BOBYQAOptimizer.doOptimize()
Perform the bulk of the optimization algorithm.
|
protected PointValuePair |
SimplexOptimizer.doOptimize()
Perform the bulk of the optimization algorithm.
|
protected PointValuePair |
PowellOptimizer.doOptimize()
Perform the bulk of the optimization algorithm.
|
PointValuePair |
AbstractSimplex.getPoint(int index)
Get the simplex point stored at the requested
index . |
PointValuePair[] |
AbstractSimplex.getPoints()
Get the points of the simplex.
|
PointValuePair |
BaseAbstractMultivariateSimpleBoundsOptimizer.optimize(int maxEval,
FUNC f,
GoalType goalType,
double[] startPoint)
Optimize an objective function.
|
PointValuePair |
BaseAbstractMultivariateOptimizer.optimize(int maxEval,
FUNC f,
GoalType goalType,
double[] startPoint)
Optimize an objective function.
|
PointValuePair |
BaseAbstractMultivariateSimpleBoundsOptimizer.optimize(int maxEval,
FUNC f,
GoalType goalType,
double[] startPoint,
double[] lower,
double[] upper)
Optimize an objective function.
|
Modifier and Type | Method and Description |
---|---|
ConvergenceChecker<PointValuePair> |
BaseAbstractMultivariateOptimizer.getConvergenceChecker()
Get the convergence checker.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractSimplex.replaceWorstPoint(PointValuePair pointValuePair,
Comparator<PointValuePair> comparator)
Replace the worst point of the simplex by a new point.
|
protected void |
AbstractSimplex.setPoint(int index,
PointValuePair point)
Store a new point at location
index . |
protected void |
AbstractSimplex.setPoints(PointValuePair[] points)
Replace all points.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractSimplex.evaluate(MultivariateFunction evaluationFunction,
Comparator<PointValuePair> comparator)
Evaluate all the non-evaluated points of the simplex.
|
void |
MultiDirectionalSimplex.iterate(MultivariateFunction evaluationFunction,
Comparator<PointValuePair> comparator)
Compute the next simplex of the algorithm.
|
abstract void |
AbstractSimplex.iterate(MultivariateFunction evaluationFunction,
Comparator<PointValuePair> comparator)
Compute the next simplex of the algorithm.
|
void |
NelderMeadSimplex.iterate(MultivariateFunction evaluationFunction,
Comparator<PointValuePair> comparator)
Compute the next simplex of the algorithm.
|
protected void |
AbstractSimplex.replaceWorstPoint(PointValuePair pointValuePair,
Comparator<PointValuePair> comparator)
Replace the worst point of the simplex by a new point.
|
Constructor and Description |
---|
BaseAbstractMultivariateOptimizer(ConvergenceChecker<PointValuePair> checker) |
BaseAbstractMultivariateSimpleBoundsOptimizer(ConvergenceChecker<PointValuePair> checker) |
CMAESOptimizer(int lambda,
double[] inputSigma,
int maxIterations,
double stopFitness,
boolean isActiveCMA,
int diagonalOnly,
int checkFeasableCount,
RandomGenerator random,
boolean generateStatistics,
ConvergenceChecker<PointValuePair> checker) |
PowellOptimizer(double rel,
double abs,
ConvergenceChecker<PointValuePair> checker)
This constructor allows to specify a user-defined convergence checker,
in addition to the parameters that control the default convergence
checking procedure and the line search tolerances.
|
SimplexOptimizer(ConvergenceChecker<PointValuePair> checker) |
Modifier and Type | Method and Description |
---|---|
protected PointValuePair |
NonLinearConjugateGradientOptimizer.doOptimize()
Perform the bulk of the optimization algorithm.
|
PointValuePair |
AbstractScalarDifferentiableOptimizer.optimize(int maxEval,
DifferentiableMultivariateFunction f,
GoalType goalType,
double[] startPoint)
Optimize an objective function.
|
Constructor and Description |
---|
AbstractScalarDifferentiableOptimizer(ConvergenceChecker<PointValuePair> checker) |
NonLinearConjugateGradientOptimizer(ConjugateGradientFormula updateFormula,
ConvergenceChecker<PointValuePair> checker)
Constructor with default
line search solver and
preconditioner . |
NonLinearConjugateGradientOptimizer(ConjugateGradientFormula updateFormula,
ConvergenceChecker<PointValuePair> checker,
UnivariateSolver lineSearchSolver)
Constructor with default
preconditioner . |
NonLinearConjugateGradientOptimizer(ConjugateGradientFormula updateFormula,
ConvergenceChecker<PointValuePair> checker,
UnivariateSolver lineSearchSolver,
Preconditioner preconditioner) |
Modifier and Type | Method and Description |
---|---|
protected abstract PointValuePair |
AbstractLinearOptimizer.doOptimize()
Perform the bulk of optimization algorithm.
|
PointValuePair |
SimplexSolver.doOptimize()
Perform the bulk of optimization algorithm.
|
PointValuePair |
AbstractLinearOptimizer.optimize(LinearObjectiveFunction f,
Collection<LinearConstraint> constraints,
GoalType goalType,
boolean restrictToNonNegative)
Optimizes an objective function.
|
PointValuePair |
LinearOptimizer.optimize(LinearObjectiveFunction f,
Collection<LinearConstraint> constraints,
GoalType goalType,
boolean restrictToNonNegative)
Optimizes an objective function.
|
Copyright © 2003-2012 Apache Software Foundation. All Rights Reserved.