Top Description Methods
org.apache.commons.math3.optim

public Interface OptimizationProblem<PAIR>

Known Direct Subinterfaces
org.apache.commons.math3.fitting.leastsquares.LeastSquaresProblem
Known Direct Implementers
org.apache.commons.math3.optim.AbstractOptimizationProblem
Type Parameters
<PAIR>
The type of value the convergence checker will operate on. It should include the value of the model function and point where it was evaluated.
Imports
org.apache.commons.math3.util.Incrementor

Common settings for all optimization problems. Includes divergence and convergence criteria.
Since
3.3

Method Summary

Modifier and TypeMethod and Description
public ConvergenceChecker<PAIR>

Returns:

the object used to check for convergence.
getConvergenceChecker
()

Gets the convergence checker.

public Incrementor

Returns:

a counter for the evaluations.
getEvaluationCounter
()
Deprecated as a consequence of Incrementor being deprecated.

Get a independent Incrementor that counts up to the maximum number of evaluations and then throws an exception.

public Incrementor

Returns:

a counter for the evaluations.
getIterationCounter
()
Deprecated as a consequence of Incrementor being deprecated.

Get a independent Incrementor that counts up to the maximum number of iterations and then throws an exception.

Method Detail

getConvergenceCheckerback to summary
public ConvergenceChecker<PAIR> getConvergenceChecker()

Gets the convergence checker.

Returns:ConvergenceChecker<PAIR>

the object used to check for convergence.

getEvaluationCounterback to summary
public Incrementor getEvaluationCounter()

Deprecated

as a consequence of Incrementor being deprecated. See corresponding docs for further information.

Get a independent Incrementor that counts up to the maximum number of evaluations and then throws an exception.

Returns:Incrementor

a counter for the evaluations.

getIterationCounterback to summary
public Incrementor getIterationCounter()

Deprecated

as a consequence of Incrementor being deprecated. See corresponding docs for further information.

Get a independent Incrementor that counts up to the maximum number of iterations and then throws an exception.

Returns:Incrementor

a counter for the evaluations.