org.apache.commons.math3.optimization.general

• All Implemented Interfaces:

Deprecated.
As of 3.1 (to be removed in 4.0).

@Deprecated
Available choices of update formulas for the β parameter in NonLinearConjugateGradientOptimizer.

The β parameter is used to compute the successive conjugate search directions. For non-linear conjugate gradients, there are two formulas to compute β:

• Fletcher-Reeves formula
• Polak-Ribière formula
On the one hand, the Fletcher-Reeves formula is guaranteed to converge if the start point is close enough of the optimum whether the Polak-Ribière formula may not converge in rare cases. On the other hand, the Polak-Ribière formula is often faster when it does converge. Polak-Ribière is often used.

Since:
2.0
Version:
$Id: ConjugateGradientFormula.java 1422230 2012-12-15 12:11:13Z erans$
• ### Method Detail

• #### values

Deprecated.
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared