Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy Enum Reference
Inheritance diagram for com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy:

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 PairInsertionStrategy valueOf (int value)
 
static PairInsertionStrategy forNumber (int value)
 
static com.google.protobuf.Internal.EnumLiteMap< PairInsertionStrategyinternalGetValueMap ()
 
static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor ()
 
static PairInsertionStrategy valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc)
 

Public Attributes

 AUTOMATIC =(0)
 
 BEST_PICKUP_THEN_BEST_DELIVERY =(1)
 
 BEST_PICKUP_DELIVERY_PAIR =(2)
 
 BEST_PICKUP_DELIVERY_PAIR_MULTITOUR =(3)
 
 UNRECOGNIZED =(-1)
 

Static Public Attributes

static final int AUTOMATIC_VALUE = 0
 
static final int BEST_PICKUP_THEN_BEST_DELIVERY_VALUE = 1
 
static final int BEST_PICKUP_DELIVERY_PAIR_VALUE = 2
 
static final int BEST_PICKUP_DELIVERY_PAIR_MULTITOUR_VALUE = 3
 

Detailed Description

In insertion-based heuristics, describes what positions must be considered
when inserting a pickup/delivery pair, and in what order they are
considered.

Protobuf enum operations_research.RoutingSearchParameters.PairInsertionStrategy

Definition at line 73 of file RoutingSearchParameters.java.

Member Function Documentation

◆ [static initializer]()

com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.[static initializer]
static

◆ forNumber()

static PairInsertionStrategy com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.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 183 of file RoutingSearchParameters.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.getDescriptor ( )
static

Definition at line 218 of file RoutingSearchParameters.java.

◆ getDescriptorForType()

final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.getDescriptorForType ( )

Definition at line 214 of file RoutingSearchParameters.java.

◆ getNumber()

final int com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.getNumber ( )

Definition at line 161 of file RoutingSearchParameters.java.

◆ getValueDescriptor()

final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.getValueDescriptor ( )

Definition at line 206 of file RoutingSearchParameters.java.

◆ internalGetValueMap()

static com.google.protobuf.Internal.EnumLiteMap< PairInsertionStrategy > com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.internalGetValueMap ( )
static

Definition at line 194 of file RoutingSearchParameters.java.

◆ valueOf() [1/2]

static PairInsertionStrategy com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.valueOf ( com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static

Definition at line 224 of file RoutingSearchParameters.java.

◆ valueOf() [2/2]

static PairInsertionStrategy com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.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 175 of file RoutingSearchParameters.java.

Member Data Documentation

◆ AUTOMATIC

com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.AUTOMATIC =(0)
Let the solver decide the set of positions and its ordering.

AUTOMATIC = 0;

Definition at line 82 of file RoutingSearchParameters.java.

◆ AUTOMATIC_VALUE

final int com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.AUTOMATIC_VALUE = 0
static
Let the solver decide the set of positions and its ordering.

AUTOMATIC = 0;

Definition at line 130 of file RoutingSearchParameters.java.

◆ BEST_PICKUP_DELIVERY_PAIR

com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.BEST_PICKUP_DELIVERY_PAIR =(2)
Consider all positions, by increasing by cost(pickup) + cost(delivery).

BEST_PICKUP_DELIVERY_PAIR = 2;

Definition at line 98 of file RoutingSearchParameters.java.

◆ BEST_PICKUP_DELIVERY_PAIR_MULTITOUR

com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.BEST_PICKUP_DELIVERY_PAIR_MULTITOUR =(3)
Only consider insertion positions that are compatible with the multitour
property, meaning a series of pickups may only start when the vehicle
is not carrying any delivery. This setting is designed to explore much
less possibilities than the full BEST_PICKUP_DELIVERY_PAIR.
Order by increasing by cost(pickup) + cost(delivery).

BEST_PICKUP_DELIVERY_PAIR_MULTITOUR = 3;

Definition at line 110 of file RoutingSearchParameters.java.

◆ BEST_PICKUP_DELIVERY_PAIR_MULTITOUR_VALUE

final int com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.BEST_PICKUP_DELIVERY_PAIR_MULTITOUR_VALUE = 3
static
Only consider insertion positions that are compatible with the multitour
property, meaning a series of pickups may only start when the vehicle
is not carrying any delivery. This setting is designed to explore much
less possibilities than the full BEST_PICKUP_DELIVERY_PAIR.
Order by increasing by cost(pickup) + cost(delivery).

BEST_PICKUP_DELIVERY_PAIR_MULTITOUR = 3;

Definition at line 158 of file RoutingSearchParameters.java.

◆ BEST_PICKUP_DELIVERY_PAIR_VALUE

final int com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.BEST_PICKUP_DELIVERY_PAIR_VALUE = 2
static
Consider all positions, by increasing by cost(pickup) + cost(delivery).

BEST_PICKUP_DELIVERY_PAIR = 2;

Definition at line 146 of file RoutingSearchParameters.java.

◆ BEST_PICKUP_THEN_BEST_DELIVERY

com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.BEST_PICKUP_THEN_BEST_DELIVERY =(1)
Consider all positions, by increasing (cost(pickup), cost(delivery)).

BEST_PICKUP_THEN_BEST_DELIVERY = 1;

Definition at line 90 of file RoutingSearchParameters.java.

◆ BEST_PICKUP_THEN_BEST_DELIVERY_VALUE

final int com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.BEST_PICKUP_THEN_BEST_DELIVERY_VALUE = 1
static
Consider all positions, by increasing (cost(pickup), cost(delivery)).

BEST_PICKUP_THEN_BEST_DELIVERY = 1;

Definition at line 138 of file RoutingSearchParameters.java.

◆ UNRECOGNIZED

com.google.ortools.constraintsolver.RoutingSearchParameters.PairInsertionStrategy.UNRECOGNIZED =(-1)

Definition at line 111 of file RoutingSearchParameters.java.


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