Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
|
Classes | |
class | Builder |
Public Member Functions | |
boolean | hasObjectiveValue () |
double | getObjectiveValue () |
java.util.List< java.lang.Double > | getVariableValueList () |
int | getVariableValueCount () |
double | getVariableValue (int index) |
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< MPSolution > | getParserForType () |
com.google.ortools.linearsolver.MPSolution | getDefaultInstanceForType () |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
static com.google.ortools.linearsolver.MPSolution | parseFrom (java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPSolution | parseFrom (java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPSolution | parseFrom (com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPSolution | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPSolution | parseFrom (byte[] data) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPSolution | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException |
static com.google.ortools.linearsolver.MPSolution | parseFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPSolution | parseFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.MPSolution | parseDelimitedFrom (java.io.InputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPSolution | parseDelimitedFrom (java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
static com.google.ortools.linearsolver.MPSolution | parseFrom (com.google.protobuf.CodedInputStream input) throws java.io.IOException |
static com.google.ortools.linearsolver.MPSolution | 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.MPSolution prototype) |
static com.google.ortools.linearsolver.MPSolution | getDefaultInstance () |
static com.google.protobuf.Parser< MPSolution > | parser () |
Static Public Attributes | |
static final int | OBJECTIVE_VALUE_FIELD_NUMBER = 1 |
static final int | VARIABLE_VALUE_FIELD_NUMBER = 2 |
static final com.google.protobuf.Parser< MPSolution > | PARSER |
Protected Member Functions | |
java.lang.Object | newInstance (UnusedPrivateParameter unused) |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable () |
Builder | newBuilderForType (com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
Protobuf type operations_research.MPSolution
Definition at line 10 of file MPSolution.java.
boolean com.google.ortools.linearsolver.MPSolution.equals | ( | final java.lang.Object | obj | ) |
Definition at line 148 of file MPSolution.java.
|
static |
Definition at line 637 of file MPSolution.java.
com.google.ortools.linearsolver.MPSolution com.google.ortools.linearsolver.MPSolution.getDefaultInstanceForType | ( | ) |
Definition at line 673 of file MPSolution.java.
|
static |
Definition at line 31 of file MPSolution.java.
double com.google.ortools.linearsolver.MPSolution.getObjectiveValue | ( | ) |
optional double objective_value = 1;
Implements com.google.ortools.linearsolver.MPSolutionOrBuilder.
Definition at line 59 of file MPSolution.java.
com.google.protobuf.Parser< MPSolution > com.google.ortools.linearsolver.MPSolution.getParserForType | ( | ) |
Definition at line 668 of file MPSolution.java.
int com.google.ortools.linearsolver.MPSolution.getSerializedSize | ( | ) |
Definition at line 122 of file MPSolution.java.
double com.google.ortools.linearsolver.MPSolution.getVariableValue | ( | int | index | ) |
repeated double variable_value = 2 [packed = true];
index | The index of the element to return. |
Implements com.google.ortools.linearsolver.MPSolutionOrBuilder.
Definition at line 88 of file MPSolution.java.
int com.google.ortools.linearsolver.MPSolution.getVariableValueCount | ( | ) |
repeated double variable_value = 2 [packed = true];
Implements com.google.ortools.linearsolver.MPSolutionOrBuilder.
Definition at line 80 of file MPSolution.java.
java.util.List< java.lang.Double > com.google.ortools.linearsolver.MPSolution.getVariableValueList | ( | ) |
repeated double variable_value = 2 [packed = true];
Implements com.google.ortools.linearsolver.MPSolutionOrBuilder.
Definition at line 73 of file MPSolution.java.
int com.google.ortools.linearsolver.MPSolution.hashCode | ( | ) |
Definition at line 170 of file MPSolution.java.
boolean com.google.ortools.linearsolver.MPSolution.hasObjectiveValue | ( | ) |
optional double objective_value = 1;
Implements com.google.ortools.linearsolver.MPSolutionOrBuilder.
Definition at line 51 of file MPSolution.java.
|
protected |
Definition at line 37 of file MPSolution.java.
final boolean com.google.ortools.linearsolver.MPSolution.isInitialized | ( | ) |
Definition at line 95 of file MPSolution.java.
|
static |
Definition at line 264 of file MPSolution.java.
|
static |
Definition at line 267 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.newBuilderForType | ( | ) |
Definition at line 263 of file MPSolution.java.
|
protected |
Definition at line 277 of file MPSolution.java.
|
protected |
Definition at line 25 of file MPSolution.java.
|
static |
Definition at line 235 of file MPSolution.java.
|
static |
Definition at line 241 of file MPSolution.java.
|
static |
Definition at line 212 of file MPSolution.java.
|
static |
Definition at line 216 of file MPSolution.java.
|
static |
Definition at line 201 of file MPSolution.java.
|
static |
Definition at line 206 of file MPSolution.java.
|
static |
Definition at line 248 of file MPSolution.java.
|
static |
Definition at line 254 of file MPSolution.java.
|
static |
Definition at line 222 of file MPSolution.java.
|
static |
Definition at line 227 of file MPSolution.java.
|
static |
Definition at line 190 of file MPSolution.java.
|
static |
Definition at line 195 of file MPSolution.java.
|
static |
Definition at line 663 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.toBuilder | ( | ) |
Definition at line 271 of file MPSolution.java.
void com.google.ortools.linearsolver.MPSolution.writeTo | ( | com.google.protobuf.CodedOutputStream | output | ) | throws java.io.IOException |
Definition at line 105 of file MPSolution.java.
|
static |
Definition at line 44 of file MPSolution.java.
|
static |
Definition at line 642 of file MPSolution.java.
|
static |
Definition at line 63 of file MPSolution.java.