>> c=[-5,4,2]; 1 y5 Q& r, P, O+ J" Aa=[6,-1,1;1,2,4];1 }9 M2 f W( Q+ y/ e0 v$ @. O
b=[8,10];- }, ?6 y& \" H8 ?! B
vlb=[-1,0,0]; 5 b% ~! [3 \* zvub=[3,2]; 4 U/ j8 g0 V1 v3 @' q3 v' b[x,lam]=lp(c,a,b,vlb,vub). j5 [# g. R. V. J
??? Undefined function or method 'lp' for input arguments of type 'double'. ( J; f5 l% @- b5 @/ C. J5 i " @! v8 `4 {8 v, F% o
>> [x,lam]=linprog(c,a,b,vlb,vub)8 Z( d* q$ B" Z9 V: Z/ C+ C
??? Error using ==> linprog at 192 1 M/ C8 ]) u7 i& pThe number of rows in Aeq must be the same as the length of beq.3 K6 O/ b. R" v+ W# R7 M
这个错误的程序咋纠正啊,急急急急! ' ?- X% M: ~6 G, o注:用的是matlab2010b