Google OR-Tools v9.9
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 | hasConstant () |
double | getConstant () |
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< MPArrayWithConstantConstraint > | getParserForType () |
com.google.ortools.linearsolver.MPArrayWithConstantConstraint | getDefaultInstanceForType () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | 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.MPArrayWithConstantConstraint prototype) |
static com.google.ortools.linearsolver.MPArrayWithConstantConstraint | getDefaultInstance () |
static com.google.protobuf.Parser< MPArrayWithConstantConstraint > | parser () |
Static Public Attributes | |
static final int | VAR_INDEX_FIELD_NUMBER = 1 |
static final int | CONSTANT_FIELD_NUMBER = 2 |
static final int | RESULTANT_VAR_INDEX_FIELD_NUMBER = 3 |
static final com.google.protobuf.Parser< MPArrayWithConstantConstraint > | PARSER |
Protected Member Functions | |
java.lang.Object | newInstance (UnusedPrivateParameter unused) |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Sets a variable's value equal to a function on a set of variables and, optionally, a constant.
Protobuf type operations_research.MPArrayWithConstantConstraint
Definition at line 15 of file MPArrayWithConstantConstraint.java.
boolean com.google.ortools.linearsolver.MPArrayWithConstantConstraint.equals | ( | final java.lang.Object | obj | ) |
Definition at line 186 of file MPArrayWithConstantConstraint.java.
double com.google.ortools.linearsolver.MPArrayWithConstantConstraint.getConstant | ( | ) |
optional double constant = 2;
Implements com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder.
Definition at line 108 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 770 of file MPArrayWithConstantConstraint.java.
com.google.ortools.linearsolver.MPArrayWithConstantConstraint com.google.ortools.linearsolver.MPArrayWithConstantConstraint.getDefaultInstanceForType | ( | ) |
Definition at line 806 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 36 of file MPArrayWithConstantConstraint.java.
com.google.protobuf.Parser< MPArrayWithConstantConstraint > com.google.ortools.linearsolver.MPArrayWithConstantConstraint.getParserForType | ( | ) |
Definition at line 801 of file MPArrayWithConstantConstraint.java.
int com.google.ortools.linearsolver.MPArrayWithConstantConstraint.getResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 3;
Implements com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder.
Definition at line 127 of file MPArrayWithConstantConstraint.java.
int com.google.ortools.linearsolver.MPArrayWithConstantConstraint.getSerializedSize | ( | ) |
Definition at line 158 of file MPArrayWithConstantConstraint.java.
int com.google.ortools.linearsolver.MPArrayWithConstantConstraint.getVarIndex | ( | int | index | ) |
Variable indices are relative to the "variable" field in MPModelProto. resultant_var = f(var_1, var_2, ..., constant)
repeated int32 var_index = 1;
index | The index of the element to return. |
Implements com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder.
Definition at line 89 of file MPArrayWithConstantConstraint.java.
int com.google.ortools.linearsolver.MPArrayWithConstantConstraint.getVarIndexCount | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto. resultant_var = f(var_1, var_2, ..., constant)
repeated int32 var_index = 1;
Implements com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder.
Definition at line 76 of file MPArrayWithConstantConstraint.java.
java.util.List< java.lang.Integer > com.google.ortools.linearsolver.MPArrayWithConstantConstraint.getVarIndexList | ( | ) |
Variable indices are relative to the "variable" field in MPModelProto. resultant_var = f(var_1, var_2, ..., constant)
repeated int32 var_index = 1;
Implements com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder.
Definition at line 64 of file MPArrayWithConstantConstraint.java.
boolean com.google.ortools.linearsolver.MPArrayWithConstantConstraint.hasConstant | ( | ) |
optional double constant = 2;
Implements com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder.
Definition at line 100 of file MPArrayWithConstantConstraint.java.
int com.google.ortools.linearsolver.MPArrayWithConstantConstraint.hashCode | ( | ) |
Definition at line 213 of file MPArrayWithConstantConstraint.java.
boolean com.google.ortools.linearsolver.MPArrayWithConstantConstraint.hasResultantVarIndex | ( | ) |
optional int32 resultant_var_index = 3;
Implements com.google.ortools.linearsolver.MPArrayWithConstantConstraintOrBuilder.
Definition at line 119 of file MPArrayWithConstantConstraint.java.
|
protected |
Definition at line 42 of file MPArrayWithConstantConstraint.java.
final boolean com.google.ortools.linearsolver.MPArrayWithConstantConstraint.isInitialized | ( | ) |
Definition at line 133 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 311 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 314 of file MPArrayWithConstantConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayWithConstantConstraint.newBuilderForType | ( | ) |
Definition at line 310 of file MPArrayWithConstantConstraint.java.
|
protected |
Definition at line 324 of file MPArrayWithConstantConstraint.java.
|
protected |
Definition at line 30 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 282 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 288 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 259 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 263 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 248 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 253 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 295 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 301 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 269 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 274 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 237 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 242 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 796 of file MPArrayWithConstantConstraint.java.
Builder com.google.ortools.linearsolver.MPArrayWithConstantConstraint.toBuilder | ( | ) |
Definition at line 318 of file MPArrayWithConstantConstraint.java.
void com.google.ortools.linearsolver.MPArrayWithConstantConstraint.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 143 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 93 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 775 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 112 of file MPArrayWithConstantConstraint.java.
|
static |
Definition at line 49 of file MPArrayWithConstantConstraint.java.