Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
boolean | hasVarIndex () |
int | getVarIndex () |
boolean | hasResultantVarIndex () |
int | getResultantVarIndex () |
Definition at line 7 of file MPAbsConstraintOrBuilder.java.
int com.google.ortools.linearsolver.MPAbsConstraintOrBuilder.getResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Implemented in com.google.ortools.linearsolver.MPAbsConstraint.Builder, and com.google.ortools.linearsolver.MPAbsConstraint.
int com.google.ortools.linearsolver.MPAbsConstraintOrBuilder.getVarIndex | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto. resultant_var = abs(var)
optional int32 var_index = 1;
Implemented in com.google.ortools.linearsolver.MPAbsConstraint.Builder, and com.google.ortools.linearsolver.MPAbsConstraint.
boolean com.google.ortools.linearsolver.MPAbsConstraintOrBuilder.hasResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Implemented in com.google.ortools.linearsolver.MPAbsConstraint.Builder, and com.google.ortools.linearsolver.MPAbsConstraint.
boolean com.google.ortools.linearsolver.MPAbsConstraintOrBuilder.hasVarIndex | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto. resultant_var = abs(var)
optional int32 var_index = 1;
Implemented in com.google.ortools.linearsolver.MPAbsConstraint.Builder, and com.google.ortools.linearsolver.MPAbsConstraint.