Google OR-Tools v9.11
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 () |
Sets a variable's value equal to a function on a set of variables.
Protobuf type operations_research.MPArrayConstraint
Definition at line 297 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.addAllVarIndex | ( | java.lang.Iterable<? extends java.lang.Integer > | values | ) |
Variable indices are relative to the "variable" field in MPModelProto.
repeated int32 var_index = 1;
values | The varIndex to add. |
Definition at line 553 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.addVarIndex | ( | int | value | ) |
Variable indices are relative to the "variable" field in MPModelProto.
repeated int32 var_index = 1;
value | The varIndex to add. |
Definition at line 536 of file MPArrayConstraint.java.
com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPArrayConstraint.Builder.build | ( | ) |
Definition at line 345 of file MPArrayConstraint.java.
com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPArrayConstraint.Builder.buildPartial | ( | ) |
Definition at line 354 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.clear | ( | ) |
Definition at line 325 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.clearResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Definition at line 610 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.clearVarIndex | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto.
repeated int32 var_index = 1;
Definition at line 570 of file MPArrayConstraint.java.
com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPArrayConstraint.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 340 of file MPArrayConstraint.java.
|
static |
Definition at line 302 of file MPArrayConstraint.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.linearsolver.MPArrayConstraint.Builder.getDescriptorForType | ( | ) |
Definition at line 335 of file MPArrayConstraint.java.
int com.google.ortools.linearsolver.MPArrayConstraint.Builder.getResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Implements com.google.ortools.linearsolver.MPArrayConstraintOrBuilder.
Definition at line 591 of file MPArrayConstraint.java.
int com.google.ortools.linearsolver.MPArrayConstraint.Builder.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. |
Implements com.google.ortools.linearsolver.MPArrayConstraintOrBuilder.
Definition at line 505 of file MPArrayConstraint.java.
int com.google.ortools.linearsolver.MPArrayConstraint.Builder.getVarIndexCount | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto.
repeated int32 var_index = 1;
Implements com.google.ortools.linearsolver.MPArrayConstraintOrBuilder.
Definition at line 493 of file MPArrayConstraint.java.
java.util.List< java.lang.Integer > com.google.ortools.linearsolver.MPArrayConstraint.Builder.getVarIndexList | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto.
repeated int32 var_index = 1;
Implements com.google.ortools.linearsolver.MPArrayConstraintOrBuilder.
Definition at line 481 of file MPArrayConstraint.java.
boolean com.google.ortools.linearsolver.MPArrayConstraint.Builder.hasResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Implements com.google.ortools.linearsolver.MPArrayConstraintOrBuilder.
Definition at line 583 of file MPArrayConstraint.java.
|
protected |
Definition at line 308 of file MPArrayConstraint.java.
final boolean com.google.ortools.linearsolver.MPArrayConstraint.Builder.isInitialized | ( | ) |
Definition at line 407 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.mergeFrom | ( | com.google.ortools.linearsolver.MPArrayConstraint | other | ) |
Definition at line 385 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 412 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 376 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.setResultantVarIndex | ( | int | value | ) |
optional int32 resultant_var_index = 2;
value | The resultantVarIndex to set. |
Definition at line 599 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.setVarIndex | ( | int | index, |
int | value ) |
Variable indices are relative to the "variable" field in MPModelProto.
repeated int32 var_index = 1;
index | The index to set the value at. |
value | The varIndex to set. |
Definition at line 518 of file MPArrayConstraint.java.