def __init__(self, solver: 'Solver'):
if self.__class__ == Constraint:
_self = None
else:
_self = self
this = _pywrapcp.new_Constraint(_self, solver)
try:
self.this.append(this)
except __builtin__.Exception:
self.this = this
评论列表
文章目录