Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Static Public Member Functions | |
static final com.google.protobuf.Descriptors.Descriptor | getDescriptor () |
Protected Member Functions | |
com.google.protobuf.GeneratedMessage.FieldAccessorTable | internalGetFieldAccessorTable () |
Protobuf type operations_research.MPSolution
Definition at line 287 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 566 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 553 of file MPSolution.java.
com.google.ortools.linearsolver.MPSolution com.google.ortools.linearsolver.MPSolution.Builder.build | ( | ) |
Definition at line 335 of file MPSolution.java.
com.google.ortools.linearsolver.MPSolution com.google.ortools.linearsolver.MPSolution.Builder.buildPartial | ( | ) |
Definition at line 344 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.clear | ( | ) |
Definition at line 315 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.clearObjectiveValue | ( | ) |
optional double objective_value = 1;
Definition at line 489 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.clearVariableValue | ( | ) |
repeated double variable_value = 2 [packed = true];
Definition at line 579 of file MPSolution.java.
com.google.ortools.linearsolver.MPSolution com.google.ortools.linearsolver.MPSolution.Builder.getDefaultInstanceForType | ( | ) |
Definition at line 330 of file MPSolution.java.
|
static |
Definition at line 292 of file MPSolution.java.
com.google.protobuf.Descriptors.Descriptor com.google.ortools.linearsolver.MPSolution.Builder.getDescriptorForType | ( | ) |
Definition at line 325 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 470 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 530 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 522 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 514 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 462 of file MPSolution.java.
|
protected |
Definition at line 298 of file MPSolution.java.
final boolean com.google.ortools.linearsolver.MPSolution.Builder.isInitialized | ( | ) |
Definition at line 397 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.mergeFrom | ( | com.google.ortools.linearsolver.MPSolution | other | ) |
Definition at line 375 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 402 of file MPSolution.java.
Builder com.google.ortools.linearsolver.MPSolution.Builder.mergeFrom | ( | com.google.protobuf.Message | other | ) |
Definition at line 366 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 478 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 539 of file MPSolution.java.