public static enum LocalSearchMetaheuristic.Value extends java.lang.Enum<LocalSearchMetaheuristic.Value> implements com.google.protobuf.ProtocolMessageEnum
operations_research.LocalSearchMetaheuristic.Value
Enum Constant and Description |
---|
AUTOMATIC
Lets the solver select the metaheuristic.
|
GENERIC_TABU_SEARCH
Uses tabu search on a list of variables to escape local minima.
|
GREEDY_DESCENT
Accepts improving (cost-reducing) local search neighbors until a local
minimum is reached.
|
GUIDED_LOCAL_SEARCH
Uses guided local search to escape local minima
(cf. http://en.wikipedia.org/wiki/Guided_Local_Search); this is generally
the most efficient metaheuristic for vehicle routing.
|
SIMULATED_ANNEALING
Uses simulated annealing to escape local minima
(cf. http://en.wikipedia.org/wiki/Simulated_annealing).
|
TABU_SEARCH
Uses tabu search to escape local minima
(cf. http://en.wikipedia.org/wiki/Tabu_search).
|
UNRECOGNIZED |
UNSET
Means "not set".
|
Modifier and Type | Field and Description |
---|---|
static int |
AUTOMATIC_VALUE
Lets the solver select the metaheuristic.
|
static int |
GENERIC_TABU_SEARCH_VALUE
Uses tabu search on a list of variables to escape local minima.
|
static int |
GREEDY_DESCENT_VALUE
Accepts improving (cost-reducing) local search neighbors until a local
minimum is reached.
|
static int |
GUIDED_LOCAL_SEARCH_VALUE
Uses guided local search to escape local minima
(cf. http://en.wikipedia.org/wiki/Guided_Local_Search); this is generally
the most efficient metaheuristic for vehicle routing.
|
static int |
SIMULATED_ANNEALING_VALUE
Uses simulated annealing to escape local minima
(cf. http://en.wikipedia.org/wiki/Simulated_annealing).
|
static int |
TABU_SEARCH_VALUE
Uses tabu search to escape local minima
(cf. http://en.wikipedia.org/wiki/Tabu_search).
|
static int |
UNSET_VALUE
Means "not set".
|
Modifier and Type | Method and Description |
---|---|
static LocalSearchMetaheuristic.Value |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<LocalSearchMetaheuristic.Value> |
internalGetValueMap() |
static LocalSearchMetaheuristic.Value |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static LocalSearchMetaheuristic.Value |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static LocalSearchMetaheuristic.Value |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LocalSearchMetaheuristic.Value[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalSearchMetaheuristic.Value UNSET
Means "not set". If the solver sees that, it'll behave like for AUTOMATIC. But this value won't override others upon a proto MergeFrom(), whereas "AUTOMATIC" will.
UNSET = 0;
public static final LocalSearchMetaheuristic.Value AUTOMATIC
Lets the solver select the metaheuristic.
AUTOMATIC = 6;
public static final LocalSearchMetaheuristic.Value GREEDY_DESCENT
Accepts improving (cost-reducing) local search neighbors until a local minimum is reached.
GREEDY_DESCENT = 1;
public static final LocalSearchMetaheuristic.Value GUIDED_LOCAL_SEARCH
Uses guided local search to escape local minima (cf. http://en.wikipedia.org/wiki/Guided_Local_Search); this is generally the most efficient metaheuristic for vehicle routing.
GUIDED_LOCAL_SEARCH = 2;
public static final LocalSearchMetaheuristic.Value SIMULATED_ANNEALING
Uses simulated annealing to escape local minima (cf. http://en.wikipedia.org/wiki/Simulated_annealing).
SIMULATED_ANNEALING = 3;
public static final LocalSearchMetaheuristic.Value TABU_SEARCH
Uses tabu search to escape local minima (cf. http://en.wikipedia.org/wiki/Tabu_search).
TABU_SEARCH = 4;
public static final LocalSearchMetaheuristic.Value GENERIC_TABU_SEARCH
Uses tabu search on a list of variables to escape local minima. The list of variables to use must be provided via the SetTabuVarsCallback callback.
GENERIC_TABU_SEARCH = 5;
public static final LocalSearchMetaheuristic.Value UNRECOGNIZED
public static final int UNSET_VALUE
Means "not set". If the solver sees that, it'll behave like for AUTOMATIC. But this value won't override others upon a proto MergeFrom(), whereas "AUTOMATIC" will.
UNSET = 0;
public static final int AUTOMATIC_VALUE
Lets the solver select the metaheuristic.
AUTOMATIC = 6;
public static final int GREEDY_DESCENT_VALUE
Accepts improving (cost-reducing) local search neighbors until a local minimum is reached.
GREEDY_DESCENT = 1;
public static final int GUIDED_LOCAL_SEARCH_VALUE
Uses guided local search to escape local minima (cf. http://en.wikipedia.org/wiki/Guided_Local_Search); this is generally the most efficient metaheuristic for vehicle routing.
GUIDED_LOCAL_SEARCH = 2;
public static final int SIMULATED_ANNEALING_VALUE
Uses simulated annealing to escape local minima (cf. http://en.wikipedia.org/wiki/Simulated_annealing).
SIMULATED_ANNEALING = 3;
public static final int TABU_SEARCH_VALUE
Uses tabu search to escape local minima (cf. http://en.wikipedia.org/wiki/Tabu_search).
TABU_SEARCH = 4;
public static final int GENERIC_TABU_SEARCH_VALUE
Uses tabu search on a list of variables to escape local minima. The list of variables to use must be provided via the SetTabuVarsCallback callback.
GENERIC_TABU_SEARCH = 5;
public static LocalSearchMetaheuristic.Value[] values()
for (LocalSearchMetaheuristic.Value c : LocalSearchMetaheuristic.Value.values()) System.out.println(c);
public static LocalSearchMetaheuristic.Value valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface com.google.protobuf.Internal.EnumLite
getNumber
in interface com.google.protobuf.ProtocolMessageEnum
@Deprecated public static LocalSearchMetaheuristic.Value valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static LocalSearchMetaheuristic.Value forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<LocalSearchMetaheuristic.Value> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface com.google.protobuf.ProtocolMessageEnum
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.ProtocolMessageEnum
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static LocalSearchMetaheuristic.Value valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2025. All rights reserved.