Problem with Linprog: it says it is infeasible while it is feasible
Mostrar comentarios más antiguos
Hi all,
I use linprog to optimize a problem. One of my inequality constraint is: Area * X <= Capacity . When I use this constraint, the linprog says the problem is infeasible but when I use X <= Capacity / Area , the problem becomes feasible. I want to optimize the problem on different data. On most of the data, X <= Capacity / Area makes the problem feasible and sometimes Area * X <= Capacity is helpful. What is the problem and how can I solve it?
another problem is the value of Capacity. Mathematically, when I increase the value of Capacity, the problem should remain feasible but in Linprog, I can not increase this value very much, it gives exitflag = -2 or -3. Why?
Thanks in advance for your help.
Cheers, Soroor
Respuestas (2)
Sean de Wolski
el 9 de Feb. de 2015
0 votos
Do the bounds make it infeasible?
soroor sarafrazi
el 10 de Feb. de 2015
0 votos
2 comentarios
Sean de Wolski
el 10 de Feb. de 2015
There's probably not much else we can help with without seeing the data and code. Can you attach it (as zip file)?
soroor sarafrazi
el 12 de Ag. de 2015
Categorías
Más información sobre Solver Outputs and Iterative Display en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!