def __init__( self, name: "std::string const &", problem_type: "operations_research::MPSolver::OptimizationProblemType" ): r""" Create a solver with the given name and underlying solver backend.""" _pywraplp.Solver_swiginit(self, _pywraplp.new_Solver(name, problem_type))
def __init__( self, name: 'std::string const &', problem_type: 'operations_research::MPSolver::OptimizationProblemType' ): this = _pywraplp.new_Solver(name, problem_type) try: self.this.append(this) except __builtin__.Exception: self.this = this
def __init__( self, name: "std::string const &", problem_type: "operations_research::MPSolver::OptimizationProblemType" ): _pywraplp.Solver_swiginit(self, _pywraplp.new_Solver(name, problem_type))
def __init__(self, name, problem_type): this = _pywraplp.new_Solver(name, problem_type) try: self.this.append(this) except __builtin__.Exception: self.this = this
def __init__(self, *args): this = _pywraplp.new_Solver(*args) try: self.this.append(this) except: self.this = this