Two stage stochastic programming
AnsweredI am solving a threetier supply chain network optimization. I want to use a twostage stochastic programming approach, in the first stage, I want to decide the location of warehouses, and in the second stage the amount of flow in the network and the link among the tiers. The only uncertainty I am considering is product demand from the last tier. I am just trying to handle the uncertainty in demand in a few scenarios (4 scenarios including the base model). Can someone please help me how to code this in python?
I was able to solve all scenarios, but in all scenarios the location of facilities is different. I want to make the location of the facilities to be the same in all scenarios.
For example, for scenario 1 I stated this. Here in this code I wanted to add the plant location binary variable is the same as the base model. How can I add that?
d[i,k]  is the demand of product i at customer k.
Thank you.

Hi Asrat,
You may find the example of a twostage stochastic model implemented in Gurobi given here useful.
Regards,
Simran
0
Please sign in to leave a comment.
Comments
1 comment