MATLAB Answers


Error message by linprog

Asked by Kees Roos on 10 Jul 2014
Latest activity Commented on by Roger Wohlwend on 10 Jul 2014
I try to solve an LP problem with data A,b,c,lo,hi by using the command [x,fval,exitflag,output] = linprog(c, [], [], A, b, lo, hi); As a result I receive as only output the following error message:
Error in linprog (line 176) largescaleOn = strcmpi(optimget(options,'LargeScale',defaultopt,'fast'),'on');
Error in test_problems (line 17) [x,fval,exitflag,output] = linprog(c, [], [], A, b, lo, hi);
In my case A has size 27 times 51, and the problem has an optimal solution. I am hoping for some help.


on 10 Jul 2014
Can you please post the full error message. it seems like you left out a few lines of error.
In addition to the complete error message I'd like to know the dimensions of all input variables. Alternatively you could save them in a mat-file and post it her

Sign in to comment.

0 Answers