Solving an MILP (MIP) problem within MIP problem

Solver related questions
Post Reply
parag_patil
User
User
Posts: 30
Joined: 2 years ago
Location: Ahmedabad
Contact:

Solving an MILP (MIP) problem within MIP problem

Post by parag_patil »

Dear all ,

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)
)
For each iteration above, I solve MIP problem to get x(it) and y(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
Now since ysum depends on y(it), it should also start solving the loop again such that the ysum will be minimum. Is it even doable? Can I invoke an MILP problem from another ?

Thanks
ZenSchmitt
User
User
Posts: 3
Joined: 2 years ago

Re: Solving an MILP (MIP) problem within MIP problem

Post by ZenSchmitt »

Are you referring to bilevel optimisation?
Post Reply