Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
enum | GeneralConstraintCase |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.linearsolver.MPGeneralConstraintProto prototype) |
static com.google.ortools.linearsolver.MPGeneralConstraintProto | getDefaultInstance () |
static com.google.protobuf.Parser< MPGeneralConstraintProto > | parser () |
Static Public Attributes | |
static final int | NAME_FIELD_NUMBER = 1 |
static final int | INDICATOR_CONSTRAINT_FIELD_NUMBER = 2 |
static final int | SOS_CONSTRAINT_FIELD_NUMBER = 3 |
static final int | QUADRATIC_CONSTRAINT_FIELD_NUMBER = 4 |
static final int | ABS_CONSTRAINT_FIELD_NUMBER = 5 |
static final int | AND_CONSTRAINT_FIELD_NUMBER = 6 |
static final int | OR_CONSTRAINT_FIELD_NUMBER = 7 |
static final int | MIN_CONSTRAINT_FIELD_NUMBER = 8 |
static final int | MAX_CONSTRAINT_FIELD_NUMBER = 9 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
General constraints. See each individual proto type for more information.
Protobuf type operations_research.MPGeneralConstraintProto
Definition at line 14 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 558 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPAbsConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.getAbsConstraint | ( | ) |
.operations_research.MPAbsConstraint abs_constraint = 5;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 272 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPAbsConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.getAbsConstraintOrBuilder | ( | ) |
.operations_research.MPAbsConstraint abs_constraint = 5;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 282 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.getAndConstraint | ( | ) |
All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
.operations_research.MPArrayConstraint and_constraint = 6;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 313 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.getAndConstraintOrBuilder | ( | ) |
All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
.operations_research.MPArrayConstraint and_constraint = 6;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 328 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 2485 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.getDefaultInstanceForType | ( | ) |
Definition at line 2521 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 37 of file MPGeneralConstraintProto.java.
GeneralConstraintCase com.google.ortools.linearsolver.MPGeneralConstraintProto.getGeneralConstraintCase | ( | ) |
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 99 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPIndicatorConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.getIndicatorConstraint | ( | ) |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 179 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPIndicatorConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.getIndicatorConstraintOrBuilder | ( | ) |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 189 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayWithConstantConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.getMaxConstraint | ( | ) |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 446 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.getMaxConstraintOrBuilder | ( | ) |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 460 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayWithConstantConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.getMinConstraint | ( | ) |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 403 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.getMinConstraintOrBuilder | ( | ) |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 417 of file MPGeneralConstraintProto.java.
java.lang.String com.google.ortools.linearsolver.MPGeneralConstraintProto.getName | ( | ) |
The name of the constraint.
optional string name = 1 [default = ""];
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 128 of file MPGeneralConstraintProto.java.
com.google.protobuf.ByteString com.google.ortools.linearsolver.MPGeneralConstraintProto.getNameBytes | ( | ) |
The name of the constraint.
optional string name = 1 [default = ""];
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 152 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.getOrConstraint | ( | ) |
All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
.operations_research.MPArrayConstraint or_constraint = 7;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 359 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.getOrConstraintOrBuilder | ( | ) |
All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
.operations_research.MPArrayConstraint or_constraint = 7;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 374 of file MPGeneralConstraintProto.java.
com.google.protobuf.Parser< MPGeneralConstraintProto > com.google.ortools.linearsolver.MPGeneralConstraintProto.getParserForType | ( | ) |
Definition at line 2516 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPQuadraticConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.getQuadraticConstraint | ( | ) |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 241 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPQuadraticConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.getQuadraticConstraintOrBuilder | ( | ) |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 251 of file MPGeneralConstraintProto.java.
int com.google.ortools.linearsolver.MPGeneralConstraintProto.getSerializedSize | ( | ) |
Definition at line 512 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPSosConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.getSosConstraint | ( | ) |
.operations_research.MPSosConstraint sos_constraint = 3;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 210 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPSosConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.getSosConstraintOrBuilder | ( | ) |
.operations_research.MPSosConstraint sos_constraint = 3;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 220 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.hasAbsConstraint | ( | ) |
.operations_research.MPAbsConstraint abs_constraint = 5;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 264 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.hasAndConstraint | ( | ) |
All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
.operations_research.MPArrayConstraint and_constraint = 6;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 300 of file MPGeneralConstraintProto.java.
int com.google.ortools.linearsolver.MPGeneralConstraintProto.hashCode | ( | ) |
Definition at line 614 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.hasIndicatorConstraint | ( | ) |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 171 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.hasMaxConstraint | ( | ) |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 434 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.hasMinConstraint | ( | ) |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 391 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.hasName | ( | ) |
The name of the constraint.
optional string name = 1 [default = ""];
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 116 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.hasOrConstraint | ( | ) |
All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
.operations_research.MPArrayConstraint or_constraint = 7;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 346 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.hasQuadraticConstraint | ( | ) |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 233 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.hasSosConstraint | ( | ) |
.operations_research.MPSosConstraint sos_constraint = 3;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 202 of file MPGeneralConstraintProto.java.
|
protected |
Definition at line 43 of file MPGeneralConstraintProto.java.
final boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.isInitialized | ( | ) |
Definition at line 469 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 739 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 742 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.newBuilderForType | ( | ) |
Definition at line 738 of file MPGeneralConstraintProto.java.
|
protected |
Definition at line 752 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 710 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 716 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 687 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 691 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 676 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 681 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 723 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 729 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 697 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 702 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 665 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 670 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 2511 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.toBuilder | ( | ) |
Definition at line 746 of file MPGeneralConstraintProto.java.
void com.google.ortools.linearsolver.MPGeneralConstraintProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 479 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 258 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 289 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 165 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 424 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 381 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 104 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 335 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 227 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 196 of file MPGeneralConstraintProto.java.