def Constraint(self, *args) -> "operations_research::MPConstraint *": r""" *Overload 1:* Creates a linear constraint with given bounds. Bounds can be finite or +/- MPSolver::infinity(). The MPSolver class assumes ownership of the constraint. :rtype: :py:class:`MPConstraint` :return: a pointer to the newly created constraint. | *Overload 2:* Creates a constraint with -infinity and +infinity bounds. | *Overload 3:* Creates a named constraint with given bounds. | *Overload 4:* Creates a named constraint with -infinity and +infinity bounds. """ return _pywraplp.Solver_Constraint(self, *args)
def Constraint(self, *args) -> "operations_research::MPConstraint *": return _pywraplp.Solver_Constraint(self, *args)
def Constraint(self, *args): return _pywraplp.Solver_Constraint(self, *args)