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

Detailed Description

Protobuf enum operations_research.pdlp.PrimalDualHybridGradientParams.RestartStrategy

Definition at line 78 of file PrimalDualHybridGradientParams.java.

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 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

Member Function Documentation

◆ [static initializer]()

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

◆ forNumber()

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 205 of file PrimalDualHybridGradientParams.java.

◆ getDescriptor()

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

Definition at line 237 of file PrimalDualHybridGradientParams.java.

◆ getDescriptorForType()

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

Definition at line 233 of file PrimalDualHybridGradientParams.java.

◆ getNumber()

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

Definition at line 187 of file PrimalDualHybridGradientParams.java.

◆ getValueDescriptor()

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

Definition at line 229 of file PrimalDualHybridGradientParams.java.

◆ internalGetValueMap()

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

Definition at line 217 of file PrimalDualHybridGradientParams.java.

◆ valueOf() [1/2]

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

Definition at line 243 of file PrimalDualHybridGradientParams.java.

◆ valueOf() [2/2]

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 197 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 126 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 184 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 114 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 172 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 101 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 159 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 92 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 150 of file PrimalDualHybridGradientParams.java.

◆ RESTART_STRATEGY_UNSPECIFIED

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

RESTART_STRATEGY_UNSPECIFIED = 0;

Definition at line 83 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 141 of file PrimalDualHybridGradientParams.java.


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