[求助]这几个变量看不懂
原题: 求下面的优化问题min -5·X1-4·X2-6·X3
sub.to X1-X2+X3<=20;
3·X1+2·X2+4·X3<=42;
3·X1+2·X2 <=30;
X1,X2,X3>=0;
原解:
>>f = [-5; -4; -6];
>>A = [1 -1 1;3 2 4;3 2 0];
>>b = [20; 42; 30];
>>lb = zeros(3,1);
>>[x,fval,exitflag,output,lambda] = linprog(f,A,b,[],[],lb)
结果为:
x = %最优解
0.0000
15.0000
3.0000
fval = %最优值
-78.0000
exitflag = %收敛
1
output =
iterations: 6 %迭代次数
cgiterations: 0
algorithm: 'lipsol' %所使用规则
lambda =
ineqlin: [3x1 double]
eqlin: [0x1 double]
upper: [3x1 double]
lower: [3x1 double]
>> lambda.ineqlin
ans =
0.0000
1.5000
0.5000
>> lambda.lower
ans =
1.0000
0.0000
0.0000
请问这些变量都代表着什么啊?
[此贴子已经被作者于2006-9-13 16:52:38编辑过]