Page 1 of 1
Constraint problem with maximum
Posted: Wed Jul 08, 2020 12:57 pm
by ersuhaib786
- Can anybody help me in writing this constraint, i am getting error. While i write #Pimax(t), smax inside i am getting error. **Set expected**. Could anyone help me pls
Re: Constraint problem with maximum
Posted: Fri Jul 10, 2020 4:44 am
by SapperDoc
The easiest way is to break (15) into three constraints, each of which uses a term within the set to impose a lower bound on x. For the second such constraint, instead of a max operator, index the constraint on i.
A similar scheme can be applied for (16).