Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
Builder | clear () |
com.google.protobuf.Descriptors.Descriptor | getDescriptorForType () |
com.google.ortools.linearsolver.MPArrayConstraint | getDefaultInstanceForType () |
com.google.ortools.linearsolver.MPArrayConstraint | build () |
com.google.ortools.linearsolver.MPArrayConstraint | buildPartial () |
Builder | clone () |
Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) |
Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor field) |
Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) |
Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) |
Builder | mergeFrom (com.google.protobuf.Message other) |
Builder | mergeFrom (com.google.ortools.linearsolver.MPArrayConstraint other) |
final boolean | isInitialized () |
Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
java.util.List< java.lang.Integer > | getVarIndexList () |
int | getVarIndexCount () |
int | getVarIndex (int index) |
Builder | setVarIndex (int index, int value) |
Builder | addVarIndex (int value) |
Builder | addAllVarIndex (java.lang.Iterable<? extends java.lang.Integer > values) |
Builder | clearVarIndex () |
boolean | hasResultantVarIndex () |
int | getResultantVarIndex () |
Builder | setResultantVarIndex (int value) |
Builder | clearResultantVarIndex () |
final Builder | setUnknownFields (final com.google.protobuf.UnknownFieldSet unknownFields) |
final Builder | mergeUnknownFields (final com.google.protobuf.UnknownFieldSet unknownFields) |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable () |
Sets a variable's value equal to a function on a set of variables.
Protobuf type operations_research.MPArrayConstraint
Definition at line 295 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 583 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.addRepeatedField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
java.lang.Object | value ) |
Definition at line 400 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 566 of file MPArrayConstraint.java.
com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPArrayConstraint.Builder.build | ( | ) |
Definition at line 343 of file MPArrayConstraint.java.
com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPArrayConstraint.Builder.buildPartial | ( | ) |
Definition at line 352 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.clear | ( | ) |
Definition at line 323 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.clearField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field | ) |
Definition at line 384 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.clearOneof | ( | com.google.protobuf.Descriptors.OneofDescriptor | oneof | ) |
Definition at line 389 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.clearResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Definition at line 640 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 600 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.clone | ( | ) |
Definition at line 374 of file MPArrayConstraint.java.
com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPArrayConstraint.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 338 of file MPArrayConstraint.java.
|
static |
Definition at line 300 of file MPArrayConstraint.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.linearsolver.MPArrayConstraint.Builder.getDescriptorForType | ( | ) |
Definition at line 333 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 621 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 535 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 523 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 511 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 613 of file MPArrayConstraint.java.
|
protected |
Definition at line 306 of file MPArrayConstraint.java.
final boolean com.google.ortools.linearsolver.MPArrayConstraint.Builder.isInitialized | ( | ) |
Definition at line 437 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.mergeFrom | ( | com.google.ortools.linearsolver.MPArrayConstraint | other | ) |
Definition at line 415 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 442 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 406 of file MPArrayConstraint.java.
final Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.mergeUnknownFields | ( | final com.google.protobuf.UnknownFieldSet | unknownFields | ) |
Definition at line 653 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.setField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
java.lang.Object | value ) |
Definition at line 378 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.setRepeatedField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
int | index, | ||
java.lang.Object | value ) |
Definition at line 394 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 629 of file MPArrayConstraint.java.
final Builder com.google.ortools.linearsolver.MPArrayConstraint.Builder.setUnknownFields | ( | final com.google.protobuf.UnknownFieldSet | unknownFields | ) |
Definition at line 647 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 548 of file MPArrayConstraint.java.