AnsweredAssumed Answered

Constraints

Question asked by John Dickson on Nov 5, 2012
Latest reply on Aug 6, 2014 by Susanne.Heip

I have a maximization model with 10 constraints from x(1) to x(10) each constarints has different limits like x(1)>5 x(1)<10, x(2)>11 x(2)<19...

is there any way I can specify these x(1)..x(10) in the form of "for" loop? like we do for(i in DATA) something like that? Is it possible?

The reason I am doing this is to atuomate the model by reading from a text file than hard coding the x's.

 

Outcomes