Uses of Class
org.apache.commons.math.optimization.OptimizationException
-
Packages that use OptimizationException 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. -
-
Uses of OptimizationException in org.apache.commons.math.optimization
Methods in org.apache.commons.math.optimization that throw OptimizationException Modifier and Type Method Description RealPointValuePair
DifferentiableMultivariateRealOptimizer. optimize(DifferentiableMultivariateRealFunction f, GoalType goalType, double[] startPoint)
Optimizes an objective function.VectorialPointValuePair
DifferentiableMultivariateVectorialOptimizer. optimize(DifferentiableMultivariateVectorialFunction f, double[] target, double[] weights, 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.RealPointValuePair
MultiStartMultivariateRealOptimizer. optimize(MultivariateRealFunction f, GoalType goalType, double[] startPoint)
Optimizes an objective function.RealPointValuePair
MultivariateRealOptimizer. optimize(MultivariateRealFunction f, GoalType goalType, double[] startPoint)
Optimizes an objective function. -
Uses of OptimizationException in org.apache.commons.math.optimization.direct
Methods in org.apache.commons.math.optimization.direct that throw OptimizationException Modifier and Type Method Description protected RealPointValuePair
PowellOptimizer. doOptimize()
Perform the bulk of optimization algorithm.protected void
DirectSearchOptimizer. evaluateSimplex(java.util.Comparator<RealPointValuePair> comparator)
Evaluate all the non-evaluated points of the simplex.protected void
DirectSearchOptimizer. incrementIterationsCounter()
Increment the iterations counter by 1.protected abstract void
DirectSearchOptimizer. iterateSimplex(java.util.Comparator<RealPointValuePair> comparator)
Compute the next simplex of the algorithm.protected void
MultiDirectional. iterateSimplex(java.util.Comparator<RealPointValuePair> comparator)
Compute the next simplex of the algorithm.protected void
NelderMead. iterateSimplex(java.util.Comparator<RealPointValuePair> comparator)
Compute the next simplex of the algorithm.RealPointValuePair
DirectSearchOptimizer. optimize(MultivariateRealFunction function, GoalType goalType, double[] startPoint)
Optimizes an objective function. -
Uses of OptimizationException in org.apache.commons.math.optimization.fitting
Methods in org.apache.commons.math.optimization.fitting that throw OptimizationException Modifier and Type Method Description double[]
CurveFitter. fit(ParametricRealFunction f, double[] initialGuess)
Fit a curve.GaussianFunction
GaussianFitter. fit()
Fits Gaussian function to the observed points.HarmonicFunction
HarmonicFitter. fit()
Fit an harmonic function to the observed points.PolynomialFunction
PolynomialFitter. fit()
Get the polynomial fitting the weighted (x, y) points.void
HarmonicCoefficientsGuesser. guess()
Estimate a first guess of the coefficients. -
Uses of OptimizationException in org.apache.commons.math.optimization.general
Methods in org.apache.commons.math.optimization.general that throw OptimizationException Modifier and Type Method Description protected abstract VectorialPointValuePair
AbstractLeastSquaresOptimizer. 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 VectorialPointValuePair
LevenbergMarquardtOptimizer. 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.VectorialPointValuePair
AbstractLeastSquaresOptimizer. optimize(DifferentiableMultivariateVectorialFunction f, double[] target, double[] weights, double[] startPoint)
Optimizes an objective function.RealPointValuePair
AbstractScalarDifferentiableOptimizer. optimize(DifferentiableMultivariateRealFunction f, GoalType goalType, double[] startPoint)
Optimizes an objective function. -
Uses of OptimizationException in org.apache.commons.math.optimization.linear
Subclasses of OptimizationException in org.apache.commons.math.optimization.linear Modifier and Type Class 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.Methods in org.apache.commons.math.optimization.linear that throw OptimizationException Modifier and Type Method Description protected void
SimplexSolver. doIteration(org.apache.commons.math.optimization.linear.SimplexTableau tableau)
Runs one iteration of the Simplex method on the given model.protected abstract RealPointValuePair
AbstractLinearOptimizer. doOptimize()
Perform the bulk of optimization algorithm.RealPointValuePair
SimplexSolver. doOptimize()
Perform the bulk of optimization algorithm.protected void
AbstractLinearOptimizer. incrementIterationsCounter()
Increment the iterations counter by 1.RealPointValuePair
AbstractLinearOptimizer. optimize(LinearObjectiveFunction f, java.util.Collection<LinearConstraint> constraints, GoalType goalType, boolean restrictToNonNegative)
Optimizes an objective function.RealPointValuePair
LinearOptimizer. optimize(LinearObjectiveFunction f, java.util.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.
-