Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value Enum Reference

Detailed Description

Protobuf enum operations_research.LocalSearchMetaheuristic.Value

Definition at line 54 of file LocalSearchMetaheuristic.java.

Inheritance diagram for com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value:

Public Member Functions

final int getNumber ()
final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor ()
final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType ()

Static Public Member Functions

 [static initializer]
static Value valueOf (int value)
static Value forNumber (int value)
static com.google.protobuf.Internal.EnumLiteMap< ValueinternalGetValueMap ()
static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor ()
static Value valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc)

Public Attributes

 UNSET =(0)
 AUTOMATIC =(6)
 GREEDY_DESCENT =(1)
 GUIDED_LOCAL_SEARCH =(2)
 SIMULATED_ANNEALING =(3)
 TABU_SEARCH =(4)
 GENERIC_TABU_SEARCH =(5)
 UNRECOGNIZED =(-1)

Static Public Attributes

static final int UNSET_VALUE = 0
static final int AUTOMATIC_VALUE = 6
static final int GREEDY_DESCENT_VALUE = 1
static final int GUIDED_LOCAL_SEARCH_VALUE = 2
static final int SIMULATED_ANNEALING_VALUE = 3
static final int TABU_SEARCH_VALUE = 4
static final int GENERIC_TABU_SEARCH_VALUE = 5

Member Function Documentation

◆ [static initializer]()

com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.[static initializer]
static

◆ forNumber()

Value com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.forNumber ( int value)
static
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.

Definition at line 222 of file LocalSearchMetaheuristic.java.

◆ getDescriptor()

com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.getDescriptor ( )
static

Definition at line 260 of file LocalSearchMetaheuristic.java.

◆ getDescriptorForType()

final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.getDescriptorForType ( )

Definition at line 256 of file LocalSearchMetaheuristic.java.

◆ getNumber()

final int com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.getNumber ( )

Definition at line 200 of file LocalSearchMetaheuristic.java.

◆ getValueDescriptor()

final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.getValueDescriptor ( )

Definition at line 248 of file LocalSearchMetaheuristic.java.

◆ internalGetValueMap()

com.google.protobuf.Internal.EnumLiteMap< Value > com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.internalGetValueMap ( )
static

Definition at line 236 of file LocalSearchMetaheuristic.java.

◆ valueOf() [1/2]

Value com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.valueOf ( com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static

Definition at line 266 of file LocalSearchMetaheuristic.java.

◆ valueOf() [2/2]

Value com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.valueOf ( int value)
static
Parameters
valueThe numeric wire value of the corresponding enum entry.
Returns
The enum associated with the given numeric wire value.
Deprecated
Use forNumber(int) instead.

Definition at line 214 of file LocalSearchMetaheuristic.java.

Member Data Documentation

◆ AUTOMATIC

com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.AUTOMATIC =(6)
Lets the solver select the metaheuristic.

AUTOMATIC = 6;

Definition at line 73 of file LocalSearchMetaheuristic.java.

◆ AUTOMATIC_VALUE

final int com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.AUTOMATIC_VALUE = 6
static
Lets the solver select the metaheuristic.

AUTOMATIC = 6;

Definition at line 150 of file LocalSearchMetaheuristic.java.

◆ GENERIC_TABU_SEARCH

com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.GENERIC_TABU_SEARCH =(5)
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;

Definition at line 120 of file LocalSearchMetaheuristic.java.

◆ GENERIC_TABU_SEARCH_VALUE

final int com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.GENERIC_TABU_SEARCH_VALUE = 5
static
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;

Definition at line 197 of file LocalSearchMetaheuristic.java.

◆ GREEDY_DESCENT

com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.GREEDY_DESCENT =(1)
Accepts improving (cost-reducing) local search neighbors until a local
minimum is reached.

GREEDY_DESCENT = 1;

Definition at line 82 of file LocalSearchMetaheuristic.java.

◆ GREEDY_DESCENT_VALUE

final int com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.GREEDY_DESCENT_VALUE = 1
static
Accepts improving (cost-reducing) local search neighbors until a local
minimum is reached.

GREEDY_DESCENT = 1;

Definition at line 159 of file LocalSearchMetaheuristic.java.

◆ GUIDED_LOCAL_SEARCH

com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.GUIDED_LOCAL_SEARCH =(2)
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;

Definition at line 92 of file LocalSearchMetaheuristic.java.

◆ GUIDED_LOCAL_SEARCH_VALUE

final int com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.GUIDED_LOCAL_SEARCH_VALUE = 2
static
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;

Definition at line 169 of file LocalSearchMetaheuristic.java.

◆ SIMULATED_ANNEALING

com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.SIMULATED_ANNEALING =(3)
Uses simulated annealing to escape local minima
(cf. http://en.wikipedia.org/wiki/Simulated_annealing).

SIMULATED_ANNEALING = 3;

Definition at line 101 of file LocalSearchMetaheuristic.java.

◆ SIMULATED_ANNEALING_VALUE

final int com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.SIMULATED_ANNEALING_VALUE = 3
static
Uses simulated annealing to escape local minima
(cf. http://en.wikipedia.org/wiki/Simulated_annealing).

SIMULATED_ANNEALING = 3;

Definition at line 178 of file LocalSearchMetaheuristic.java.

◆ TABU_SEARCH

com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.TABU_SEARCH =(4)
Uses tabu search to escape local minima
(cf. http://en.wikipedia.org/wiki/Tabu_search).

TABU_SEARCH = 4;

Definition at line 110 of file LocalSearchMetaheuristic.java.

◆ TABU_SEARCH_VALUE

final int com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.TABU_SEARCH_VALUE = 4
static
Uses tabu search to escape local minima
(cf. http://en.wikipedia.org/wiki/Tabu_search).

TABU_SEARCH = 4;

Definition at line 187 of file LocalSearchMetaheuristic.java.

◆ UNRECOGNIZED

com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.UNRECOGNIZED =(-1)

Definition at line 121 of file LocalSearchMetaheuristic.java.

◆ UNSET

com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.UNSET =(0)
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;

Definition at line 65 of file LocalSearchMetaheuristic.java.

◆ UNSET_VALUE

final int com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value.UNSET_VALUE = 0
static
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;

Definition at line 142 of file LocalSearchMetaheuristic.java.


The documentation for this enum was generated from the following file: