C++ Reference: class CastConstraint

This documentation is automatically generated.

Cast constraints are special channeling constraints designed to keep a variable in sync with an expression. They are created internally when Var() is called on a subclass of IntExpr.
Method
CastConstraint

Arguments: Solver* const solver, IntVar* const target_var

~CastConstraint

target_var

Return type: IntVar*