You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Create a linear or nonlinear constraint without adding it to the SCIP problem. This is useful for creating disjunction constraints
2342
+
without also enforcing the individual constituents. Currently, this can only be used as an argument to `.addConsElemDisjunction`. To add
2343
+
an individual linear/nonlinear constraint, prefer `.addCons()`.
2341
2344
2345
+
:param cons: constraint object
2346
+
:param name: the name of the constraint, generic name if empty (Default value = '')
2347
+
:param initial: should the LP relaxation of constraint be in the initial LP? (Default value = True)
2348
+
:param separate: should the constraint be separated during LP processing? (Default value = True)
2349
+
:param enforce: should the constraint be enforced during node processing? (Default value = True)
2350
+
:param check: should the constraint be checked for feasibility? (Default value = True)
2351
+
:param propagate: should the constraint be propagated during node processing? (Default value = True)
2352
+
:param local: is the constraint only valid locally? (Default value = False)
2353
+
:param modifiable: is the constraint modifiable (subject to column generation)? (Default value = False)
2354
+
:param dynamic: is the constraint subject to aging? (Default value = False)
2355
+
:param removable: should the relaxation be removed from the LP due to aging or cleanup? (Default value = False)
2356
+
:param stickingatnode: should the constraint always be kept at the node where it was added, even if it may be moved to a more global node? (Default value = False)
2357
+
:return The created @ref scip#Constraint "Constraint" object.
:param Iterable[Constraint] conss: An iterable of constraint objects to be included initially in the disjunction. Currently, these must be expressions.
2498
+
:param name: the name of the disjunction constraint.
2499
+
:param initial: should the LP relaxation of disjunction constraint be in the initial LP? (Default value = True)
2500
+
:param relaxcons: a conjunction constraint containing the linear relaxation of the disjunction constraint, or None. (Default value = None)
2501
+
:param enforce: should the constraint be enforced during node processing? (Default value = True)
2502
+
:param check: should the constraint be checked for feasibility? (Default value = True)
2503
+
:param local: is the constraint only valid locally? (Default value = False)
2504
+
:param modifiable: is the constraint modifiable (subject to column generation)? (Default value = False)
2505
+
:param dynamic: is the constraint subject to aging? (Default value = False)
2506
+
:return The added @ref scip#Constraint "Constraint" object.
0 commit comments