Java Reference
Java Reference
Detailed Description
General constraints. See each individual proto type for more information.
Protobuf type
Definition at line 918 of file MPGeneralConstraintProto.java.
Static Public Member Functions | |
| static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
| .lang.Override com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable () |
Member Function Documentation
◆ addRepeatedField()
|
inline |
Definition at line 1078 of file MPGeneralConstraintProto.java.
◆ build()
|
inline |
Definition at line 972 of file MPGeneralConstraintProto.java.
◆ buildPartial()
|
inline |
Definition at line 981 of file MPGeneralConstraintProto.java.
◆ clear()
|
inline |
Definition at line 951 of file MPGeneralConstraintProto.java.
◆ clearAbsConstraint()
|
inline |
.operations_research.MPAbsConstraint abs_constraint = 5;
Definition at line 1796 of file MPGeneralConstraintProto.java.
◆ clearAndConstraint()
|
inline |
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 1967 of file MPGeneralConstraintProto.java.
◆ clearField()
|
inline |
Definition at line 1062 of file MPGeneralConstraintProto.java.
◆ clearGeneralConstraint()
|
inline |
Definition at line 1173 of file MPGeneralConstraintProto.java.
◆ clearIndicatorConstraint()
|
inline |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Definition at line 1373 of file MPGeneralConstraintProto.java.
◆ clearMaxConstraint()
|
inline |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Definition at line 2510 of file MPGeneralConstraintProto.java.
◆ clearMinConstraint()
|
inline |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Definition at line 2333 of file MPGeneralConstraintProto.java.
◆ clearName()
|
inline |
The name of the constraint.
optional string name = 1 [default = ""];
- Returns
- This builder for chaining.
Definition at line 1264 of file MPGeneralConstraintProto.java.
◆ clearOneof()
|
inline |
Definition at line 1067 of file MPGeneralConstraintProto.java.
◆ clearOrConstraint()
|
inline |
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 2153 of file MPGeneralConstraintProto.java.
◆ clearQuadraticConstraint()
|
inline |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Definition at line 1655 of file MPGeneralConstraintProto.java.
◆ clearSosConstraint()
|
inline |
.operations_research.MPSosConstraint sos_constraint = 3;
Definition at line 1514 of file MPGeneralConstraintProto.java.
◆ clone()
|
inline |
Definition at line 1052 of file MPGeneralConstraintProto.java.
◆ getAbsConstraint()
|
inline |
.operations_research.MPAbsConstraint abs_constraint = 5;
- Returns
- The absConstraint.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1728 of file MPGeneralConstraintProto.java.
◆ getAbsConstraintBuilder()
|
inline |
.operations_research.MPAbsConstraint abs_constraint = 5;
Definition at line 1815 of file MPGeneralConstraintProto.java.
◆ getAbsConstraintOrBuilder()
|
inline |
.operations_research.MPAbsConstraint abs_constraint = 5;
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1822 of file MPGeneralConstraintProto.java.
◆ getAndConstraint()
|
inline |
All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
.operations_research.MPArrayConstraint and_constraint = 6;
- Returns
- The andConstraint.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1879 of file MPGeneralConstraintProto.java.
◆ getAndConstraintBuilder()
|
inline |
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 1991 of file MPGeneralConstraintProto.java.
◆ getAndConstraintOrBuilder()
|
inline |
All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
.operations_research.MPArrayConstraint and_constraint = 6;
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 2003 of file MPGeneralConstraintProto.java.
◆ getDefaultInstanceForType()
|
inline |
Definition at line 967 of file MPGeneralConstraintProto.java.
◆ getDescriptor()
|
inlinestatic |
Definition at line 923 of file MPGeneralConstraintProto.java.
◆ getDescriptorForType()
|
inline |
Definition at line 962 of file MPGeneralConstraintProto.java.
◆ getGeneralConstraintCase()
|
inline |
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1168 of file MPGeneralConstraintProto.java.
◆ getIndicatorConstraint()
|
inline |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
- Returns
- The indicatorConstraint.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1305 of file MPGeneralConstraintProto.java.
◆ getIndicatorConstraintBuilder()
|
inline |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Definition at line 1392 of file MPGeneralConstraintProto.java.
◆ getIndicatorConstraintOrBuilder()
|
inline |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1399 of file MPGeneralConstraintProto.java.
◆ getMaxConstraint()
|
inline |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
- Returns
- The maxConstraint.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 2426 of file MPGeneralConstraintProto.java.
◆ getMaxConstraintBuilder()
|
inline |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Definition at line 2533 of file MPGeneralConstraintProto.java.
◆ getMaxConstraintOrBuilder()
|
inline |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 2544 of file MPGeneralConstraintProto.java.
◆ getMinConstraint()
|
inline |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
- Returns
- The minConstraint.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 2249 of file MPGeneralConstraintProto.java.
◆ getMinConstraintBuilder()
|
inline |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Definition at line 2356 of file MPGeneralConstraintProto.java.
◆ getMinConstraintOrBuilder()
|
inline |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 2367 of file MPGeneralConstraintProto.java.
◆ getName()
|
inline |
The name of the constraint.
optional string name = 1 [default = ""];
- Returns
- The name.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1202 of file MPGeneralConstraintProto.java.
◆ getNameBytes()
|
inline |
The name of the constraint.
optional string name = 1 [default = ""];
- Returns
- The bytes for name.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1225 of file MPGeneralConstraintProto.java.
◆ getOrConstraint()
|
inline |
All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
.operations_research.MPArrayConstraint or_constraint = 7;
- Returns
- The orConstraint.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 2065 of file MPGeneralConstraintProto.java.
◆ getOrConstraintBuilder()
|
inline |
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 2177 of file MPGeneralConstraintProto.java.
◆ getOrConstraintOrBuilder()
|
inline |
All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
.operations_research.MPArrayConstraint or_constraint = 7;
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 2189 of file MPGeneralConstraintProto.java.
◆ getQuadraticConstraint()
|
inline |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
- Returns
- The quadraticConstraint.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1587 of file MPGeneralConstraintProto.java.
◆ getQuadraticConstraintBuilder()
|
inline |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Definition at line 1674 of file MPGeneralConstraintProto.java.
◆ getQuadraticConstraintOrBuilder()
|
inline |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1681 of file MPGeneralConstraintProto.java.
◆ getSosConstraint()
|
inline |
.operations_research.MPSosConstraint sos_constraint = 3;
- Returns
- The sosConstraint.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1446 of file MPGeneralConstraintProto.java.
◆ getSosConstraintBuilder()
|
inline |
.operations_research.MPSosConstraint sos_constraint = 3;
Definition at line 1533 of file MPGeneralConstraintProto.java.
◆ getSosConstraintOrBuilder()
|
inline |
.operations_research.MPSosConstraint sos_constraint = 3;
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1540 of file MPGeneralConstraintProto.java.
◆ hasAbsConstraint()
|
inline |
.operations_research.MPAbsConstraint abs_constraint = 5;
- Returns
- Whether the absConstraint field is set.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1720 of file MPGeneralConstraintProto.java.
◆ hasAndConstraint()
|
inline |
All variables in "and" constraints must be Boolean. resultant_var = and(var_1, var_2... var_n)
.operations_research.MPArrayConstraint and_constraint = 6;
- Returns
- Whether the andConstraint field is set.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1866 of file MPGeneralConstraintProto.java.
◆ hasIndicatorConstraint()
|
inline |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
- Returns
- Whether the indicatorConstraint field is set.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1297 of file MPGeneralConstraintProto.java.
◆ hasMaxConstraint()
|
inline |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
- Returns
- Whether the maxConstraint field is set.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 2414 of file MPGeneralConstraintProto.java.
◆ hasMinConstraint()
|
inline |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
- Returns
- Whether the minConstraint field is set.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 2237 of file MPGeneralConstraintProto.java.
◆ hasName()
|
inline |
The name of the constraint.
optional string name = 1 [default = ""];
- Returns
- Whether the name field is set.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1191 of file MPGeneralConstraintProto.java.
◆ hasOrConstraint()
|
inline |
All variables in "or" constraints must be Boolean. resultant_var = or(var_1, var_2... var_n)
.operations_research.MPArrayConstraint or_constraint = 7;
- Returns
- Whether the orConstraint field is set.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 2052 of file MPGeneralConstraintProto.java.
◆ hasQuadraticConstraint()
|
inline |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
- Returns
- Whether the quadraticConstraint field is set.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1579 of file MPGeneralConstraintProto.java.
◆ hasSosConstraint()
|
inline |
.operations_research.MPSosConstraint sos_constraint = 3;
- Returns
- Whether the sosConstraint field is set.
Implements MPGeneralConstraintProtoOrBuilder.
Definition at line 1438 of file MPGeneralConstraintProto.java.
◆ internalGetFieldAccessorTable()
|
inlineprotected |
Definition at line 929 of file MPGeneralConstraintProto.java.
◆ isInitialized()
|
inline |
Definition at line 1143 of file MPGeneralConstraintProto.java.
◆ mergeAbsConstraint()
|
inline |
.operations_research.MPAbsConstraint abs_constraint = 5;
Definition at line 1774 of file MPGeneralConstraintProto.java.
◆ mergeAndConstraint()
|
inline |
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 1940 of file MPGeneralConstraintProto.java.
◆ mergeFrom() [1/3]
|
inline |
Definition at line 1093 of file MPGeneralConstraintProto.java.
◆ mergeFrom() [2/3]
|
inline |
Definition at line 1148 of file MPGeneralConstraintProto.java.
◆ mergeFrom() [3/3]
|
inline |
Definition at line 1084 of file MPGeneralConstraintProto.java.
◆ mergeIndicatorConstraint()
|
inline |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Definition at line 1351 of file MPGeneralConstraintProto.java.
◆ mergeMaxConstraint()
|
inline |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Definition at line 2484 of file MPGeneralConstraintProto.java.
◆ mergeMinConstraint()
|
inline |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Definition at line 2307 of file MPGeneralConstraintProto.java.
◆ mergeOrConstraint()
|
inline |
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 2126 of file MPGeneralConstraintProto.java.
◆ mergeQuadraticConstraint()
|
inline |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Definition at line 1633 of file MPGeneralConstraintProto.java.
◆ mergeSosConstraint()
|
inline |
.operations_research.MPSosConstraint sos_constraint = 3;
Definition at line 1492 of file MPGeneralConstraintProto.java.
◆ mergeUnknownFields()
|
inline |
Definition at line 2586 of file MPGeneralConstraintProto.java.
◆ setAbsConstraint() [1/2]
|
inline |
.operations_research.MPAbsConstraint abs_constraint = 5;
Definition at line 1744 of file MPGeneralConstraintProto.java.
◆ setAbsConstraint() [2/2]
|
inline |
.operations_research.MPAbsConstraint abs_constraint = 5;
Definition at line 1760 of file MPGeneralConstraintProto.java.
◆ setAndConstraint() [1/2]
|
inline |
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 1900 of file MPGeneralConstraintProto.java.
◆ setAndConstraint() [2/2]
|
inline |
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 1921 of file MPGeneralConstraintProto.java.
◆ setField()
|
inline |
Definition at line 1056 of file MPGeneralConstraintProto.java.
◆ setIndicatorConstraint() [1/2]
|
inline |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Definition at line 1321 of file MPGeneralConstraintProto.java.
◆ setIndicatorConstraint() [2/2]
|
inline |
.operations_research.MPIndicatorConstraint indicator_constraint = 2;
Definition at line 1337 of file MPGeneralConstraintProto.java.
◆ setMaxConstraint() [1/2]
|
inline |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Definition at line 2446 of file MPGeneralConstraintProto.java.
◆ setMaxConstraint() [2/2]
|
inline |
resultant_var = max(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint max_constraint = 9;
Definition at line 2466 of file MPGeneralConstraintProto.java.
◆ setMinConstraint() [1/2]
|
inline |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Definition at line 2269 of file MPGeneralConstraintProto.java.
◆ setMinConstraint() [2/2]
|
inline |
resultant_var = min(var_1, var_2, ..., constant)
.operations_research.MPArrayWithConstantConstraint min_constraint = 8;
Definition at line 2289 of file MPGeneralConstraintProto.java.
◆ setName()
|
inline |
The name of the constraint.
optional string name = 1 [default = ""];
- Parameters
-
value The name to set.
- Returns
- This builder for chaining.
Definition at line 1246 of file MPGeneralConstraintProto.java.
◆ setNameBytes()
|
inline |
The name of the constraint.
optional string name = 1 [default = ""];
- Parameters
-
value The bytes for name to set.
- Returns
- This builder for chaining.
Definition at line 1279 of file MPGeneralConstraintProto.java.
◆ setOrConstraint() [1/2]
|
inline |
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 2086 of file MPGeneralConstraintProto.java.
◆ setOrConstraint() [2/2]
|
inline |
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 2107 of file MPGeneralConstraintProto.java.
◆ setQuadraticConstraint() [1/2]
|
inline |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Definition at line 1603 of file MPGeneralConstraintProto.java.
◆ setQuadraticConstraint() [2/2]
|
inline |
.operations_research.MPQuadraticConstraint quadratic_constraint = 4;
Definition at line 1619 of file MPGeneralConstraintProto.java.
◆ setRepeatedField()
|
inline |
Definition at line 1072 of file MPGeneralConstraintProto.java.
◆ setSosConstraint() [1/2]
|
inline |
.operations_research.MPSosConstraint sos_constraint = 3;
Definition at line 1462 of file MPGeneralConstraintProto.java.
◆ setSosConstraint() [2/2]
|
inline |
.operations_research.MPSosConstraint sos_constraint = 3;
Definition at line 1478 of file MPGeneralConstraintProto.java.
◆ setUnknownFields()
|
inline |
Definition at line 2580 of file MPGeneralConstraintProto.java.
The documentation for this class was generated from the following file: