Top Description Fields Constructors Methods
org.apache.commons.math3.optimization.general

public final Enum ConjugateGradientFormula

extends Enum<ConjugateGradientFormula>
Class Inheritance
Annotations
@Deprecated

Deprecated

As of 3.1 (to be removed in 4.0).

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 β:

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
See Also
NonLinearConjugateGradientOptimizer

Field Summary

Modifier and TypeField and Description
public static final ConjugateGradientFormula
FLETCHER_REEVES

Deprecated as a consequence of ConjugateGradientFormula being deprecated.
Fletcher-Reeves formula.
public static final ConjugateGradientFormula
POLAK_RIBIERE

Deprecated as a consequence of ConjugateGradientFormula being deprecated.
Polak-Ribière formula.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ConjugateGradientFormula
valueOf(String name)
Deprecated as a consequence of ConjugateGradientFormula being deprecated.

public static ConjugateGradientFormula[]
values()
Deprecated as a consequence of ConjugateGradientFormula being deprecated.

Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

FLETCHER_REEVESback to summary
public static final ConjugateGradientFormula FLETCHER_REEVES

Deprecated

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

Fletcher-Reeves formula.

POLAK_RIBIEREback to summary
public static final ConjugateGradientFormula POLAK_RIBIERE

Deprecated

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

Polak-Ribière formula.

Constructor Detail

ConjugateGradientFormulaback to summary
private ConjugateGradientFormula()

Method Detail

valueOfback to summary
public static ConjugateGradientFormula valueOf(String name)

Deprecated

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

valuesback to summary
public static ConjugateGradientFormula[] values()

Deprecated

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