I've developed a code by Ilog Cplex which minimizes the cost of a network. I've considered some scenarios and assigned numbers to them. The total number of scenarios are 200 and I have to enter all of them one by one if I want to get the minimum cost of all scenarios. For example, I have to enter the number 25 and run the code when I want to too see the minimum cost of the scenario 25, or the number 123 if I want to see the minimum cost of the scenario 123, as well as other scenarios. It will be more efficient and helpful if I could develop a code which can assign all scenarios and run them one after another to get the minimum cost of each scenario. I will be grateful if you could kindly tell me how I can do that.

More Nasser Tarin's questions See All
Similar questions and discussions