Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.RestartStrategy Enum Reference
Inheritance diagram for operations_research.pdlp.Solvers.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 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 6708 of file Solvers.java.

Member Function Documentation

◆ forNumber()

static RestartStrategy operations_research.pdlp.Solvers.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 6826 of file Solvers.java.

◆ getDescriptor()

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

Definition at line 6858 of file Solvers.java.

◆ getDescriptorForType()

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

Definition at line 6854 of file Solvers.java.

◆ getNumber()

final int operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.RestartStrategy.getNumber ( )

Definition at line 6808 of file Solvers.java.

◆ getValueDescriptor()

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

Definition at line 6850 of file Solvers.java.

◆ internalGetValueMap()

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

Definition at line 6838 of file Solvers.java.

◆ valueOf() [1/2]

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

Definition at line 6864 of file Solvers.java.

◆ valueOf() [2/2]

static RestartStrategy operations_research.pdlp.Solvers.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 6818 of file Solvers.java.

Member Data Documentation

◆ ADAPTIVE_DISTANCE_BASED

operations_research.pdlp.Solvers.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 6756 of file Solvers.java.

◆ ADAPTIVE_DISTANCE_BASED_VALUE

final int operations_research.pdlp.Solvers.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 6805 of file Solvers.java.

◆ ADAPTIVE_HEURISTIC

operations_research.pdlp.Solvers.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 6744 of file Solvers.java.

◆ ADAPTIVE_HEURISTIC_VALUE

final int operations_research.pdlp.Solvers.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 6793 of file Solvers.java.

◆ EVERY_MAJOR_ITERATION

operations_research.pdlp.Solvers.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 6731 of file Solvers.java.

◆ EVERY_MAJOR_ITERATION_VALUE

final int operations_research.pdlp.Solvers.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 6780 of file Solvers.java.

◆ NO_RESTARTS

operations_research.pdlp.Solvers.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 6722 of file Solvers.java.

◆ NO_RESTARTS_VALUE

final int operations_research.pdlp.Solvers.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 6771 of file Solvers.java.

◆ RESTART_STRATEGY_UNSPECIFIED

operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.RestartStrategy.RESTART_STRATEGY_UNSPECIFIED =(0)

RESTART_STRATEGY_UNSPECIFIED = 0;

Definition at line 6713 of file Solvers.java.

◆ RESTART_STRATEGY_UNSPECIFIED_VALUE

final int operations_research.pdlp.Solvers.PrimalDualHybridGradientParams.RestartStrategy.RESTART_STRATEGY_UNSPECIFIED_VALUE = 0
static

RESTART_STRATEGY_UNSPECIFIED = 0;

Definition at line 6762 of file Solvers.java.


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