def GetCoefficient(self, var: "Variable") -> "double": r""" Gets the coefficient of a given variable in the objective It returns 0 if the variable does not appear in the objective). """ return _pywraplp.Objective_GetCoefficient(self, var)
def GetCoefficient(self, var: 'Variable') -> "double": return _pywraplp.Objective_GetCoefficient(self, var)
def GetCoefficient(self, var): return _pywraplp.Objective_GetCoefficient(self, var)