Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
General constraints. See each individual proto type for more information.
Protobuf type operations_research.MPGeneralConstraintProto
Definition at line 764 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.build | ( | ) |
Definition at line 837 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.buildPartial | ( | ) |
Definition at line 846 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clear | ( | ) |
Definition at line 792 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearAbsConstraint | ( | ) |
.operations_research.MPAbsConstraint abs_constraint = 5;
Definition at line 1688 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearAndConstraint | ( | ) |
All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
.operations_research.MPArrayConstraint and_constraint = 6;
Definition at line 1860 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearGeneralConstraint | ( | ) |
Definition at line 1065 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearIndicatorConstraint | ( | ) |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Definition at line 1262 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearMaxConstraint | ( | ) |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Definition at line 2406 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearMinConstraint | ( | ) |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Definition at line 2228 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearName | ( | ) |
The name of the constraint.
optional string name = 1 [default = ""];
Definition at line 1154 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearOrConstraint | ( | ) |
All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
.operations_research.MPArrayConstraint or_constraint = 7;
Definition at line 2047 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearQuadraticConstraint | ( | ) |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Definition at line 1546 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearSosConstraint | ( | ) |
.operations_research.MPSosConstraint sos_constraint = 3;
Definition at line 1404 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPAbsConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getAbsConstraint | ( | ) |
.operations_research.MPAbsConstraint abs_constraint = 5;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1619 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPAbsConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getAbsConstraintBuilder | ( | ) |
.operations_research.MPAbsConstraint abs_constraint = 5;
Definition at line 1707 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPAbsConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getAbsConstraintOrBuilder | ( | ) |
.operations_research.MPAbsConstraint abs_constraint = 5;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1714 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.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 1771 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getAndConstraintBuilder | ( | ) |
All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
.operations_research.MPArrayConstraint and_constraint = 6;
Definition at line 1884 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.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 1896 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 832 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 769 of file MPGeneralConstraintProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getDescriptorForType | ( | ) |
Definition at line 827 of file MPGeneralConstraintProto.java.
GeneralConstraintCase com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getGeneralConstraintCase | ( | ) |
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1060 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPIndicatorConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getIndicatorConstraint | ( | ) |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1193 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPIndicatorConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getIndicatorConstraintBuilder | ( | ) |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Definition at line 1281 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPIndicatorConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getIndicatorConstraintOrBuilder | ( | ) |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1288 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayWithConstantConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getMaxConstraint | ( | ) |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 2321 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getMaxConstraintBuilder | ( | ) |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Definition at line 2429 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getMaxConstraintOrBuilder | ( | ) |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 2440 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayWithConstantConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getMinConstraint | ( | ) |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 2143 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getMinConstraintBuilder | ( | ) |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Definition at line 2251 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getMinConstraintOrBuilder | ( | ) |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 2262 of file MPGeneralConstraintProto.java.
java.lang.String com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getName | ( | ) |
The name of the constraint.
optional string name = 1 [default = ""];
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1094 of file MPGeneralConstraintProto.java.
com.google.protobuf.ByteString com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getNameBytes | ( | ) |
The name of the constraint.
optional string name = 1 [default = ""];
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1117 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.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 1958 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getOrConstraintBuilder | ( | ) |
All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
.operations_research.MPArrayConstraint or_constraint = 7;
Definition at line 2071 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPArrayConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.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 2083 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPQuadraticConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getQuadraticConstraint | ( | ) |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1477 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPQuadraticConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getQuadraticConstraintBuilder | ( | ) |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Definition at line 1565 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPQuadraticConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getQuadraticConstraintOrBuilder | ( | ) |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1572 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPSosConstraint com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getSosConstraint | ( | ) |
.operations_research.MPSosConstraint sos_constraint = 3;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1335 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPSosConstraint.Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getSosConstraintBuilder | ( | ) |
.operations_research.MPSosConstraint sos_constraint = 3;
Definition at line 1423 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPSosConstraintOrBuilder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getSosConstraintOrBuilder | ( | ) |
.operations_research.MPSosConstraint sos_constraint = 3;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1430 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasAbsConstraint | ( | ) |
.operations_research.MPAbsConstraint abs_constraint = 5;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1611 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.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 1758 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasIndicatorConstraint | ( | ) |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1185 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasMaxConstraint | ( | ) |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 2309 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasMinConstraint | ( | ) |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 2131 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasName | ( | ) |
The name of the constraint.
optional string name = 1 [default = ""];
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1083 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.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 1945 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasQuadraticConstraint | ( | ) |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1469 of file MPGeneralConstraintProto.java.
boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.hasSosConstraint | ( | ) |
.operations_research.MPSosConstraint sos_constraint = 3;
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1327 of file MPGeneralConstraintProto.java.
|
protected |
Definition at line 775 of file MPGeneralConstraintProto.java.
final boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.isInitialized | ( | ) |
Definition at line 961 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeAbsConstraint | ( | com.google.ortools.linearsolver.MPAbsConstraint | value | ) |
.operations_research.MPAbsConstraint abs_constraint = 5;
Definition at line 1665 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeAndConstraint | ( | com.google.ortools.linearsolver.MPArrayConstraint | value | ) |
All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
.operations_research.MPArrayConstraint and_constraint = 6;
Definition at line 1832 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeFrom | ( | com.google.ortools.linearsolver.MPGeneralConstraintProto | other | ) |
Definition at line 911 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 966 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 902 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeIndicatorConstraint | ( | com.google.ortools.linearsolver.MPIndicatorConstraint | value | ) |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Definition at line 1239 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeMaxConstraint | ( | com.google.ortools.linearsolver.MPArrayWithConstantConstraint | value | ) |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Definition at line 2379 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeMinConstraint | ( | com.google.ortools.linearsolver.MPArrayWithConstantConstraint | value | ) |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Definition at line 2201 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeOrConstraint | ( | com.google.ortools.linearsolver.MPArrayConstraint | value | ) |
All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
.operations_research.MPArrayConstraint or_constraint = 7;
Definition at line 2019 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeQuadraticConstraint | ( | com.google.ortools.linearsolver.MPQuadraticConstraint | value | ) |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Definition at line 1523 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeSosConstraint | ( | com.google.ortools.linearsolver.MPSosConstraint | value | ) |
.operations_research.MPSosConstraint sos_constraint = 3;
Definition at line 1381 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setAbsConstraint | ( | com.google.ortools.linearsolver.MPAbsConstraint | value | ) |
.operations_research.MPAbsConstraint abs_constraint = 5;
Definition at line 1635 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setAbsConstraint | ( | com.google.ortools.linearsolver.MPAbsConstraint.Builder | builderForValue | ) |
.operations_research.MPAbsConstraint abs_constraint = 5;
Definition at line 1651 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setAndConstraint | ( | com.google.ortools.linearsolver.MPArrayConstraint | value | ) |
All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
.operations_research.MPArrayConstraint and_constraint = 6;
Definition at line 1792 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setAndConstraint | ( | com.google.ortools.linearsolver.MPArrayConstraint.Builder | builderForValue | ) |
All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
.operations_research.MPArrayConstraint and_constraint = 6;
Definition at line 1813 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setIndicatorConstraint | ( | com.google.ortools.linearsolver.MPIndicatorConstraint | value | ) |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Definition at line 1209 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setIndicatorConstraint | ( | com.google.ortools.linearsolver.MPIndicatorConstraint.Builder | builderForValue | ) |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Definition at line 1225 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setMaxConstraint | ( | com.google.ortools.linearsolver.MPArrayWithConstantConstraint | value | ) |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Definition at line 2341 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setMaxConstraint | ( | com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder | builderForValue | ) |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Definition at line 2361 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setMinConstraint | ( | com.google.ortools.linearsolver.MPArrayWithConstantConstraint | value | ) |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Definition at line 2163 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setMinConstraint | ( | com.google.ortools.linearsolver.MPArrayWithConstantConstraint.Builder | builderForValue | ) |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Definition at line 2183 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setName | ( | java.lang.String | value | ) |
The name of the constraint.
optional string name = 1 [default = ""];
value | The name to set. |
Definition at line 1138 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setNameBytes | ( | com.google.protobuf.ByteString | value | ) |
The name of the constraint.
optional string name = 1 [default = ""];
value | The bytes for name to set. |
Definition at line 1169 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setOrConstraint | ( | com.google.ortools.linearsolver.MPArrayConstraint | value | ) |
All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
.operations_research.MPArrayConstraint or_constraint = 7;
Definition at line 1979 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setOrConstraint | ( | com.google.ortools.linearsolver.MPArrayConstraint.Builder | builderForValue | ) |
All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
.operations_research.MPArrayConstraint or_constraint = 7;
Definition at line 2000 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setQuadraticConstraint | ( | com.google.ortools.linearsolver.MPQuadraticConstraint | value | ) |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Definition at line 1493 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setQuadraticConstraint | ( | com.google.ortools.linearsolver.MPQuadraticConstraint.Builder | builderForValue | ) |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Definition at line 1509 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setSosConstraint | ( | com.google.ortools.linearsolver.MPSosConstraint | value | ) |
.operations_research.MPSosConstraint sos_constraint = 3;
Definition at line 1351 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.setSosConstraint | ( | com.google.ortools.linearsolver.MPSosConstraint.Builder | builderForValue | ) |
.operations_research.MPSosConstraint sos_constraint = 3;
Definition at line 1367 of file MPGeneralConstraintProto.java.