Problem with "LINPROG" fcion - exitflag: -2

조회 수: 6 (최근 30일)
Ivet H
Ivet H 2015년 4월 21일
댓글: Alan Weiss 2015년 4월 23일
Hello, I have a problem while using the "linprog" I repeatedly get the error message:
Exiting: One or more of the residuals, duality gap, or total relative error has stalled: the primal appears to be infeasible (and the dual unbounded). (The dual residual < TolFun=1.00e-008.)
I've seen that you blamed it on the Aeq and beq inputs, but I don't have them stated. Could this be a problem for the optimization purposes?
Many thanks for support! IvetH
  댓글 수: 1
Alan Weiss
Alan Weiss 2015년 4월 23일
Can you please show us your linprog call? I mean, something like
[x,fval,exitflag] = linprog(f,A,b,Aeq,beq,lb,ub)
and tell us the sizes of your various input arguments.
Alan Weiss
MATLAB mathematical toolbox documentation

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by