Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
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 FPRoundingMethod | valueOf (int value) |
static FPRoundingMethod | forNumber (int value) |
static com.google.protobuf.Internal.EnumLiteMap< FPRoundingMethod > | internalGetValueMap () |
static final com.google.protobuf.Descriptors.EnumDescriptor | getDescriptor () |
static FPRoundingMethod | valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
Public Attributes | |
NEAREST_INTEGER =(0) | |
LOCK_BASED =(1) | |
ACTIVE_LOCK_BASED =(3) | |
PROPAGATION_ASSISTED =(2) | |
Static Public Attributes | |
static final int | NEAREST_INTEGER_VALUE = 0 |
static final int | LOCK_BASED_VALUE = 1 |
static final int | ACTIVE_LOCK_BASED_VALUE = 3 |
static final int | PROPAGATION_ASSISTED_VALUE = 2 |
Rounding method to use for feasibility pump.
Protobuf enum operations_research.sat.SatParameters.FPRoundingMethod
Definition at line 1908 of file SatParameters.java.
|
static |
|
static |
value | The numeric wire value of the corresponding enum entry. |
Definition at line 2021 of file SatParameters.java.
|
static |
Definition at line 2052 of file SatParameters.java.
final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.sat.SatParameters.FPRoundingMethod.getDescriptorForType | ( | ) |
Definition at line 2048 of file SatParameters.java.
final int com.google.ortools.sat.SatParameters.FPRoundingMethod.getNumber | ( | ) |
Definition at line 2003 of file SatParameters.java.
final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.sat.SatParameters.FPRoundingMethod.getValueDescriptor | ( | ) |
Definition at line 2044 of file SatParameters.java.
|
static |
Definition at line 2032 of file SatParameters.java.
|
static |
Definition at line 2058 of file SatParameters.java.
|
static |
value | The numeric wire value of the corresponding enum entry. |
forNumber(int)
instead. Definition at line 2013 of file SatParameters.java.
com.google.ortools.sat.SatParameters.FPRoundingMethod.ACTIVE_LOCK_BASED =(3) |
Similar to lock based rounding except this only considers locks of active constraints from the last lp solve.
ACTIVE_LOCK_BASED = 3;
Definition at line 1936 of file SatParameters.java.
|
static |
Similar to lock based rounding except this only considers locks of active constraints from the last lp solve.
ACTIVE_LOCK_BASED = 3;
Definition at line 1987 of file SatParameters.java.
com.google.ortools.sat.SatParameters.FPRoundingMethod.LOCK_BASED =(1) |
Counts the number of linear constraints restricting the variable in the increasing values (up locks) and decreasing values (down locks). Rounds the variable in the direction of lesser locks.
LOCK_BASED = 1;
Definition at line 1927 of file SatParameters.java.
|
static |
Counts the number of linear constraints restricting the variable in the increasing values (up locks) and decreasing values (down locks). Rounds the variable in the direction of lesser locks.
LOCK_BASED = 1;
Definition at line 1978 of file SatParameters.java.
com.google.ortools.sat.SatParameters.FPRoundingMethod.NEAREST_INTEGER =(0) |
Rounds to the nearest integer value.
NEAREST_INTEGER = 0;
Definition at line 1917 of file SatParameters.java.
|
static |
Rounds to the nearest integer value.
NEAREST_INTEGER = 0;
Definition at line 1968 of file SatParameters.java.
com.google.ortools.sat.SatParameters.FPRoundingMethod.PROPAGATION_ASSISTED =(2) |
This is expensive rounding algorithm. We round variables one by one and propagate the bounds in between. If none of the rounded values fall in the continuous domain specified by lower and upper bound, we use the current lower/upper bound (whichever one is closest) instead of rounding the fractional lp solution value. If both the rounded values are in the domain, we round to nearest integer.
PROPAGATION_ASSISTED = 2;
Definition at line 1949 of file SatParameters.java.
|
static |
This is expensive rounding algorithm. We round variables one by one and propagate the bounds in between. If none of the rounded values fall in the continuous domain specified by lower and upper bound, we use the current lower/upper bound (whichever one is closest) instead of rounding the fractional lp solution value. If both the rounded values are in the domain, we round to nearest integer.
PROPAGATION_ASSISTED = 2;
Definition at line 2000 of file SatParameters.java.