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.Double > | getCoeffsList () |
int | getCoeffsCount () |
double | getCoeffs (int index) |
double | getOffset () |
boolean | getMaximize () |
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< FloatObjectiveProto > | getParserForType () |
com.google.ortools.sat.FloatObjectiveProto | getDefaultInstanceForType () |
Public Member Functions inherited from com.google.ortools.sat.FloatObjectiveProtoOrBuilder |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.sat.FloatObjectiveProto | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.FloatObjectiveProto | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.FloatObjectiveProto | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.FloatObjectiveProto | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.FloatObjectiveProto | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.FloatObjectiveProto | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.sat.FloatObjectiveProto | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.FloatObjectiveProto | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.FloatObjectiveProto | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.sat.FloatObjectiveProto | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.sat.FloatObjectiveProto | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.sat.FloatObjectiveProto | 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.FloatObjectiveProto prototype) |
static com.google.ortools.sat.FloatObjectiveProto | getDefaultInstance () |
static com.google.protobuf.Parser< FloatObjectiveProto > | 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 |
static final int | MAXIMIZE_FIELD_NUMBER = 4 |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessage.BuilderParent parent) |
A linear floating point objective: sum coeffs[i] * vars[i] + offset. Note that the variable can only still take integer value.
Protobuf type operations_research.sat.FloatObjectiveProto
Definition at line 15 of file FloatObjectiveProto.java.
boolean com.google.ortools.sat.FloatObjectiveProto.equals | ( | final java.lang.Object | obj | ) |
Definition at line 220 of file FloatObjectiveProto.java.
double com.google.ortools.sat.FloatObjectiveProto.getCoeffs | ( | int | index | ) |
repeated double coeffs = 2;
index | The index of the element to return. |
Implements com.google.ortools.sat.FloatObjectiveProtoOrBuilder.
Definition at line 106 of file FloatObjectiveProto.java.
int com.google.ortools.sat.FloatObjectiveProto.getCoeffsCount | ( | ) |
repeated double coeffs = 2;
Implements com.google.ortools.sat.FloatObjectiveProtoOrBuilder.
Definition at line 98 of file FloatObjectiveProto.java.
java.util.List< java.lang.Double > com.google.ortools.sat.FloatObjectiveProto.getCoeffsList | ( | ) |
repeated double coeffs = 2;
Implements com.google.ortools.sat.FloatObjectiveProtoOrBuilder.
Definition at line 91 of file FloatObjectiveProto.java.
|
static |
Definition at line 837 of file FloatObjectiveProto.java.
com.google.ortools.sat.FloatObjectiveProto com.google.ortools.sat.FloatObjectiveProto.getDefaultInstanceForType | ( | ) |
Definition at line 873 of file FloatObjectiveProto.java.
|
static |
Definition at line 39 of file FloatObjectiveProto.java.
boolean com.google.ortools.sat.FloatObjectiveProto.getMaximize | ( | ) |
The optimization direction. The default is to minimize
bool maximize = 4;
Implements com.google.ortools.sat.FloatObjectiveProtoOrBuilder.
Definition at line 133 of file FloatObjectiveProto.java.
double com.google.ortools.sat.FloatObjectiveProto.getOffset | ( | ) |
double offset = 3;
Implements com.google.ortools.sat.FloatObjectiveProtoOrBuilder.
Definition at line 118 of file FloatObjectiveProto.java.
com.google.protobuf.Parser< FloatObjectiveProto > com.google.ortools.sat.FloatObjectiveProto.getParserForType | ( | ) |
Definition at line 868 of file FloatObjectiveProto.java.
int com.google.ortools.sat.FloatObjectiveProto.getSerializedSize | ( | ) |
Definition at line 176 of file FloatObjectiveProto.java.
int com.google.ortools.sat.FloatObjectiveProto.getVars | ( | int | index | ) |
repeated int32 vars = 1;
index | The index of the element to return. |
Implements com.google.ortools.sat.FloatObjectiveProtoOrBuilder.
Definition at line 76 of file FloatObjectiveProto.java.
int com.google.ortools.sat.FloatObjectiveProto.getVarsCount | ( | ) |
repeated int32 vars = 1;
Implements com.google.ortools.sat.FloatObjectiveProtoOrBuilder.
Definition at line 68 of file FloatObjectiveProto.java.
java.util.List< java.lang.Integer > com.google.ortools.sat.FloatObjectiveProto.getVarsList | ( | ) |
repeated int32 vars = 1;
Implements com.google.ortools.sat.FloatObjectiveProtoOrBuilder.
Definition at line 61 of file FloatObjectiveProto.java.
int com.google.ortools.sat.FloatObjectiveProto.hashCode | ( | ) |
Definition at line 243 of file FloatObjectiveProto.java.
|
protected |
Definition at line 45 of file FloatObjectiveProto.java.
final boolean com.google.ortools.sat.FloatObjectiveProto.isInitialized | ( | ) |
Definition at line 139 of file FloatObjectiveProto.java.
|
static |
Definition at line 342 of file FloatObjectiveProto.java.
|
static |
Definition at line 345 of file FloatObjectiveProto.java.
Builder com.google.ortools.sat.FloatObjectiveProto.newBuilderForType | ( | ) |
Definition at line 341 of file FloatObjectiveProto.java.
|
protected |
Definition at line 355 of file FloatObjectiveProto.java.
|
static |
Definition at line 313 of file FloatObjectiveProto.java.
|
static |
Definition at line 319 of file FloatObjectiveProto.java.
|
static |
Definition at line 290 of file FloatObjectiveProto.java.
|
static |
Definition at line 294 of file FloatObjectiveProto.java.
|
static |
Definition at line 279 of file FloatObjectiveProto.java.
|
static |
Definition at line 284 of file FloatObjectiveProto.java.
|
static |
Definition at line 326 of file FloatObjectiveProto.java.
|
static |
Definition at line 332 of file FloatObjectiveProto.java.
|
static |
Definition at line 300 of file FloatObjectiveProto.java.
|
static |
Definition at line 305 of file FloatObjectiveProto.java.
|
static |
Definition at line 268 of file FloatObjectiveProto.java.
|
static |
Definition at line 273 of file FloatObjectiveProto.java.
|
static |
Definition at line 863 of file FloatObjectiveProto.java.
Builder com.google.ortools.sat.FloatObjectiveProto.toBuilder | ( | ) |
Definition at line 349 of file FloatObjectiveProto.java.
void com.google.ortools.sat.FloatObjectiveProto.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 149 of file FloatObjectiveProto.java.
|
static |
Definition at line 81 of file FloatObjectiveProto.java.
|
static |
Definition at line 122 of file FloatObjectiveProto.java.
|
static |
Definition at line 111 of file FloatObjectiveProto.java.
|
static |
Definition at line 51 of file FloatObjectiveProto.java.