Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
java.util.List< java.lang.Integer > | getVarsList () |
int | getVarsCount () |
int | getVars (int index) |
java.util.List< java.lang.Long > | getCoeffsList () |
int | getCoeffsCount () |
long | getCoeffs (int index) |
long | getOffset () |
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< LinearExpressionProto > | getParserForType () |
com.google.ortools.sat.LinearExpressionProto | getDefaultInstanceForType () |
Public Member Functions inherited from com.google.ortools.sat.LinearExpressionProtoOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.sat.LinearExpressionProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.LinearExpressionProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.LinearExpressionProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.LinearExpressionProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.LinearExpressionProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.LinearExpressionProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.LinearExpressionProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.LinearExpressionProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.LinearExpressionProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.LinearExpressionProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.LinearExpressionProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.sat.LinearExpressionProto | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static Builder | newBuilder () |
static Builder | newBuilder (com.google.ortools.sat.LinearExpressionProto prototype) |
static com.google.ortools.sat.LinearExpressionProto | getDefaultInstance () |
static com.google.protobuf.Parser< LinearExpressionProto > | parser () |
Static Public Attributes | |
static final int | VARS_FIELD_NUMBER = 1 |
static final int | COEFFS_FIELD_NUMBER = 2 |
static final int | OFFSET_FIELD_NUMBER = 3 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
Some constraints supports linear expression instead of just using a reference to a variable. This is especially useful during presolve to reduce the model size.
Protobuf type operations_research.sat.LinearExpressionProto
Definition at line 16 of file LinearExpressionProto.java.
boolean com.google.ortools.sat.LinearExpressionProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 202 of file LinearExpressionProto.java.
long com.google.ortools.sat.LinearExpressionProto.getCoeffs | ( | int | index | ) |
repeated int64 coeffs = 2;
index | The index of the element to return. |
Implements com.google.ortools.sat.LinearExpressionProtoOrBuilder.
Definition at line 107 of file LinearExpressionProto.java.
int com.google.ortools.sat.LinearExpressionProto.getCoeffsCount | ( | ) |
repeated int64 coeffs = 2;
Implements com.google.ortools.sat.LinearExpressionProtoOrBuilder.
Definition at line 99 of file LinearExpressionProto.java.
java.util.List< java.lang.Long > com.google.ortools.sat.LinearExpressionProto.getCoeffsList | ( | ) |
repeated int64 coeffs = 2;
Implements com.google.ortools.sat.LinearExpressionProtoOrBuilder.
Definition at line 92 of file LinearExpressionProto.java.
|
static |
Definition at line 751 of file LinearExpressionProto.java.
com.google.ortools.sat.LinearExpressionProto com.google.ortools.sat.LinearExpressionProto.getDefaultInstanceForType | ( | ) |
Definition at line 787 of file LinearExpressionProto.java.
|
static |
Definition at line 40 of file LinearExpressionProto.java.
long com.google.ortools.sat.LinearExpressionProto.getOffset | ( | ) |
int64 offset = 3;
Implements com.google.ortools.sat.LinearExpressionProtoOrBuilder.
Definition at line 119 of file LinearExpressionProto.java.
com.google.protobuf.Parser< LinearExpressionProto > com.google.ortools.sat.LinearExpressionProto.getParserForType | ( | ) |
Definition at line 782 of file LinearExpressionProto.java.
int com.google.ortools.sat.LinearExpressionProto.getSerializedSize | ( | ) |
Definition at line 159 of file LinearExpressionProto.java.
int com.google.ortools.sat.LinearExpressionProto.getVars | ( | int | index | ) |
repeated int32 vars = 1;
index | The index of the element to return. |
Implements com.google.ortools.sat.LinearExpressionProtoOrBuilder.
Definition at line 77 of file LinearExpressionProto.java.
int com.google.ortools.sat.LinearExpressionProto.getVarsCount | ( | ) |
repeated int32 vars = 1;
Implements com.google.ortools.sat.LinearExpressionProtoOrBuilder.
Definition at line 69 of file LinearExpressionProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.LinearExpressionProto.getVarsList | ( | ) |
repeated int32 vars = 1;
Implements com.google.ortools.sat.LinearExpressionProtoOrBuilder.
Definition at line 62 of file LinearExpressionProto.java.
int com.google.ortools.sat.LinearExpressionProto.hashCode | ( | ) |
Definition at line 222 of file LinearExpressionProto.java.
|
protected |
Definition at line 46 of file LinearExpressionProto.java.
final boolean com.google.ortools.sat.LinearExpressionProto.isInitialized | ( | ) |
Definition at line 125 of file LinearExpressionProto.java.
|
static |
Definition at line 318 of file LinearExpressionProto.java.
|
static |
Definition at line 321 of file LinearExpressionProto.java.
Builder com.google.ortools.sat.LinearExpressionProto.newBuilderForType | ( | ) |
Definition at line 317 of file LinearExpressionProto.java.
|
protected |
Definition at line 331 of file LinearExpressionProto.java.
|
static |
Definition at line 289 of file LinearExpressionProto.java.
|
static |
Definition at line 295 of file LinearExpressionProto.java.
|
static |
Definition at line 266 of file LinearExpressionProto.java.
|
static |
Definition at line 270 of file LinearExpressionProto.java.
|
static |
Definition at line 255 of file LinearExpressionProto.java.
|
static |
Definition at line 260 of file LinearExpressionProto.java.
|
static |
Definition at line 302 of file LinearExpressionProto.java.
|
static |
Definition at line 308 of file LinearExpressionProto.java.
|
static |
Definition at line 276 of file LinearExpressionProto.java.
|
static |
Definition at line 281 of file LinearExpressionProto.java.
|
static |
Definition at line 244 of file LinearExpressionProto.java.
|
static |
Definition at line 249 of file LinearExpressionProto.java.
|
static |
Definition at line 777 of file LinearExpressionProto.java.
Builder com.google.ortools.sat.LinearExpressionProto.toBuilder | ( | ) |
Definition at line 325 of file LinearExpressionProto.java.
void com.google.ortools.sat.LinearExpressionProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 135 of file LinearExpressionProto.java.
|
static |
Definition at line 82 of file LinearExpressionProto.java.
|
static |
Definition at line 112 of file LinearExpressionProto.java.
|
static |
Definition at line 52 of file LinearExpressionProto.java.