![]() |
Google OR-Tools v9.12
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 765 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.build | ( | ) |
Definition at line 838 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.buildPartial | ( | ) |
Definition at line 847 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clear | ( | ) |
Definition at line 793 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearAbsConstraint | ( | ) |
.operations_research.MPAbsConstraint abs_constraint = 5;
Definition at line 1689 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 1861 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearGeneralConstraint | ( | ) |
Definition at line 1066 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearIndicatorConstraint | ( | ) |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Definition at line 1263 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 2407 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 2229 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 1155 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 2048 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearQuadraticConstraint | ( | ) |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Definition at line 1547 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.clearSosConstraint | ( | ) |
.operations_research.MPSosConstraint sos_constraint = 3;
Definition at line 1405 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 1620 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 1708 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 1715 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 1772 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 1885 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 1897 of file MPGeneralConstraintProto.java.
com.google.ortools.linearsolver.MPGeneralConstraintProto com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 833 of file MPGeneralConstraintProto.java.
|
static |
Definition at line 770 of file MPGeneralConstraintProto.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getDescriptorForType | ( | ) |
Definition at line 828 of file MPGeneralConstraintProto.java.
GeneralConstraintCase com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.getGeneralConstraintCase | ( | ) |
Implements com.google.ortools.linearsolver.MPGeneralConstraintProtoOrBuilder.
Definition at line 1061 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 1194 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 1282 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 1289 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 2322 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 2430 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 2441 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 2144 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 2252 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 2263 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 1095 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 1118 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 1959 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 2072 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 2084 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 1478 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 1566 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 1573 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 1336 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 1424 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 1431 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 1612 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 1759 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 1186 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 2310 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 2132 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 1084 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 1946 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 1470 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 1328 of file MPGeneralConstraintProto.java.
|
protected |
Definition at line 776 of file MPGeneralConstraintProto.java.
final boolean com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.isInitialized | ( | ) |
Definition at line 962 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 1666 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 1833 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeFrom | ( | com.google.ortools.linearsolver.MPGeneralConstraintProto | other | ) |
Definition at line 912 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 967 of file MPGeneralConstraintProto.java.
Builder com.google.ortools.linearsolver.MPGeneralConstraintProto.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 903 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 1240 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 2380 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 2202 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 2020 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 1524 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 1382 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 1636 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 1652 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 1793 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 1814 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 1210 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 1226 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 2342 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 2362 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 2164 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 2184 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 1139 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 1170 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 1980 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 2001 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 1494 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 1510 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 1352 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 1368 of file MPGeneralConstraintProto.java.