Take another read of Please read: make it easier to help you - #11.
In particular,
- your code doesn’t show how you are calling
value
on the constraints - you haven’t provided the error message you are seeing
Take another read of Please read: make it easier to help you - #11.
In particular,
value
on the constraints