I have following doubt:
My problem is roughly of following nature:
Code: Select all
sets
it "iter" /it1*it10/
;
variables x(it) ,y(it)
loop
(it,
MIP_problem(it)
)
Now, I have to solve another MIP problem, which should be as follows:
Code: Select all
variables xsum , ysum
equations
y_eqn;
y_eqn..
ysum = sum(it,y(it))
;
model eqn/y_eqn/
solve eqn minimizing ysum using MIP
Thanks