![]() |
Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
|
Definition at line 9 of file MPSolutionOrBuilder.java.
Public Member Functions | |
| boolean | hasObjectiveValue () |
| double | getObjectiveValue () |
| java.util.List< java.lang.Double > | getVariableValueList () |
| int | getVariableValueCount () |
| double | getVariableValue (int index) |
| double com.google.ortools.linearsolver.MPSolutionOrBuilder.getObjectiveValue | ( | ) |
optional double objective_value = 1;
Implemented in com.google.ortools.linearsolver.MPSolution.Builder, and com.google.ortools.linearsolver.MPSolution.
| double com.google.ortools.linearsolver.MPSolutionOrBuilder.getVariableValue | ( | int | index | ) |
repeated double variable_value = 2 [packed = true];
| index | The index of the element to return. |
Implemented in com.google.ortools.linearsolver.MPSolution.Builder, and com.google.ortools.linearsolver.MPSolution.
| int com.google.ortools.linearsolver.MPSolutionOrBuilder.getVariableValueCount | ( | ) |
repeated double variable_value = 2 [packed = true];
Implemented in com.google.ortools.linearsolver.MPSolution.Builder, and com.google.ortools.linearsolver.MPSolution.
| java.util.List< java.lang.Double > com.google.ortools.linearsolver.MPSolutionOrBuilder.getVariableValueList | ( | ) |
repeated double variable_value = 2 [packed = true];
Implemented in com.google.ortools.linearsolver.MPSolution.Builder, and com.google.ortools.linearsolver.MPSolution.
| boolean com.google.ortools.linearsolver.MPSolutionOrBuilder.hasObjectiveValue | ( | ) |
optional double objective_value = 1;
Implemented in com.google.ortools.linearsolver.MPSolution.Builder, and com.google.ortools.linearsolver.MPSolution.