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 Polarity | valueOf (int value) |
static Polarity | forNumber (int value) |
static com.google.protobuf.Internal.EnumLiteMap< Polarity > | internalGetValueMap () |
static final com.google.protobuf.Descriptors.EnumDescriptor | getDescriptor () |
static Polarity | valueOf (com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
Public Attributes | |
POLARITY_TRUE =(0) | |
POLARITY_FALSE =(1) | |
POLARITY_RANDOM =(2) | |
Static Public Attributes | |
static final int | POLARITY_TRUE_VALUE = 0 |
static final int | POLARITY_FALSE_VALUE = 1 |
static final int | POLARITY_RANDOM_VALUE = 2 |
Specifies the initial polarity (true/false) when the solver branches on a variable. This can be modified later by the user, or the phase saving heuristic. Note(user): POLARITY_FALSE is usually a good choice because of the "natural" way to express a linear boolean problem.
Protobuf enum operations_research.sat.SatParameters.Polarity
Definition at line 356 of file SatParameters.java.
|
static |
|
static |
value | The numeric wire value of the corresponding enum entry. |
Definition at line 413 of file SatParameters.java.
|
static |
Definition at line 443 of file SatParameters.java.
final com.google.protobuf.Descriptors.EnumDescriptor com.google.ortools.sat.SatParameters.Polarity.getDescriptorForType | ( | ) |
Definition at line 439 of file SatParameters.java.
final int com.google.ortools.sat.SatParameters.Polarity.getNumber | ( | ) |
Definition at line 395 of file SatParameters.java.
final com.google.protobuf.Descriptors.EnumValueDescriptor com.google.ortools.sat.SatParameters.Polarity.getValueDescriptor | ( | ) |
Definition at line 435 of file SatParameters.java.
|
static |
Definition at line 423 of file SatParameters.java.
|
static |
Definition at line 449 of file SatParameters.java.
|
static |
value | The numeric wire value of the corresponding enum entry. |
forNumber(int)
instead. Definition at line 405 of file SatParameters.java.
com.google.ortools.sat.SatParameters.Polarity.POLARITY_FALSE =(1) |
POLARITY_FALSE = 1;
Definition at line 365 of file SatParameters.java.
|
static |
POLARITY_FALSE = 1;
Definition at line 388 of file SatParameters.java.
com.google.ortools.sat.SatParameters.Polarity.POLARITY_RANDOM =(2) |
POLARITY_RANDOM = 2;
Definition at line 369 of file SatParameters.java.
|
static |
POLARITY_RANDOM = 2;
Definition at line 392 of file SatParameters.java.
com.google.ortools.sat.SatParameters.Polarity.POLARITY_TRUE =(0) |
POLARITY_TRUE = 0;
Definition at line 361 of file SatParameters.java.
|
static |
POLARITY_TRUE = 0;
Definition at line 384 of file SatParameters.java.