Exemplo n.º 1
0
    def solution_value(self) -> "double":
        r"""
        Returns the value of the variable in the current solution.

        If the variable is integer, then the value will always be an integer (the
        underlying solver handles floating-point values only, but this function
        automatically rounds it to the nearest integer; see: man 3 round).
        """
        return _pywraplp.Variable_solution_value(self)
Exemplo n.º 2
0
 def solution_value(self) -> "double":
     return _pywraplp.Variable_solution_value(self)
Exemplo n.º 3
0
 def solution_value(self):
     return _pywraplp.Variable_solution_value(self)