Package operations_research.pdlp
Enum SolveLogOuterClass.TerminationReason
- java.lang.Object
-
- java.lang.Enum<SolveLogOuterClass.TerminationReason>
-
- operations_research.pdlp.SolveLogOuterClass.TerminationReason
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,java.io.Serializable,java.lang.Comparable<SolveLogOuterClass.TerminationReason>
- Enclosing class:
- SolveLogOuterClass
public static enum SolveLogOuterClass.TerminationReason extends java.lang.Enum<SolveLogOuterClass.TerminationReason> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enumoperations_research.pdlp.TerminationReason
-
-
Enum Constant Summary
Enum Constants Enum Constant Description TERMINATION_REASON_DUAL_INFEASIBLENote in this situation the primal could be either unbounded or infeasible.TERMINATION_REASON_INTERRUPTED_BY_USERTERMINATION_REASON_INTERRUPTED_BY_USER = 12;TERMINATION_REASON_INVALID_INITIAL_SOLUTIONIndicates 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_PARAMETERIndicates that an invalid value for the parameters was detected.TERMINATION_REASON_INVALID_PROBLEMIndicates that the solver detected invalid problem data, e.g., inconsistent bounds.TERMINATION_REASON_ITERATION_LIMITTERMINATION_REASON_ITERATION_LIMIT = 5;TERMINATION_REASON_KKT_MATRIX_PASS_LIMITTERMINATION_REASON_KKT_MATRIX_PASS_LIMIT = 8;TERMINATION_REASON_NUMERICAL_ERRORTERMINATION_REASON_NUMERICAL_ERROR = 6;TERMINATION_REASON_OPTIMALTERMINATION_REASON_OPTIMAL = 1;TERMINATION_REASON_OTHERTERMINATION_REASON_OTHER = 7;TERMINATION_REASON_PRIMAL_INFEASIBLENote in this situation the dual could be either unbounded or infeasible.TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLEPrimal or dual infeasibility was detected (e.g.TERMINATION_REASON_TIME_LIMITTERMINATION_REASON_TIME_LIMIT = 4;TERMINATION_REASON_UNSPECIFIEDTERMINATION_REASON_UNSPECIFIED = 0;
-
Field Summary
Fields Modifier and Type Field Description static intTERMINATION_REASON_DUAL_INFEASIBLE_VALUENote in this situation the primal could be either unbounded or infeasible.static intTERMINATION_REASON_INTERRUPTED_BY_USER_VALUETERMINATION_REASON_INTERRUPTED_BY_USER = 12;static intTERMINATION_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.static intTERMINATION_REASON_INVALID_PARAMETER_VALUEIndicates that an invalid value for the parameters was detected.static intTERMINATION_REASON_INVALID_PROBLEM_VALUEIndicates that the solver detected invalid problem data, e.g., inconsistent bounds.static intTERMINATION_REASON_ITERATION_LIMIT_VALUETERMINATION_REASON_ITERATION_LIMIT = 5;static intTERMINATION_REASON_KKT_MATRIX_PASS_LIMIT_VALUETERMINATION_REASON_KKT_MATRIX_PASS_LIMIT = 8;static intTERMINATION_REASON_NUMERICAL_ERROR_VALUETERMINATION_REASON_NUMERICAL_ERROR = 6;static intTERMINATION_REASON_OPTIMAL_VALUETERMINATION_REASON_OPTIMAL = 1;static intTERMINATION_REASON_OTHER_VALUETERMINATION_REASON_OTHER = 7;static intTERMINATION_REASON_PRIMAL_INFEASIBLE_VALUENote in this situation the dual could be either unbounded or infeasible.static intTERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE_VALUEPrimal or dual infeasibility was detected (e.g.static intTERMINATION_REASON_TIME_LIMIT_VALUETERMINATION_REASON_TIME_LIMIT = 4;static intTERMINATION_REASON_UNSPECIFIED_VALUETERMINATION_REASON_UNSPECIFIED = 0;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static SolveLogOuterClass.TerminationReasonforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<SolveLogOuterClass.TerminationReason>internalGetValueMap()static SolveLogOuterClass.TerminationReasonvalueOf(int value)Deprecated.static SolveLogOuterClass.TerminationReasonvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static SolveLogOuterClass.TerminationReasonvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SolveLogOuterClass.TerminationReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TERMINATION_REASON_UNSPECIFIED
public static final SolveLogOuterClass.TerminationReason TERMINATION_REASON_UNSPECIFIED
TERMINATION_REASON_UNSPECIFIED = 0;
-
TERMINATION_REASON_OPTIMAL
public static final SolveLogOuterClass.TerminationReason TERMINATION_REASON_OPTIMAL
TERMINATION_REASON_OPTIMAL = 1;
-
TERMINATION_REASON_PRIMAL_INFEASIBLE
public static final SolveLogOuterClass.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 SolveLogOuterClass.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 SolveLogOuterClass.TerminationReason TERMINATION_REASON_TIME_LIMIT
TERMINATION_REASON_TIME_LIMIT = 4;
-
TERMINATION_REASON_ITERATION_LIMIT
public static final SolveLogOuterClass.TerminationReason TERMINATION_REASON_ITERATION_LIMIT
TERMINATION_REASON_ITERATION_LIMIT = 5;
-
TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT
public static final SolveLogOuterClass.TerminationReason TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT
TERMINATION_REASON_KKT_MATRIX_PASS_LIMIT = 8;
-
TERMINATION_REASON_INTERRUPTED_BY_USER
public static final SolveLogOuterClass.TerminationReason TERMINATION_REASON_INTERRUPTED_BY_USER
TERMINATION_REASON_INTERRUPTED_BY_USER = 12;
-
TERMINATION_REASON_NUMERICAL_ERROR
public static final SolveLogOuterClass.TerminationReason TERMINATION_REASON_NUMERICAL_ERROR
TERMINATION_REASON_NUMERICAL_ERROR = 6;
-
TERMINATION_REASON_INVALID_PROBLEM
public static final SolveLogOuterClass.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 SolveLogOuterClass.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 SolveLogOuterClass.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 SolveLogOuterClass.TerminationReason TERMINATION_REASON_OTHER
TERMINATION_REASON_OTHER = 7;
-
TERMINATION_REASON_PRIMAL_OR_DUAL_INFEASIBLE
public static final SolveLogOuterClass.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 Detail
-
TERMINATION_REASON_UNSPECIFIED_VALUE
public static final int TERMINATION_REASON_UNSPECIFIED_VALUE
TERMINATION_REASON_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
TERMINATION_REASON_OPTIMAL_VALUE
public static final int TERMINATION_REASON_OPTIMAL_VALUE
TERMINATION_REASON_OPTIMAL = 1;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
TERMINATION_REASON_TIME_LIMIT_VALUE
public static final int TERMINATION_REASON_TIME_LIMIT_VALUE
TERMINATION_REASON_TIME_LIMIT = 4;- See Also:
- Constant Field Values
-
TERMINATION_REASON_ITERATION_LIMIT_VALUE
public static final int TERMINATION_REASON_ITERATION_LIMIT_VALUE
TERMINATION_REASON_ITERATION_LIMIT = 5;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
TERMINATION_REASON_INTERRUPTED_BY_USER_VALUE
public static final int TERMINATION_REASON_INTERRUPTED_BY_USER_VALUE
TERMINATION_REASON_INTERRUPTED_BY_USER = 12;- See Also:
- Constant Field Values
-
TERMINATION_REASON_NUMERICAL_ERROR_VALUE
public static final int TERMINATION_REASON_NUMERICAL_ERROR_VALUE
TERMINATION_REASON_NUMERICAL_ERROR = 6;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
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:
- Constant Field Values
-
TERMINATION_REASON_OTHER_VALUE
public static final int TERMINATION_REASON_OTHER_VALUE
TERMINATION_REASON_OTHER = 7;- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
-
Method Detail
-
values
public static SolveLogOuterClass.TerminationReason[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SolveLogOuterClass.TerminationReason c : SolveLogOuterClass.TerminationReason.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SolveLogOuterClass.TerminationReason valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static SolveLogOuterClass.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
forNumber
public static SolveLogOuterClass.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<SolveLogOuterClass.TerminationReason> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static SolveLogOuterClass.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-