Problem with Linprog: it says it is infeasible while it is feasible

1 回表示 (過去 30 日間)
soroor sarafrazi
soroor sarafrazi 2015 年 2 月 9 日
コメント済み: soroor sarafrazi 2015 年 8 月 12 日
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

回答 (2 件)

Sean de Wolski
Sean de Wolski 2015 年 2 月 9 日
Do the bounds make it infeasible?

soroor sarafrazi
soroor sarafrazi 2015 年 2 月 10 日
if you mean lb and ub, the answer is "No".
  2 件のコメント
Sean de Wolski
Sean de Wolski 2015 年 2 月 10 日
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
soroor sarafrazi 2015 年 8 月 12 日
Thanks and sorry for the late reply. I simplified the model which helped to avoid the error magnification.

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeGet Started with Optimization Toolbox についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by