A constraint has a type, some arguments, and a few tags. Typically, a Constraint is on the heap, and owned by the global Model object.
Definition at line 219 of file model.h.
bool operations_research::fz::Constraint::active |
Indicates if the constraint is active. Presolve can make it inactive by propagating it, or by regrouping it. Once a constraint is inactive, it is logically removed from the model, it is not extracted, and it is ignored by presolve.
Definition at line 251 of file model.h.
bool operations_research::fz::Constraint::strong_propagation |
Is true if the constraint should use the strongest level of propagation. This is a hint in the model. For instance, in the AllDifferent constraint, there are different algorithms to propagate with different pruning/speed ratios. When strong_propagation is true, one should use, if possible, the algorithm with the strongest pruning.
Definition at line 246 of file model.h.