Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy Enum Reference
Inheritance diagram for com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy:

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

Public Attributes

 RESTART_STRATEGY_UNSPECIFIED =(0)
 
 NO_RESTARTS =(1)
 
 EVERY_MAJOR_ITERATION =(2)
 
 ADAPTIVE_HEURISTIC =(3)
 
 ADAPTIVE_DISTANCE_BASED =(4)
 

Static Public Attributes

static final int RESTART_STRATEGY_UNSPECIFIED_VALUE = 0
 
static final int NO_RESTARTS_VALUE = 1
 
static final int EVERY_MAJOR_ITERATION_VALUE = 2
 
static final int ADAPTIVE_HEURISTIC_VALUE = 3
 
static final int ADAPTIVE_DISTANCE_BASED_VALUE = 4
 

Detailed Description

Protobuf enum operations_research.pdlp.PrimalDualHybridGradientParams.RestartStrategy

Definition at line 77 of file PrimalDualHybridGradientParams.java.

Member Function Documentation

◆ [static initializer]()

com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.[static initializer]
static

◆ forNumber()

static RestartStrategy com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.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 204 of file PrimalDualHybridGradientParams.java.

◆ getDescriptor()

static final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.getDescriptor ( )
static

Definition at line 236 of file PrimalDualHybridGradientParams.java.

◆ getDescriptorForType()

final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.getDescriptorForType ( )

Definition at line 232 of file PrimalDualHybridGradientParams.java.

◆ getNumber()

final int com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.getNumber ( )

Definition at line 186 of file PrimalDualHybridGradientParams.java.

◆ getValueDescriptor()

final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.getValueDescriptor ( )

Definition at line 228 of file PrimalDualHybridGradientParams.java.

◆ internalGetValueMap()

static com.google.protobuf.Internal.EnumLiteMap< RestartStrategy > com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.internalGetValueMap ( )
static

Definition at line 216 of file PrimalDualHybridGradientParams.java.

◆ valueOf() [1/2]

static RestartStrategy com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.valueOf ( com.google.protobuf.Descriptors.EnumValueDescriptor desc)
static

Definition at line 242 of file PrimalDualHybridGradientParams.java.

◆ valueOf() [2/2]

static RestartStrategy com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.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 196 of file PrimalDualHybridGradientParams.java.

Member Data Documentation

◆ ADAPTIVE_DISTANCE_BASED

com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.ADAPTIVE_DISTANCE_BASED =(4)
A distance-based restarting scheme that restarts the algorithm whenever
an appropriate potential function is reduced sufficiently. This check
happens at every major iteration.
TODO(user): Cite paper for the restart strategy and definition of the
potential function, when available.

ADAPTIVE_DISTANCE_BASED = 4;

Definition at line 125 of file PrimalDualHybridGradientParams.java.

◆ ADAPTIVE_DISTANCE_BASED_VALUE

final int com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.ADAPTIVE_DISTANCE_BASED_VALUE = 4
static
A distance-based restarting scheme that restarts the algorithm whenever
an appropriate potential function is reduced sufficiently. This check
happens at every major iteration.
TODO(user): Cite paper for the restart strategy and definition of the
potential function, when available.

ADAPTIVE_DISTANCE_BASED = 4;

Definition at line 183 of file PrimalDualHybridGradientParams.java.

◆ ADAPTIVE_HEURISTIC

com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.ADAPTIVE_HEURISTIC =(3)
A heuristic that adaptively decides on every major iteration whether to
restart (this is forced approximately on increasing powers-of-two
iterations), and if so to the current or to the average, based on
reduction in a potential function. The rule more or less follows the
description of the adaptive restart scheme in
https://arxiv.org/pdf/2106.04756.pdf.

ADAPTIVE_HEURISTIC = 3;

Definition at line 113 of file PrimalDualHybridGradientParams.java.

◆ ADAPTIVE_HEURISTIC_VALUE

final int com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.ADAPTIVE_HEURISTIC_VALUE = 3
static
A heuristic that adaptively decides on every major iteration whether to
restart (this is forced approximately on increasing powers-of-two
iterations), and if so to the current or to the average, based on
reduction in a potential function. The rule more or less follows the
description of the adaptive restart scheme in
https://arxiv.org/pdf/2106.04756.pdf.

ADAPTIVE_HEURISTIC = 3;

Definition at line 171 of file PrimalDualHybridGradientParams.java.

◆ EVERY_MAJOR_ITERATION

com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.EVERY_MAJOR_ITERATION =(2)
On every major iteration, the current solution is reset to the average
since the last major iteration.

EVERY_MAJOR_ITERATION = 2;

Definition at line 100 of file PrimalDualHybridGradientParams.java.

◆ EVERY_MAJOR_ITERATION_VALUE

final int com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.EVERY_MAJOR_ITERATION_VALUE = 2
static
On every major iteration, the current solution is reset to the average
since the last major iteration.

EVERY_MAJOR_ITERATION = 2;

Definition at line 158 of file PrimalDualHybridGradientParams.java.

◆ NO_RESTARTS

com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.NO_RESTARTS =(1)
No restarts are performed. The average solution is cleared every major
iteration, but the current solution is not changed.

NO_RESTARTS = 1;

Definition at line 91 of file PrimalDualHybridGradientParams.java.

◆ NO_RESTARTS_VALUE

final int com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.NO_RESTARTS_VALUE = 1
static
No restarts are performed. The average solution is cleared every major
iteration, but the current solution is not changed.

NO_RESTARTS = 1;

Definition at line 149 of file PrimalDualHybridGradientParams.java.

◆ RESTART_STRATEGY_UNSPECIFIED

com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.RESTART_STRATEGY_UNSPECIFIED =(0)

RESTART_STRATEGY_UNSPECIFIED = 0;

Definition at line 82 of file PrimalDualHybridGradientParams.java.

◆ RESTART_STRATEGY_UNSPECIFIED_VALUE

final int com.google.ortools.pdlp.PrimalDualHybridGradientParams.RestartStrategy.RESTART_STRATEGY_UNSPECIFIED_VALUE = 0
static

RESTART_STRATEGY_UNSPECIFIED = 0;

Definition at line 140 of file PrimalDualHybridGradientParams.java.


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