def __init__(self, *args): this = _pywrapcp.new_Solver(*args) try: self.this.append(this) except __builtin__.Exception: self.this = this self.__python_constraints = []