Google OR-Tools v9.9
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 CostScalingAlgorithm | valueOf (int value) |
static CostScalingAlgorithm | forNumber (int value) |
static com.google.protobuf.Internal.EnumLiteMap< CostScalingAlgorithm > | internalGetValueMap () |
static final com.google.protobuf.Descriptors.EnumDescriptor | getDescriptor () |
static CostScalingAlgorithm | valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
Public Attributes | |
NO_COST_SCALING =(0) | |
CONTAIN_ONE_COST_SCALING =(1) | |
MEAN_COST_SCALING =(2) | |
MEDIAN_COST_SCALING =(3) | |
Static Public Attributes | |
static final int | NO_COST_SCALING_VALUE = 0 |
static final int | CONTAIN_ONE_COST_SCALING_VALUE = 1 |
static final int | MEAN_COST_SCALING_VALUE = 2 |
static final int | MEDIAN_COST_SCALING_VALUE = 3 |
This is only used if use_scaling is true. After the scaling is done, we also scale the objective by a constant factor. This is important because scaling the cost has a direct influence on the meaning of the dual_feasibility_tolerance. Because we usually use a fixed tolerance, the objective must be well scaled to make sense.
Protobuf enum operations_research.glop.GlopParameters.CostScalingAlgorithm
Definition at line 655 of file GlopParameters.java.
|
static |
value | The numeric wire value of the corresponding enum entry. |
Definition at line 747 of file GlopParameters.java.
|
static |
Definition at line 778 of file GlopParameters.java.
final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.glop.GlopParameters.CostScalingAlgorithm.getDescriptorForType | ( | ) |
Definition at line 774 of file GlopParameters.java.
final int com.google.ortools.glop.GlopParameters.CostScalingAlgorithm.getNumber | ( | ) |
Definition at line 729 of file GlopParameters.java.
final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.glop.GlopParameters.CostScalingAlgorithm.getValueDescriptor | ( | ) |
Definition at line 770 of file GlopParameters.java.
|
static |
Definition at line 758 of file GlopParameters.java.
|
static |
Definition at line 784 of file GlopParameters.java.
|
static |
value | The numeric wire value of the corresponding enum entry. |
forNumber(int)
instead. Definition at line 739 of file GlopParameters.java.
com.google.ortools.glop.GlopParameters.CostScalingAlgorithm.CONTAIN_ONE_COST_SCALING =(1) |
This is the most defensive option. It makes sure that [min_cost_magnitude, max_cost_magnitude] contains 1.0, and if not, it makes the closest magnitude bound equal to one.
CONTAIN_ONE_COST_SCALING = 1;
Definition at line 674 of file GlopParameters.java.
|
static |
This is the most defensive option. It makes sure that [min_cost_magnitude, max_cost_magnitude] contains 1.0, and if not, it makes the closest magnitude bound equal to one.
CONTAIN_ONE_COST_SCALING = 1;
Definition at line 710 of file GlopParameters.java.
com.google.ortools.glop.GlopParameters.CostScalingAlgorithm.MEAN_COST_SCALING =(2) |
Make the mean of the non-zero costs equals to one.
MEAN_COST_SCALING = 2;
Definition at line 682 of file GlopParameters.java.
|
static |
Make the mean of the non-zero costs equals to one.
MEAN_COST_SCALING = 2;
Definition at line 718 of file GlopParameters.java.
com.google.ortools.glop.GlopParameters.CostScalingAlgorithm.MEDIAN_COST_SCALING =(3) |
Make the median of the non-zero costs equals to one.
MEDIAN_COST_SCALING = 3;
Definition at line 690 of file GlopParameters.java.
|
static |
Make the median of the non-zero costs equals to one.
MEDIAN_COST_SCALING = 3;
Definition at line 726 of file GlopParameters.java.
com.google.ortools.glop.GlopParameters.CostScalingAlgorithm.NO_COST_SCALING =(0) |
|
static |