Description
I can first add a constraint that acts as an upper bound and then set an upper bound on the variable but I am not allowed to do the same thing in reverse order:
The first makes sense to me despite the redundant bounds in practice, it might be easier for users to set both generic upper bounds on variables and then to have some constraints that tighten those bounds.
Steps To Reproduce
See above
Expected Behavior
I don't like getting a conflicting bounds error when I chose to set a constraint on a single variable.
Just noticed something interesting: for order 1, if I then add an objective that uses variable j, the ValueError: conflicting upper bounds: 'i' error pops up, That's not good.
Description I can first add a constraint that acts as an upper bound and then set an upper bound on the variable but I am not allowed to do the same thing in reverse order:
1)
2)
The first makes sense to me despite the redundant bounds in practice, it might be easier for users to set both generic upper bounds on variables and then to have some constraints that tighten those bounds.
Steps To Reproduce See above
Expected Behavior I don't like getting a conflicting bounds error when I chose to set a constraint on a single variable.
Environment