Deprecated
All classes and interfaces in this package are deprecated.
The optimizers that were provided here were moved to the
org. package
(cf. MATH-1008).
optimize will throw
MathUnsupportedOperationException if bounds are passed to it.
This class solve a least-square problem by solving the normal equations of the linearized problem at each iteration. Either LU decomposition or QR decomposition can be used to solve the normal equations. LU decomposition is faster but QR decomposition is more robust for difficult problems.
| Modifier and Type | Field and Description |
|---|---|
| private final boolean | useLU
Indicator for using LU decomposition. |
| Access | Constructor and Description |
|---|---|
| public | GaussNewtonOptimizer(ConvergenceChecker<PointVectorValuePair>
Convergence checker. checker)Simple constructor with default settings. |
| public | GaussNewtonOptimizer(final boolean
If useLU, ConvergenceChecker<PointVectorValuePair> true, the normal equations will be solved
using LU decomposition, otherwise they will be solved using QR
decomposition.Convergence checker. checker)
|
| Modifier and Type | Method and Description |
|---|---|
| private void | checkParameters()
Hides org. Check parameters consistency. |
| public PointVectorValuePair | doOptimize()
Implements abstract org. Performs the bulk of the optimization algorithm. |
| useLU | back to summary |
|---|---|
| private final boolean useLU Indicator for using LU decomposition. | |
| GaussNewtonOptimizer | back to summary |
|---|---|
| public GaussNewtonOptimizer(ConvergenceChecker<PointVectorValuePair> checker) Simple constructor with default settings. The normal equations will be solved using LU decomposition.
| |
| GaussNewtonOptimizer | back to summary |
|---|---|
public GaussNewtonOptimizer(final boolean useLU, ConvergenceChecker<PointVectorValuePair> checker)
| |
| checkParameters | back to summary |
|---|---|
| private void checkParameters() Hides org. Doc from org. Check parameters consistency.
| |
| doOptimize | back to summary |
|---|---|
| public PointVectorValuePair doOptimize() Implements abstract org. Doc from org. Performs the bulk of the optimization algorithm.
| |