![]() |
Google OR-Tools v9.12
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
java.util.List< java.lang.Integer > | getVarIndexList () |
int | getVarIndexCount () |
int | getVarIndex (int index) |
boolean | hasResultantVarIndex () |
int | getResultantVarIndex () |
final boolean | isInitialized () |
void | writeTo (com.google.protobuf.CodedOutputStream output) throws java.io.IOException |
int | getSerializedSize () |
boolean | equals (final java.lang.Object obj) |
int | hashCode () |
Builder | newBuilderForType () |
Builder | toBuilder () |
com.google.protobuf.Parser< MPArrayConstraint > | getParserForType () |
com.google.ortools.linearsolver.MPArrayConstraint | getDefaultInstanceForType () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.linearsolver.MPArrayConstraint | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPArrayConstraint | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPArrayConstraint | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPArrayConstraint | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPArrayConstraint | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPArrayConstraint | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPArrayConstraint | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPArrayConstraint | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.MPArrayConstraint | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPArrayConstraint | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.MPArrayConstraint | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPArrayConstraint | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.linearsolver.MPArrayConstraint prototype) |
static com.google.ortools.linearsolver.MPArrayConstraint | getDefaultInstance () |
static com.google.protobuf.Parser< MPArrayConstraint > | parser () |
Static Public Attributes | |
static final int | VAR_INDEX_FIELD_NUMBER = 1 |
static final int | RESULTANT_VAR_INDEX_FIELD_NUMBER = 2 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
Sets a variable's value equal to a function on a set of variables.
Protobuf type operations_research.MPArrayConstraint
Definition at line 15 of file MPArrayConstraint.java.
boolean com.google.ortools.linearsolver.MPArrayConstraint.equals | ( | final java.lang.Object | obj | ) |
Definition at line 159 of file MPArrayConstraint.java.
|
static |
Definition at line 627 of file MPArrayConstraint.java.
com.google.ortools.linearsolver.MPArrayConstraint com.google.ortools.linearsolver.MPArrayConstraint.getDefaultInstanceForType | ( | ) |
Definition at line 663 of file MPArrayConstraint.java.
|
static |
Definition at line 38 of file MPArrayConstraint.java.
com.google.protobuf.Parser< MPArrayConstraint > com.google.ortools.linearsolver.MPArrayConstraint.getParserForType | ( | ) |
Definition at line 658 of file MPArrayConstraint.java.
int com.google.ortools.linearsolver.MPArrayConstraint.getResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Implements com.google.ortools.linearsolver.MPArrayConstraintOrBuilder.
Definition at line 107 of file MPArrayConstraint.java.
int com.google.ortools.linearsolver.MPArrayConstraint.getSerializedSize | ( | ) |
Definition at line 135 of file MPArrayConstraint.java.
int com.google.ortools.linearsolver.MPArrayConstraint.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 88 of file MPArrayConstraint.java.
int com.google.ortools.linearsolver.MPArrayConstraint.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 76 of file MPArrayConstraint.java.
java.util.List< java.lang.Integer > com.google.ortools.linearsolver.MPArrayConstraint.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 65 of file MPArrayConstraint.java.
int com.google.ortools.linearsolver.MPArrayConstraint.hashCode | ( | ) |
Definition at line 180 of file MPArrayConstraint.java.
boolean com.google.ortools.linearsolver.MPArrayConstraint.hasResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 2;
Implements com.google.ortools.linearsolver.MPArrayConstraintOrBuilder.
Definition at line 99 of file MPArrayConstraint.java.
|
protected |
Definition at line 44 of file MPArrayConstraint.java.
final boolean com.google.ortools.linearsolver.MPArrayConstraint.isInitialized | ( | ) |
Definition at line 113 of file MPArrayConstraint.java.
|
static |
Definition at line 273 of file MPArrayConstraint.java.
|
static |
Definition at line 276 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.newBuilderForType | ( | ) |
Definition at line 272 of file MPArrayConstraint.java.
|
protected |
Definition at line 286 of file MPArrayConstraint.java.
|
static |
Definition at line 244 of file MPArrayConstraint.java.
|
static |
Definition at line 250 of file MPArrayConstraint.java.
|
static |
Definition at line 221 of file MPArrayConstraint.java.
|
static |
Definition at line 225 of file MPArrayConstraint.java.
|
static |
Definition at line 210 of file MPArrayConstraint.java.
|
static |
Definition at line 215 of file MPArrayConstraint.java.
|
static |
Definition at line 257 of file MPArrayConstraint.java.
|
static |
Definition at line 263 of file MPArrayConstraint.java.
|
static |
Definition at line 231 of file MPArrayConstraint.java.
|
static |
Definition at line 236 of file MPArrayConstraint.java.
|
static |
Definition at line 199 of file MPArrayConstraint.java.
|
static |
Definition at line 204 of file MPArrayConstraint.java.
|
static |
Definition at line 653 of file MPArrayConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayConstraint.toBuilder | ( | ) |
Definition at line 280 of file MPArrayConstraint.java.
void com.google.ortools.linearsolver.MPArrayConstraint.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 123 of file MPArrayConstraint.java.
|
static |
Definition at line 92 of file MPArrayConstraint.java.
|
static |
Definition at line 51 of file MPArrayConstraint.java.