Enum MPSolverParameters.IntegerParam
java.lang.Object
java.lang.Enum<MPSolverParameters.IntegerParam>
com.google.ortools.linearsolver.MPSolverParameters.IntegerParam
- All Implemented Interfaces:
Serializable
,Comparable<MPSolverParameters.IntegerParam>
,java.lang.constant.Constable
- Enclosing class:
MPSolverParameters
Enumeration of parameters that take integer or categorical values.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAdvanced usage: incrementality from one solve to the next.Algorithm to solve linear programs.Advanced usage: presolve mode.Advanced usage: enable or disable matrix scaling. -
Method Summary
Modifier and TypeMethodDescriptionswigToEnum
(int swigValue) final int
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 Details
-
PRESOLVE
Advanced usage: presolve mode. -
LP_ALGORITHM
Algorithm to solve linear programs. -
INCREMENTALITY
Advanced usage: incrementality from one solve to the next. -
SCALING
Advanced usage: enable or disable matrix scaling.
-
-
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
-
swigValue
public final int swigValue() -
swigToEnum
-