java.lang.Object
java.lang.Enum<QPMatrixMode>
org.hipparchus.optim.nonlinear.vector.constrained.QPMatrixMode
All Implemented Interfaces:
Serializable, Comparable<QPMatrixMode>, java.lang.constant.Constable, OptimizationData

public enum QPMatrixMode extends Enum<QPMatrixMode> implements 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.
  • Enum Constant Details

    • FULL

      public static final QPMatrixMode FULL
      QP Problem with full Hessian Matrix.
    • CHOLESKY

      public static final QPMatrixMode CHOLESKY
      QP Problem with Cholesky L factor.
    • INVCHOLESKY

      public static final QPMatrixMode INVCHOLESKY
      QP Problem with Inverse o Cholesky factor.
  • Method Details

    • values

      public static QPMatrixMode[] 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

      public static QPMatrixMode valueOf(String name)
      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 name
      NullPointerException - if the argument is null