public static enum CuttingPlaneOptimizer.LocalSearchMethod extends Enum<CuttingPlaneOptimizer.LocalSearchMethod>
Enum Constant and Description |
---|
SIM_CORRECTOR
Use the local search from
SimCorrector . |
SIMPLE_GREEDY_SEARCH
Use a very simple monotonic greedy search implemented by
SimpleGreedySearch . |
Modifier and Type | Method and Description |
---|---|
static CuttingPlaneOptimizer.LocalSearchMethod |
fromValue(String name)
Returns the search mode
enum instance
corresponding to the given search mode name. |
String |
toString() |
static CuttingPlaneOptimizer.LocalSearchMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CuttingPlaneOptimizer.LocalSearchMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CuttingPlaneOptimizer.LocalSearchMethod SIM_CORRECTOR
SimCorrector
.public static final CuttingPlaneOptimizer.LocalSearchMethod SIMPLE_GREEDY_SEARCH
SimpleGreedySearch
.public static CuttingPlaneOptimizer.LocalSearchMethod[] values()
for (CuttingPlaneOptimizer.LocalSearchMethod c : CuttingPlaneOptimizer.LocalSearchMethod.values()) System.out.println(c);
public static CuttingPlaneOptimizer.LocalSearchMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<CuttingPlaneOptimizer.LocalSearchMethod>
public static CuttingPlaneOptimizer.LocalSearchMethod fromValue(String name)
enum
instance
corresponding to the given search mode name.name
- the name of the search modeenum
instance