![]() |
Google OR-Tools v9.12
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 15 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 559 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 273 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 283 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 314 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 329 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 2486 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.getDefaultInstanceForType | ( | ) |
Definition at line 2522 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 38 of file MPGeneralConstraintProto.java.
GeneralConstraintCase com.google.ortools.linearsolver.MPGeneralConstraintProto.getGeneralConstraintCase | ( | ) |
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 100 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 180 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 190 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 447 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 461 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 404 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 418 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 129 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 153 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 360 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 375 of file MPGeneralConstraintProto.java.
com.google.protobuf.Parser< MPGeneralConstraintProto > com.google.ortools.linearsolver.MPGeneralConstraintProto.getParserForType | ( | ) |
Definition at line 2517 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 242 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 252 of file MPGeneralConstraintProto.java.
int com.google.ortools.linearsolver.MPGeneralConstraintProto.getSerializedSize | ( | ) |
Definition at line 513 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 211 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 221 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 265 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 301 of file MPGeneralConstraintProto.java.
int com.google.ortools.linearsolver.MPGeneralConstraintProto.hashCode | ( | ) |
Definition at line 615 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 172 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 435 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 392 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 117 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 347 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 234 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 203 of file MPGeneralConstraintProto.java.
|
protected |
Definition at line 44 of file MPGeneralConstraintProto.java.
final boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.isInitialized | ( | ) |
Definition at line 470 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 740 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 743 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.newBuilderForType | ( | ) |
Definition at line 739 of file MPGeneralConstraintProto.java.
|
protected |
Definition at line 753 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 711 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 717 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 688 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 692 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 677 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 682 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 724 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 730 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 698 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 703 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 666 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 671 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 2512 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.toBuilder | ( | ) |
Definition at line 747 of file MPGeneralConstraintProto.java.
void com.google.ortools.linearsolver.MPGeneralConstraintProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 480 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 259 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 290 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 166 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 425 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 382 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 105 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 336 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 228 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 197 of file MPGeneralConstraintProto.java.