Java Reference

Java Reference

MPSolutionOrBuilder.java
Go to the documentation of this file.
1 // Generated by the protocol buffer compiler. DO NOT EDIT!
2 // source: ortools/linear_solver/linear_solver.proto
3 
4 package com.google.ortools.linearsolver;
5 
6 public interface MPSolutionOrBuilder extends
7  // @@protoc_insertion_point(interface_extends:operations_research.MPSolution)
8  com.google.protobuf.MessageOrBuilder {
9 
14  boolean hasObjectiveValue();
19  double getObjectiveValue();
20 
25  java.util.List<java.lang.Double> getVariableValueList();
36  double getVariableValue(int index);
37 }
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;