Google OR-Tools v9.9
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
Builder | clear () |
com.google.protobuf.Descriptors.Descriptor | getDescriptorForType () |
com.google.ortools.linearsolver.MPSolution | getDefaultInstanceForType () |
com.google.ortools.linearsolver.MPSolution | build () |
com.google.ortools.linearsolver.MPSolution | buildPartial () |
Builder | clone () |
Builder | setField (com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) |
Builder | clearField (com.google.protobuf.Descriptors.FieldDescriptor field) |
Builder | clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Builder | setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) |
Builder | addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) |
Builder | mergeFrom (com.google.protobuf.Message other) |
Builder | mergeFrom (com.google.ortools.linearsolver.MPSolution other) |
final boolean | isInitialized () |
Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException |
boolean | hasObjectiveValue () |
double | getObjectiveValue () |
Builder | setObjectiveValue (double value) |
Builder | clearObjectiveValue () |
java.util.List< java.lang.Double > | getVariableValueList () |
int | getVariableValueCount () |
double | getVariableValue (int index) |
Builder | setVariableValue (int index, double value) |
Builder | addVariableValue (double value) |
Builder | addAllVariableValue (java.lang.Iterable<? extends java.lang.Double > values) |
Builder | clearVariableValue () |
final Builder | setUnknownFields (final com.google.protobuf.UnknownFieldSet unknownFields) |
final Builder | mergeUnknownFields (final com.google.protobuf.UnknownFieldSet unknownFields) |
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable () |
Protobuf type operations_research.MPSolution
Definition at line 285 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.addAllVariableValue | ( | java.lang.Iterable<? extends java.lang.Double > | values | ) |
repeated double variable_value = 2 [packed = true];
values | The variableValue to add. |
Definition at line 596 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.addRepeatedField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
java.lang.Object | value ) |
Definition at line 390 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.addVariableValue | ( | double | value | ) |
repeated double variable_value = 2 [packed = true];
value | The variableValue to add. |
Definition at line 583 of file MPSolution.java.
com.google.ortools.linearsolver.MPSolution com.google.ortools.linearsolver.MPSolution.Builder.build | ( | ) |
Definition at line 333 of file MPSolution.java.
com.google.ortools.linearsolver.MPSolution com.google.ortools.linearsolver.MPSolution.Builder.buildPartial | ( | ) |
Definition at line 342 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.clear | ( | ) |
Definition at line 313 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.clearField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field | ) |
Definition at line 374 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.clearObjectiveValue | ( | ) |
optional double objective_value = 1;
Definition at line 519 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.clearOneof | ( | com.google.protobuf.Descriptors.OneofDescriptor | oneof | ) |
Definition at line 379 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.clearVariableValue | ( | ) |
repeated double variable_value = 2 [packed = true];
Definition at line 609 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.clone | ( | ) |
Definition at line 364 of file MPSolution.java.
com.google.ortools.linearsolver.MPSolution com.google.ortools.linearsolver.MPSolution.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 328 of file MPSolution.java.
|
static |
Definition at line 290 of file MPSolution.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.linearsolver.MPSolution.Builder.getDescriptorForType | ( | ) |
Definition at line 323 of file MPSolution.java.
double com.google.ortools.linearsolver.MPSolution.Builder.getObjectiveValue | ( | ) |
optional double objective_value = 1;
Implements com.google.ortools.linearsolver.MPSolutionOrBuilder.
Definition at line 500 of file MPSolution.java.
double com.google.ortools.linearsolver.MPSolution.Builder.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 560 of file MPSolution.java.
int com.google.ortools.linearsolver.MPSolution.Builder.getVariableValueCount | ( | ) |
repeated double variable_value = 2 [packed = true];
Implements com.google.ortools.linearsolver.MPSolutionOrBuilder.
Definition at line 552 of file MPSolution.java.
java.util.List< java.lang.Double > com.google.ortools.linearsolver.MPSolution.Builder.getVariableValueList | ( | ) |
repeated double variable_value = 2 [packed = true];
Implements com.google.ortools.linearsolver.MPSolutionOrBuilder.
Definition at line 544 of file MPSolution.java.
boolean com.google.ortools.linearsolver.MPSolution.Builder.hasObjectiveValue | ( | ) |
optional double objective_value = 1;
Implements com.google.ortools.linearsolver.MPSolutionOrBuilder.
Definition at line 492 of file MPSolution.java.
|
protected |
Definition at line 296 of file MPSolution.java.
final boolean com.google.ortools.linearsolver.MPSolution.Builder.isInitialized | ( | ) |
Definition at line 427 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.mergeFrom | ( | com.google.ortools.linearsolver.MPSolution | other | ) |
Definition at line 405 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.mergeFrom | ( | com.google.protobuf.CodedInputStream | input, |
com.google.protobuf.ExtensionRegistryLite | extensionRegistry ) throws java.io.IOException |
Definition at line 432 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 396 of file MPSolution.java.
final Builder com.google.ortools.linearsolver.MPSolution.Builder.mergeUnknownFields | ( | final com.google.protobuf.UnknownFieldSet | unknownFields | ) |
Definition at line 622 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.setField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
java.lang.Object | value ) |
Definition at line 368 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.setObjectiveValue | ( | double | value | ) |
optional double objective_value = 1;
value | The objectiveValue to set. |
Definition at line 508 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.setRepeatedField | ( | com.google.protobuf.Descriptors.FieldDescriptor | field, |
int | index, | ||
java.lang.Object | value ) |
Definition at line 384 of file MPSolution.java.
final Builder com.google.ortools.linearsolver.MPSolution.Builder.setUnknownFields | ( | final com.google.protobuf.UnknownFieldSet | unknownFields | ) |
Definition at line 616 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.setVariableValue | ( | int | index, |
double | value ) |
repeated double variable_value = 2 [packed = true];
index | The index to set the value at. |
value | The variableValue to set. |
Definition at line 569 of file MPSolution.java.