示例#1
0
    def Value(self) -> "double":
        r"""
        Returns the objective value of the best solution found so far.

        It is the optimal objective value if the problem has been solved to
        optimality.

        Note: the objective value may be slightly different than what you could
        compute yourself using ``MPVariable::solution_value();`` please use the
        --verify_solution flag to gain confidence about the numerical stability of
        your solution.
        """
        return _pywraplp.Objective_Value(self)
 def Value(self) -> "double":
     return _pywraplp.Objective_Value(self)
示例#3
0
 def Value(self):
     return _pywraplp.Objective_Value(self)