def __init__(self, *args): this = _pywrapknapsack_solver.new_KnapsackSolver(*args) try: self.this.append(this) except: self.this = this
def __init__(self, *args): this = _pywrapknapsack_solver.new_KnapsackSolver(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this
def __init__(self, *args): _pywrapknapsack_solver.KnapsackSolver_swiginit(self, _pywrapknapsack_solver.new_KnapsackSolver(*args))