Java Reference
Java Reference
MPAbsConstraintOrBuilder
Detailed Description
Definition at line 6 of file MPAbsConstraintOrBuilder.java.
Public Member Functions | |
| boolean | hasVarIndex () |
| int | getVarIndex () |
| boolean | hasResultantVarIndex () |
optional int32 resultant_var_index = 2; More... | |
| int | getResultantVarIndex () |
optional int32 resultant_var_index = 2; More... | |
Member Function Documentation
◆ getResultantVarIndex()
| int getResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
- Returns
- The resultantVarIndex.
Implemented in MPAbsConstraint.Builder, and MPAbsConstraint.
◆ getVarIndex()
| int getVarIndex | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto. resultant_var = abs(var)
optional int32 var_index = 1;
- Returns
- The varIndex.
Implemented in MPAbsConstraint.Builder, and MPAbsConstraint.
◆ hasResultantVarIndex()
| boolean hasResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
- Returns
- Whether the resultantVarIndex field is set.
Implemented in MPAbsConstraint.Builder, and MPAbsConstraint.
◆ hasVarIndex()
| boolean hasVarIndex | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto. resultant_var = abs(var)
optional int32 var_index = 1;
- Returns
- Whether the varIndex field is set.
Implemented in MPAbsConstraint.Builder, and MPAbsConstraint.
The documentation for this interface was generated from the following file: