Interface MPSolutionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MPSolution
,MPSolution.Builder
@Generated
public interface MPSolutionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiondouble
optional double objective_value = 1;
double
getVariableValue
(int index) repeated double variable_value = 2 [packed = true];
int
repeated double variable_value = 2 [packed = true];
repeated double variable_value = 2 [packed = true];
boolean
optional double objective_value = 1;
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasObjectiveValue
boolean hasObjectiveValue()optional double objective_value = 1;
- Returns:
- Whether the objectiveValue field is set.
-
getObjectiveValue
double getObjectiveValue()optional double objective_value = 1;
- Returns:
- The objectiveValue.
-
getVariableValueList
-
getVariableValueCount
int getVariableValueCount()repeated double variable_value = 2 [packed = true];
- Returns:
- The count of variableValue.
-
getVariableValue
double getVariableValue(int index) repeated double variable_value = 2 [packed = true];
- Parameters:
index
- The index of the element to return.- Returns:
- The variableValue at the given index.
-