lingo问题
这样的求最小值目标函数
min=@exp(x1)*(4*x1^2+2*x2^2+4*x1*x2+2*x2+1);
条件 x1*x2-x1-x2<=-1.5;
x1*x2>=-10;
此是lingo结果 Local optimal solution found.
Objective value: 44.81695
Infeasibilities: 0.000000
Extended solver steps: 2
Total solver iterations: 10
Variable Value Reduced Cost
X1 1.500001 0.000000
X2 0.000000 85.15223
Row Slack or Surplus Dual Price
1 44.81695 -1.000000
2 0.5748672E-06 98.59727
3 10.00000 0.000000
和课本用matlab解出的结果不一样,是哪儿的问题?
求高手!!!! 给力啊
给点提示啊
数学中国的人才别鄙视俺啊 不是不够不勤奋,是勤奋的程度还不够.大一就这样过去了,什么都没学,连勤奋都不够.793596688574112693152595418734541537637733710645137674698890454992570340693414 还有约束条件 Global optimal solution found.
Objective value: 8.500000
Objective bound: 8.500000
Infeasibilities: 0.000000
Extended solver steps: 3
Total solver iterations: 72
Variable Value Reduced Cost
X1 0.000000 18.50000
X2 1.500000 0.000000
Row Slack or Surplus Dual Price
1 8.500000 -1.000000
2 0.000000 8.000000
3 10.00000 0.000000
页:
[1]