Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.LocalSearchMetaheuristic.Value Enum Reference
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 final 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
 

Detailed Description

Protobuf enum operations_research.LocalSearchMetaheuristic.Value

Definition at line 52 of file LocalSearchMetaheuristic.java.

Member Function Documentation

◆ [static initializer]()

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

◆ forNumber()

static 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 220 of file LocalSearchMetaheuristic.java.

◆ getDescriptor()

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

Definition at line 258 of file LocalSearchMetaheuristic.java.

◆ getDescriptorForType()

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

Definition at line 254 of file LocalSearchMetaheuristic.java.

◆ getNumber()

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

Definition at line 198 of file LocalSearchMetaheuristic.java.

◆ getValueDescriptor()

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

Definition at line 246 of file LocalSearchMetaheuristic.java.

◆ internalGetValueMap()

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

Definition at line 234 of file LocalSearchMetaheuristic.java.

◆ valueOf() [1/2]

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

Definition at line 264 of file LocalSearchMetaheuristic.java.

◆ valueOf() [2/2]

static 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 212 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 71 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 148 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 118 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 195 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 80 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 157 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 90 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 167 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 99 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 176 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 108 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 185 of file LocalSearchMetaheuristic.java.

◆ UNRECOGNIZED

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

Definition at line 119 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 63 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 140 of file LocalSearchMetaheuristic.java.


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