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 TypeMethodDescriptiondoubleoptional double objective_value = 1;doublegetVariableValue(int index) repeated double variable_value = 2 [packed = true];intrepeated double variable_value = 2 [packed = true];repeated double variable_value = 2 [packed = true];booleanoptional double objective_value = 1;Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-