Class QPDualActiveSolverOption

java.lang.Object
org.hipparchus.optim.nonlinear.vector.constrained.QPDualActiveSolverOption
All Implemented Interfaces:
OptimizationData

public class QPDualActiveSolverOption extends Object implements OptimizationData
Options for dual active-set method.
  • Field Details

    • DEFAULT_EPSILON

      public static final double DEFAULT_EPSILON
      Default tolerance for constraint satisfaction
    • DEFAULT_MATRIX_MODE

      public static final QPMatrixMode DEFAULT_MATRIX_MODE
      Default Matrix Mode
    • DEFAULT_EPSILON_RELAXATION

      public static final double DEFAULT_EPSILON_RELAXATION
      Default Relaxed feasibility tolerance used only when both the primal and dual step are not available. In that numerically stalled case, a target constraint whose violation does not exceed this value is accepted as numerically feasible.
      See Also:
  • Constructor Details

    • QPDualActiveSolverOption

      public QPDualActiveSolverOption()
  • Method Details

    • setEps

      public void setEps(double eps)
      Set tolerance for convergence typical 1.0e-16 to 1.0e-9
      Parameters:
      eps - tolerance for convergence
    • getEps

      public double getEps()
      get tolerance for convergence and active constraint evaluation.
      Returns:
      tolerance for convergence and active constraint evaluation
    • setEpsRelaxation

      public void setEpsRelaxation(double epsRelaxation)
      Set tolerance convergence for constraint in case of degeneracy typical 10.0*eps
      Parameters:
      epsRelaxation - tolerance for convergence
    • getEpsRelaxation

      public double getEpsRelaxation()
      get tolerance for convergence for constraint in case of degeneracy.
      Returns:
      tolerance for convergence for constraint in case of degeneracy
    • setMatrixMode

      public void setMatrixMode(QPMatrixMode matrixMode)
      Set MatrixMode.
      Parameters:
      matrixMode - matrix mode
    • getMatrixMode

      public QPMatrixMode getMatrixMode()
      Get MatrixMode
      Returns:
      matric mode