Enum Class ExceptionStrategy

java.lang.Object
java.lang.Enum<ExceptionStrategy>
de.labathome.trustconstr.enums.ExceptionStrategy
All Implemented Interfaces:
Serializable, Comparable<ExceptionStrategy>, Constable

public enum ExceptionStrategy extends Enum<ExceptionStrategy>
What BFGS / SR1 should do when the curvature condition (delta_grad * delta_x) &le; threshold is violated.
  • Enum Constant Details

    • SKIP_UPDATE

      public static final ExceptionStrategy SKIP_UPDATE
      Skip the Hessian update entirely (scipy 'skip_update').
    • DAMP_UPDATE

      public static final ExceptionStrategy DAMP_UPDATE
      Damp the update by interpolating with the previous matrix (scipy 'damp_update').
  • Method Details

    • values

      public static ExceptionStrategy[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ExceptionStrategy valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null