Package com.google.ortools.linearsolver
Enum MPSolverParameters.IntegerParam
- java.lang.Object
-
- java.lang.Enum<MPSolverParameters.IntegerParam>
-
- com.google.ortools.linearsolver.MPSolverParameters.IntegerParam
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MPSolverParameters.IntegerParam>
- Enclosing class:
- MPSolverParameters
public static enum MPSolverParameters.IntegerParam extends java.lang.Enum<MPSolverParameters.IntegerParam>
Enumeration of parameters that take integer or categorical values.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INCREMENTALITYAdvanced usage: incrementality from one solve to the next.LP_ALGORITHMAlgorithm to solve linear programs.PRESOLVEAdvanced usage: presolve mode.SCALINGAdvanced usage: enable or disable matrix scaling.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MPSolverParameters.IntegerParamswigToEnum(int swigValue)intswigValue()static MPSolverParameters.IntegerParamvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MPSolverParameters.IntegerParam[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PRESOLVE
public static final MPSolverParameters.IntegerParam PRESOLVE
Advanced usage: presolve mode.
-
LP_ALGORITHM
public static final MPSolverParameters.IntegerParam LP_ALGORITHM
Algorithm to solve linear programs.
-
INCREMENTALITY
public static final MPSolverParameters.IntegerParam INCREMENTALITY
Advanced usage: incrementality from one solve to the next.
-
SCALING
public static final MPSolverParameters.IntegerParam SCALING
Advanced usage: enable or disable matrix scaling.
-
-
Method Detail
-
values
public static MPSolverParameters.IntegerParam[] 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 (MPSolverParameters.IntegerParam c : MPSolverParameters.IntegerParam.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MPSolverParameters.IntegerParam 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 MPSolverParameters.IntegerParam swigToEnum(int swigValue)
-
-