How to check for infeasible solution to linprog?
3 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I'm using linprog to try and program a branch-and-bound algorithm. In order for it to work properly, I need to check if the solution is infeasible, and react appropriately. Otherwise, MATLAB only outputs the following error message:
Exiting: One or more of the residuals, duality gap, or total relative error
has grown 100000 times greater than its minimum value so far:
the primal appears to be infeasible (and the dual unbounded).
(The dual residual < TolFun=1.00e-08.)
and proceeds as if the solution were feasible.
Does anyone know how to check for infeasible solutions to linprog?
Thanks,
Mike
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!