Ejemplo n.º 1
0
    def SetCoefficient(self, var: "Variable", coeff: "double") -> "void":
        r"""
        Sets the coefficient of the variable in the objective.

        If the variable does not belong to the solver, the function just returns,
        or crashes in non-opt mode.
        """
        return _pywraplp.Objective_SetCoefficient(self, var, coeff)
Ejemplo n.º 2
0
 def SetCoefficient(self, var: 'Variable', coeff: 'double') -> "void":
     return _pywraplp.Objective_SetCoefficient(self, var, coeff)
Ejemplo n.º 3
0
 def SetCoefficient(self, var, coeff):
     return _pywraplp.Objective_SetCoefficient(self, var, coeff)
 def SetCoefficient(self, var: "Variable", coeff: "double") -> "void":
     return _pywraplp.Objective_SetCoefficient(self, var, coeff)