Constraint problem with maximum Topic is solved

Problems with modeling
Post Reply
ersuhaib786
User
User
Posts: 10
Joined: 3 years ago

Constraint problem with maximum

Post 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
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
SapperDoc
User
User
Posts: 13
Joined: 4 years ago

Re: Constraint problem with maximum

Post 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).
Post Reply