Enum 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
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNote in this situation the primal could be either unbounded or infeasible.TERMINATION_REASON_INTERRUPTED_BY_USER = 12;
Indicates that the solver detected that the initial solution that was provided was invalid, e.g., wrong size or containing NAN or inf.Indicates that an invalid value for the parameters was detected.Indicates that the solver detected invalid problem data, e.g., inconsistent bounds.TERMINATION_REASON_ITERATION_LIMIT = 5;
TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT = 8;
TERMINATION_REASON_NUMERICAL_ERROR = 6;
TERMINATION_REASON_OPTIMAL = 1;
TERMINATION_REASON_OTHER = 7;
Note in this situation the dual could be either unbounded or infeasible.Primal or dual infeasibility was detected (e.g. by presolve) but no certificate is available.TERMINATION_REASON_TIME_LIMIT = 4;
TERMINATION_REASON_UNSPECIFIED = 0;
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Note in this situation the primal could be either unbounded or infeasible.static final int
TERMINATION_REASON_INTERRUPTED_BY_USER = 12;
static final int
Indicates that the solver detected that the initial solution that was provided was invalid, e.g., wrong size or containing NAN or inf.static final int
Indicates that an invalid value for the parameters was detected.static final int
Indicates that the solver detected invalid problem data, e.g., inconsistent bounds.static final int
TERMINATION_REASON_ITERATION_LIMIT = 5;
static final int
TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT = 8;
static final int
TERMINATION_REASON_NUMERICAL_ERROR = 6;
static final int
TERMINATION_REASON_OPTIMAL = 1;
static final int
TERMINATION_REASON_OTHER = 7;
static final int
Note in this situation the dual could be either unbounded or infeasible.static final int
Primal or dual infeasibility was detected (e.g. by presolve) but no certificate is available.static final int
TERMINATION_REASON_TIME_LIMIT = 4;
static final int
TERMINATION_REASON_UNSPECIFIED = 0;
-
Method Summary
Modifier and TypeMethodDescriptionstatic TerminationReason
forNumber
(int value) static com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap
<TerminationReason> static TerminationReason
valueOf
(int value) Deprecated.static TerminationReason
valueOf
(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TerminationReason
Returns the enum constant of this type with the specified name.static TerminationReason[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TERMINATION_REASON_UNSPECIFIED
TERMINATION_REASON_UNSPECIFIED = 0;
-
TERMINATION_REASON_OPTIMAL
TERMINATION_REASON_OPTIMAL = 1;
-
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
Note in this situation the primal could be either unbounded or infeasible.
TERMINATION_REASON_DUAL_INFEASIBLE = 3;
-
TERMINATION_REASON_TIME_LIMIT
TERMINATION_REASON_TIME_LIMIT = 4;
-
TERMINATION_REASON_ITERATION_LIMIT
TERMINATION_REASON_ITERATION_LIMIT = 5;
-
TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT
TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT = 8;
-
TERMINATION_REASON_INTERRUPTED_BY_USER
TERMINATION_REASON_INTERRUPTED_BY_USER = 12;
-
TERMINATION_REASON_NUMERICAL_ERROR
TERMINATION_REASON_NUMERICAL_ERROR = 6;
-
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
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
Indicates that an invalid value for the parameters was detected.
TERMINATION_REASON_INVALID_PARAMETER = 10;
-
TERMINATION_REASON_OTHER
TERMINATION_REASON_OTHER = 7;
-
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_VALUETERMINATION_REASON_UNSPECIFIED = 0;
- See Also:
-
TERMINATION_REASON_OPTIMAL_VALUE
public static final int TERMINATION_REASON_OPTIMAL_VALUETERMINATION_REASON_OPTIMAL = 1;
- See Also:
-
TERMINATION_REASON_PRIMAL_INFEASIBLE_VALUE
public static final int TERMINATION_REASON_PRIMAL_INFEASIBLE_VALUENote 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_VALUENote 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_VALUETERMINATION_REASON_TIME_LIMIT = 4;
- See Also:
-
TERMINATION_REASON_ITERATION_LIMIT_VALUE
public static final int TERMINATION_REASON_ITERATION_LIMIT_VALUETERMINATION_REASON_ITERATION_LIMIT = 5;
- See Also:
-
TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT_VALUE
public static final int TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT_VALUETERMINATION_REASON_KKT_MATRIX_PASS_LIMIT = 8;
- See Also:
-
TERMINATION_REASON_INTERRUPTED_BY_USER_VALUE
public static final int TERMINATION_REASON_INTERRUPTED_BY_USER_VALUETERMINATION_REASON_INTERRUPTED_BY_USER = 12;
- See Also:
-
TERMINATION_REASON_NUMERICAL_ERROR_VALUE
public static final int TERMINATION_REASON_NUMERICAL_ERROR_VALUETERMINATION_REASON_NUMERICAL_ERROR = 6;
- See Also:
-
TERMINATION_REASON_INVALID_PROBLEM_VALUE
public static final int TERMINATION_REASON_INVALID_PROBLEM_VALUEIndicates 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_VALUEIndicates 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_VALUEIndicates 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_VALUETERMINATION_REASON_OTHER = 7;
- See Also:
-
TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE_VALUE
public static final int TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE_VALUEPrimal 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
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
-
getNumber
public final int getNumber()- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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 nameNullPointerException
- if the argument is null
-
forNumber
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
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:
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 nameNullPointerException
- if the argument is null
-