Constraint problem with maximum Topic is solved

Problems with modeling
Post Reply
ersuhaib786
User
User
Posts: 3
Joined: 1 year ago

Constraint problem with maximum

Post by ersuhaib786 » 1 year ago

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: 1 year ago

Re: Constraint problem with maximum

Post by SapperDoc » 1 year ago

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