org.apache.commons.math3.optim

## Interface OptimizationProblem<PAIR>

• 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.
All Known Subinterfaces:
LeastSquaresProblem
All Known Implementing Classes:

public interface OptimizationProblem<PAIR>
Common settings for all optimization problems. Includes divergence and convergence criteria.
Since:
3.3
Version:
$Id: OptimizationProblem.html 908881 2014-05-15 07:10:28Z luc$
• ### Method Summary

Methods
Modifier and Type Method and Description
ConvergenceChecker<PAIR> getConvergenceChecker()
Gets the convergence checker.
Incrementor getEvaluationCounter()
Get a independent Incrementor that counts up to the maximum number of evaluations and then throws an exception.
Incrementor getIterationCounter()
Get a independent Incrementor that counts up to the maximum number of iterations and then throws an exception.
• ### Method Detail

• #### getEvaluationCounter

Incrementor getEvaluationCounter()
Get a independent Incrementor that counts up to the maximum number of evaluations and then throws an exception.
Returns:
a counter for the evaluations.
• #### getIterationCounter

Incrementor getIterationCounter()
Get a independent Incrementor that counts up to the maximum number of iterations and then throws an exception.
Returns:
a counter for the evaluations.
• #### getConvergenceChecker

ConvergenceChecker<PAIR> getConvergenceChecker()
Gets the convergence checker.
Returns:
the object used to check for convergence.