Enum TerminationReason

java.lang.Object
java.lang.Enum<TerminationReason>
com.google.ortools.pdlp.TerminationReason
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<TerminationReason>, java.lang.constant.Constable

@Generated public enum TerminationReason extends Enum<TerminationReason> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum operations_research.pdlp.TerminationReason
  • Enum Constant Details

    • TERMINATION_REASON_UNSPECIFIED

      public static final TerminationReason TERMINATION_REASON_UNSPECIFIED
      TERMINATION_REASON_UNSPECIFIED = 0;
    • TERMINATION_REASON_OPTIMAL

      public static final TerminationReason TERMINATION_REASON_OPTIMAL
      TERMINATION_REASON_OPTIMAL = 1;
    • TERMINATION_REASON_PRIMAL_INFEASIBLE

      public static final TerminationReason TERMINATION_REASON_PRIMAL_INFEASIBLE
       Note in this situation the dual could be either unbounded or infeasible.
       
      TERMINATION_REASON_PRIMAL_INFEASIBLE = 2;
    • TERMINATION_REASON_DUAL_INFEASIBLE

      public static final TerminationReason TERMINATION_REASON_DUAL_INFEASIBLE
       Note in this situation the primal could be either unbounded or infeasible.
       
      TERMINATION_REASON_DUAL_INFEASIBLE = 3;
    • TERMINATION_REASON_TIME_LIMIT

      public static final TerminationReason TERMINATION_REASON_TIME_LIMIT
      TERMINATION_REASON_TIME_LIMIT = 4;
    • TERMINATION_REASON_ITERATION_LIMIT

      public static final TerminationReason TERMINATION_REASON_ITERATION_LIMIT
      TERMINATION_REASON_ITERATION_LIMIT = 5;
    • TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT

      public static final TerminationReason TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT
      TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT = 8;
    • TERMINATION_REASON_INTERRUPTED_BY_USER

      public static final TerminationReason TERMINATION_REASON_INTERRUPTED_BY_USER
      TERMINATION_REASON_INTERRUPTED_BY_USER = 12;
    • TERMINATION_REASON_NUMERICAL_ERROR

      public static final TerminationReason TERMINATION_REASON_NUMERICAL_ERROR
      TERMINATION_REASON_NUMERICAL_ERROR = 6;
    • TERMINATION_REASON_INVALID_PROBLEM

      public static final TerminationReason TERMINATION_REASON_INVALID_PROBLEM
       Indicates that the solver detected invalid problem data, e.g., inconsistent
       bounds.
       
      TERMINATION_REASON_INVALID_PROBLEM = 9;
    • TERMINATION_REASON_INVALID_INITIAL_SOLUTION

      public static final TerminationReason TERMINATION_REASON_INVALID_INITIAL_SOLUTION
       Indicates that the solver detected that the initial solution that was
       provided was invalid, e.g., wrong size or containing NAN or inf.
       
      TERMINATION_REASON_INVALID_INITIAL_SOLUTION = 13;
    • TERMINATION_REASON_INVALID_PARAMETER

      public static final TerminationReason TERMINATION_REASON_INVALID_PARAMETER
       Indicates that an invalid value for the parameters was detected.
       
      TERMINATION_REASON_INVALID_PARAMETER = 10;
    • TERMINATION_REASON_OTHER

      public static final TerminationReason TERMINATION_REASON_OTHER
      TERMINATION_REASON_OTHER = 7;
    • TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE

      public static final TerminationReason TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE
       Primal or dual infeasibility was detected (e.g. by presolve) but no
       certificate is available.
       
      TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE = 11;
  • Field Details

    • TERMINATION_REASON_UNSPECIFIED_VALUE

      public static final int TERMINATION_REASON_UNSPECIFIED_VALUE
      TERMINATION_REASON_UNSPECIFIED = 0;
      See Also:
    • TERMINATION_REASON_OPTIMAL_VALUE

      public static final int TERMINATION_REASON_OPTIMAL_VALUE
      TERMINATION_REASON_OPTIMAL = 1;
      See Also:
    • TERMINATION_REASON_PRIMAL_INFEASIBLE_VALUE

      public static final int TERMINATION_REASON_PRIMAL_INFEASIBLE_VALUE
       Note in this situation the dual could be either unbounded or infeasible.
       
      TERMINATION_REASON_PRIMAL_INFEASIBLE = 2;
      See Also:
    • TERMINATION_REASON_DUAL_INFEASIBLE_VALUE

      public static final int TERMINATION_REASON_DUAL_INFEASIBLE_VALUE
       Note in this situation the primal could be either unbounded or infeasible.
       
      TERMINATION_REASON_DUAL_INFEASIBLE = 3;
      See Also:
    • TERMINATION_REASON_TIME_LIMIT_VALUE

      public static final int TERMINATION_REASON_TIME_LIMIT_VALUE
      TERMINATION_REASON_TIME_LIMIT = 4;
      See Also:
    • TERMINATION_REASON_ITERATION_LIMIT_VALUE

      public static final int TERMINATION_REASON_ITERATION_LIMIT_VALUE
      TERMINATION_REASON_ITERATION_LIMIT = 5;
      See Also:
    • TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT_VALUE

      public static final int TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT_VALUE
      TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT = 8;
      See Also:
    • TERMINATION_REASON_INTERRUPTED_BY_USER_VALUE

      public static final int TERMINATION_REASON_INTERRUPTED_BY_USER_VALUE
      TERMINATION_REASON_INTERRUPTED_BY_USER = 12;
      See Also:
    • TERMINATION_REASON_NUMERICAL_ERROR_VALUE

      public static final int TERMINATION_REASON_NUMERICAL_ERROR_VALUE
      TERMINATION_REASON_NUMERICAL_ERROR = 6;
      See Also:
    • TERMINATION_REASON_INVALID_PROBLEM_VALUE

      public static final int TERMINATION_REASON_INVALID_PROBLEM_VALUE
       Indicates that the solver detected invalid problem data, e.g., inconsistent
       bounds.
       
      TERMINATION_REASON_INVALID_PROBLEM = 9;
      See Also:
    • TERMINATION_REASON_INVALID_INITIAL_SOLUTION_VALUE

      public static final int TERMINATION_REASON_INVALID_INITIAL_SOLUTION_VALUE
       Indicates that the solver detected that the initial solution that was
       provided was invalid, e.g., wrong size or containing NAN or inf.
       
      TERMINATION_REASON_INVALID_INITIAL_SOLUTION = 13;
      See Also:
    • TERMINATION_REASON_INVALID_PARAMETER_VALUE

      public static final int TERMINATION_REASON_INVALID_PARAMETER_VALUE
       Indicates that an invalid value for the parameters was detected.
       
      TERMINATION_REASON_INVALID_PARAMETER = 10;
      See Also:
    • TERMINATION_REASON_OTHER_VALUE

      public static final int TERMINATION_REASON_OTHER_VALUE
      TERMINATION_REASON_OTHER = 7;
      See Also:
    • TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE_VALUE

      public static final int TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE_VALUE
       Primal or dual infeasibility was detected (e.g. by presolve) but no
       certificate is available.
       
      TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE = 11;
      See Also:
  • Method Details

    • values

      public static TerminationReason[] 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 TerminationReason 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
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static TerminationReason valueOf(int value)
      Deprecated.
      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:
      value - 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
    • forNumber

      public static TerminationReason forNumber(int value)
      Parameters:
      value - The numeric wire value of the corresponding enum entry.
      Returns:
      The enum associated with the given numeric wire value.
    • internalGetValueMap

      public static com.google.protobuf.Internal.EnumLiteMap<TerminationReason> internalGetValueMap()
    • getValueDescriptor

      public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
      Specified by:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
    • valueOf

      public static TerminationReason valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
      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:
      desc - 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