Interface MPSolutionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    MPSolution, MPSolution.Builder

    public interface MPSolutionOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getObjectiveValue()
      optional double objective_value = 1;
      double getVariableValue​(int index)
      repeated double variable_value = 2 [packed = true];
      int getVariableValueCount()
      repeated double variable_value = 2 [packed = true];
      java.util.List<java.lang.Double> getVariableValueList()
      repeated double variable_value = 2 [packed = true];
      boolean hasObjectiveValue()
      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 Detail

      • 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

        java.util.List<java.lang.Double> getVariableValueList()
        repeated double variable_value = 2 [packed = true];
        Returns:
        A list containing the variableValue.
      • 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.