Enum QPMatrixMode
- All Implemented Interfaces:
Serializable,Comparable<QPMatrixMode>,java.lang.constant.Constable,OptimizationData
Marker OptimizationData indicating that the quadratic matrix "G" passed to the QP solver
is not the Hessian H, but the lower Cholesky factor L such that H = L*L^T or the inverse of Cholesky factor L^-1
When present and set to true, QPDualActiveSolver will interpret function.getP()
as L or L^-1 and will NOT factorize it.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionQP Problem with Cholesky L factor.QP Problem with full Hessian Matrix.QP Problem with Inverse o Cholesky factor. -
Method Summary
Modifier and TypeMethodDescriptionstatic QPMatrixModeReturns the enum constant of this type with the specified name.static QPMatrixMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
FULL
QP Problem with full Hessian Matrix. -
CHOLESKY
QP Problem with Cholesky L factor. -
INVCHOLESKY
QP Problem with Inverse o Cholesky factor.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-