Package com.google.ortools.linearsolver
Enum MPSolverParameters.IncrementalityValues
- java.lang.Object
-
- java.lang.Enum<MPSolverParameters.IncrementalityValues>
-
- com.google.ortools.linearsolver.MPSolverParameters.IncrementalityValues
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MPSolverParameters.IncrementalityValues>
- Enclosing class:
- MPSolverParameters
public static enum MPSolverParameters.IncrementalityValues extends java.lang.Enum<MPSolverParameters.IncrementalityValues>
Advanced usage: Incrementality options.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INCREMENTALITY_OFFStart solve from scratch.INCREMENTALITY_ONReuse results from previous solve as much as the underlying solver
allows.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MPSolverParameters.IncrementalityValuesswigToEnum(int swigValue)intswigValue()static MPSolverParameters.IncrementalityValuesvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MPSolverParameters.IncrementalityValues[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCREMENTALITY_OFF
public static final MPSolverParameters.IncrementalityValues INCREMENTALITY_OFF
Start solve from scratch.
-
INCREMENTALITY_ON
public static final MPSolverParameters.IncrementalityValues INCREMENTALITY_ON
Reuse results from previous solve as much as the underlying solver
allows.
-
-
Method Detail
-
values
public static MPSolverParameters.IncrementalityValues[] 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.IncrementalityValues c : MPSolverParameters.IncrementalityValues.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.IncrementalityValues 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.IncrementalityValues swigToEnum(int swigValue)
-
-