def Var(self, lb: "double", ub: "double", integer: "bool", name: "std::string const &") -> "operations_research::MPVariable *": r""" Creates a variable with the given bounds, integrality requirement and name. Bounds can be finite or +/- MPSolver::infinity(). The MPSolver owns the variable (i.e. the returned pointer is borrowed). Variable names are optional. If you give an empty name, name() will auto-generate one for you upon request. """ return _pywraplp.Solver_Var(self, lb, ub, integer, name)
def Var(self, lb: 'double', ub: 'double', integer: 'bool', name: 'std::string const &' ) -> "operations_research::MPVariable *": return _pywraplp.Solver_Var(self, lb, ub, integer, name)
def Var(self, lb, ub, integer, name): return _pywraplp.Solver_Var(self, lb, ub, integer, name)
def Var(self, lb: "double", ub: "double", integer: "bool", name: "std::string const &" ) -> "operations_research::MPVariable *": return _pywraplp.Solver_Var(self, lb, ub, integer, name)