Exiting: One or more of the residuals, duality gap, or total relative error has grown 100000 times greater than its minimum value so far:
조회 수: 2 (최근 30일)
이전 댓글 표시
Dear All I am running my code but I faced this problem 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-008.) Could you please suggest what shall I do? It is so urgent
Thanks again for any suggestions Regards
댓글 수: 1
Walter Roberson
2012년 3월 26일
http://www.mathworks.com/matlabcentral/answers/29922-why-your-question-is-not-urgent-or-an-emergency
채택된 답변
Titus Edelhofer
2012년 3월 26일
Hi,
I guess (!) you are using linprog and get this error message? In this case the combination of bounds, equality constraints and inequality constraints are not permitting a solution. Try the following: either run linprog with bounds and inequality constraints only (setting Aeq=[], beq=[]), then with bounds and equality constraints only (setting A=[], b=[]). If one of them works, the other fails, start to take only parts of the "bad" constraints (i.e., some rows of Aeq and beq or A and b) to find out) which are the offending rows ...
Titus
댓글 수: 0
추가 답변 (1개)
Bestun
2012년 3월 26일
댓글 수: 1
Walter Roberson
2012년 3월 26일
http://www.mathworks.com/matlabcentral/answers/13205-tutorial-how-to-format-your-question-with-markup
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!