model is infeasible and unbounded in Matlab
回答済み|
Good afternoon, Currently I wanna run the programming like: mmmm=[mbat,msc]; end then it will give me like: Model is infeasible or unbounded Error in QP (line 155) But when I run the same code with 'quadprog', it will feasible to solve. Is that possible I cannot make A0 and A1 together to get a combined matrix? I can't figure out which part I might be wrong, Appreciate!! |
-
正式なコメント
This post is more than three years old. Some information may not be up to date. For current information, please check the Gurobi Documentation or Knowledge Base. If you need more help, please create a new post in the community forum. Or why not try our AI Gurobot?. -
Hi,
There are a few ways to find out what is going on here. First, you could use the gurobi_write to write an LP file and analyze whether your problem looks as you expect it to be. This could help you detecting missing constraints in the case that your problem is unbounded. If your problem is infeasible, please have a look at the Knowledge Base article How do I determine why my model is infeasible?
Best regards,
Jaromił0
投稿コメントは受け付けていません。
コメント
2件のコメント