Constraint.__init__

Constraint.__init__(constraint_type, weight=1.0)[source]

Initialize self. See help(type(self)) for accurate signature.