Package com.google.ortools.modelbuilder
Enum SolveStatus
- java.lang.Object
-
- java.lang.Enum<SolveStatus>
-
- com.google.ortools.modelbuilder.SolveStatus
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SolveStatus>
public enum SolveStatus extends java.lang.Enum<SolveStatus>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABNORMALCANCELLED_BY_USERFEASIBLEINCOMPATIBLE_OPTIONSINFEASIBLEINVALID_SOLVER_PARAMETERSMODEL_INVALIDMODEL_IS_VALIDNOT_SOLVEDOPTIMALSOLVER_TYPE_UNAVAILABLEUNBOUNDEDUNKNOWN_STATUS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SolveStatusswigToEnum(int swigValue)intswigValue()static SolveStatusvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SolveStatus[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPTIMAL
public static final SolveStatus OPTIMAL
-
FEASIBLE
public static final SolveStatus FEASIBLE
-
INFEASIBLE
public static final SolveStatus INFEASIBLE
-
UNBOUNDED
public static final SolveStatus UNBOUNDED
-
ABNORMAL
public static final SolveStatus ABNORMAL
-
NOT_SOLVED
public static final SolveStatus NOT_SOLVED
-
MODEL_IS_VALID
public static final SolveStatus MODEL_IS_VALID
-
CANCELLED_BY_USER
public static final SolveStatus CANCELLED_BY_USER
-
UNKNOWN_STATUS
public static final SolveStatus UNKNOWN_STATUS
-
MODEL_INVALID
public static final SolveStatus MODEL_INVALID
-
INVALID_SOLVER_PARAMETERS
public static final SolveStatus INVALID_SOLVER_PARAMETERS
-
SOLVER_TYPE_UNAVAILABLE
public static final SolveStatus SOLVER_TYPE_UNAVAILABLE
-
INCOMPATIBLE_OPTIONS
public static final SolveStatus INCOMPATIBLE_OPTIONS
-
-
Method Detail
-
values
public static SolveStatus[] 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 (SolveStatus c : SolveStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SolveStatus 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
-
swigValue
public final int swigValue()
-
swigToEnum
public static SolveStatus swigToEnum(int swigValue)
-
-