Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
java.util.List< java.lang.Integer > | getVarIndexList () |
int | getVarIndexCount () |
int | getVarIndex (int index) |
boolean | hasResultantVarIndex () |
int | getResultantVarIndex () |
Definition at line 7 of file MPArrayConstraintOrBuilder.java.
int com.google.ortools.linearsolver.MPArrayConstraintOrBuilder.getResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Implemented in com.google.ortools.linearsolver.MPArrayConstraint.Builder, and com.google.ortools.linearsolver.MPArrayConstraint.
int com.google.ortools.linearsolver.MPArrayConstraintOrBuilder.getVarIndex | ( | int | index | ) |
Variable indices are relative to the "variable" field in MPModelProto.
repeated int32 var_index = 1;
index | The index of the element to return. |
Implemented in com.google.ortools.linearsolver.MPArrayConstraint.Builder, and com.google.ortools.linearsolver.MPArrayConstraint.
int com.google.ortools.linearsolver.MPArrayConstraintOrBuilder.getVarIndexCount | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto.
repeated int32 var_index = 1;
Implemented in com.google.ortools.linearsolver.MPArrayConstraint.Builder, and com.google.ortools.linearsolver.MPArrayConstraint.
java.util.List< java.lang.Integer > com.google.ortools.linearsolver.MPArrayConstraintOrBuilder.getVarIndexList | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto.
repeated int32 var_index = 1;
Implemented in com.google.ortools.linearsolver.MPArrayConstraint.Builder, and com.google.ortools.linearsolver.MPArrayConstraint.
boolean com.google.ortools.linearsolver.MPArrayConstraintOrBuilder.hasResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Implemented in com.google.ortools.linearsolver.MPArrayConstraint.Builder, and com.google.ortools.linearsolver.MPArrayConstraint.