astra-uu-se / atlantis

CBLS solver
2 stars 1 forks source link

Feature/domain constraints #147

Closed frejknutarlewander closed 8 months ago

frejknutarlewander commented 8 months ago

improved how variable nodes are created and retrieved in the FlatZinc invariant graph and invariant graph.

Improved how domain constraints are posted for var nodes

The idea is that each variable has a state for its domain (no domain constraint, fixed single value, bounded from above, bounded from below, in an interval, or domain). Depending on the state, the bounds the corresponding variable has in the solver, and the domain of the variable node in the invariant graph, no or one domain constraint will be posted