Exemple #1
0
 def GetCoefficient(self, var: "Variable") -> "double":
     r"""
     Gets the coefficient of a given variable on the constraint (which is 0 if
     the variable does not appear in the constraint).
     """
     return _pywraplp.Constraint_GetCoefficient(self, var)
 def GetCoefficient(self, var: 'Variable') -> "double":
     return _pywraplp.Constraint_GetCoefficient(self, var)
Exemple #3
0
 def GetCoefficient(self, var):
     return _pywraplp.Constraint_GetCoefficient(self, var)