Package | Description |
---|---|
org.apache.commons.math.optimization |
This package provides common interfaces for the optimization algorithms
provided in sub-packages.
|
org.apache.commons.math.optimization.direct |
This package provides optimization algorithms that don't require derivatives.
|
org.apache.commons.math.optimization.fitting |
This package provides classes to perform curve fitting.
|
org.apache.commons.math.optimization.general |
This package provides optimization algorithms that require derivatives.
|
org.apache.commons.math.optimization.linear |
This package provides optimization algorithms for linear constrained problems.
|
Modifier and Type | Method and Description |
---|---|
RealPointValuePair |
DifferentiableMultivariateRealOptimizer.optimize(DifferentiableMultivariateRealFunction f,
GoalType goalType,
double[] startPoint)
Optimizes an objective function.
|
RealPointValuePair |
MultiStartDifferentiableMultivariateRealOptimizer.optimize(DifferentiableMultivariateRealFunction f,
GoalType goalType,
double[] startPoint)
Optimizes an objective function.
|
VectorialPointValuePair |
MultiStartDifferentiableMultivariateVectorialOptimizer.optimize(DifferentiableMultivariateVectorialFunction f,
double[] target,
double[] weights,
double[] startPoint)
Optimizes an objective function.
|
VectorialPointValuePair |
DifferentiableMultivariateVectorialOptimizer.optimize(DifferentiableMultivariateVectorialFunction f,
double[] target,
double[] weights,
double[] startPoint)
Optimizes an objective function.
|
RealPointValuePair |
MultivariateRealOptimizer.optimize(MultivariateRealFunction f,
GoalType goalType,
double[] startPoint)
Optimizes an objective function.
|
RealPointValuePair |
MultiStartMultivariateRealOptimizer.optimize(MultivariateRealFunction f,
GoalType goalType,
double[] startPoint)
Optimizes an objective function.
|
Modifier and Type | Method and Description |
---|---|
protected RealPointValuePair |
PowellOptimizer.doOptimize()
Perform the bulk of optimization algorithm.
|
protected void |
DirectSearchOptimizer.evaluateSimplex(Comparator<RealPointValuePair> comparator)
Evaluate all the non-evaluated points of the simplex.
|
protected void |
DirectSearchOptimizer.incrementIterationsCounter()
Increment the iterations counter by 1.
|
protected void |
MultiDirectional.iterateSimplex(Comparator<RealPointValuePair> comparator)
Compute the next simplex of the algorithm.
|
protected abstract void |
DirectSearchOptimizer.iterateSimplex(Comparator<RealPointValuePair> comparator)
Compute the next simplex of the algorithm.
|
protected void |
NelderMead.iterateSimplex(Comparator<RealPointValuePair> comparator)
Compute the next simplex of the algorithm.
|
RealPointValuePair |
DirectSearchOptimizer.optimize(MultivariateRealFunction function,
GoalType goalType,
double[] startPoint)
Optimizes an objective function.
|
Modifier and Type | Method and Description |
---|---|
PolynomialFunction |
PolynomialFitter.fit()
Get the polynomial fitting the weighted (x, y) points.
|
HarmonicFunction |
HarmonicFitter.fit()
Fit an harmonic function to the observed points.
|
GaussianFunction |
GaussianFitter.fit()
Fits Gaussian function to the observed points.
|
double[] |
CurveFitter.fit(ParametricRealFunction f,
double[] initialGuess)
Fit a curve.
|
void |
HarmonicCoefficientsGuesser.guess()
Estimate a first guess of the coefficients.
|
Modifier and Type | Method and Description |
---|---|
protected abstract VectorialPointValuePair |
AbstractLeastSquaresOptimizer.doOptimize()
Perform the bulk of optimization algorithm.
|
protected VectorialPointValuePair |
LevenbergMarquardtOptimizer.doOptimize()
Perform the bulk of optimization algorithm.
|
protected abstract RealPointValuePair |
AbstractScalarDifferentiableOptimizer.doOptimize()
Perform the bulk of optimization algorithm.
|
VectorialPointValuePair |
GaussNewtonOptimizer.doOptimize()
Perform the bulk of optimization algorithm.
|
protected RealPointValuePair |
NonLinearConjugateGradientOptimizer.doOptimize()
Perform the bulk of optimization algorithm.
|
double[][] |
AbstractLeastSquaresOptimizer.getCovariances()
Get the covariance matrix of optimized parameters.
|
double[] |
AbstractLeastSquaresOptimizer.guessParametersErrors()
Guess the errors in optimized parameters.
|
protected void |
AbstractLeastSquaresOptimizer.incrementIterationsCounter()
Increment the iterations counter by 1.
|
protected void |
AbstractScalarDifferentiableOptimizer.incrementIterationsCounter()
Increment the iterations counter by 1.
|
RealPointValuePair |
AbstractScalarDifferentiableOptimizer.optimize(DifferentiableMultivariateRealFunction f,
GoalType goalType,
double[] startPoint)
Optimizes an objective function.
|
VectorialPointValuePair |
AbstractLeastSquaresOptimizer.optimize(DifferentiableMultivariateVectorialFunction f,
double[] target,
double[] weights,
double[] startPoint)
Optimizes an objective function.
|
Modifier and Type | Class and Description |
---|---|
class |
NoFeasibleSolutionException
This class represents exceptions thrown by optimizers when no solution
fulfills the constraints.
|
class |
UnboundedSolutionException
This class represents exceptions thrown by optimizers when a solution
escapes to infinity.
|
Modifier and Type | Method and Description |
---|---|
protected void |
SimplexSolver.doIteration(org.apache.commons.math.optimization.linear.SimplexTableau tableau)
Runs one iteration of the Simplex method on the given model.
|
RealPointValuePair |
SimplexSolver.doOptimize()
Perform the bulk of optimization algorithm.
|
protected abstract RealPointValuePair |
AbstractLinearOptimizer.doOptimize()
Perform the bulk of optimization algorithm.
|
protected void |
AbstractLinearOptimizer.incrementIterationsCounter()
Increment the iterations counter by 1.
|
RealPointValuePair |
LinearOptimizer.optimize(LinearObjectiveFunction f,
Collection<LinearConstraint> constraints,
GoalType goalType,
boolean restrictToNonNegative)
Optimizes an objective function.
|
RealPointValuePair |
AbstractLinearOptimizer.optimize(LinearObjectiveFunction f,
Collection<LinearConstraint> constraints,
GoalType goalType,
boolean restrictToNonNegative)
Optimizes an objective function.
|
protected void |
SimplexSolver.solvePhase1(org.apache.commons.math.optimization.linear.SimplexTableau tableau)
Solves Phase 1 of the Simplex method.
|
Copyright © 2003–2018. All rights reserved.