Warning: Trust-region-reflective algorithm does not solve this type of problem, using active-set algorithm. You could also try the interior-point or sqp algorithms: set the Algorithm
option to 'interior-point' or 'sqp' and rerun. For more help, see Choosing the Algorithm in the documentation.
> In fmincon at 472
Local minimum found that satisfies the constraints.
Optimization completed because the objective function is non-decreasing in
feasible directions, to within the default value of the function tolerance,
and constraints were satisfied to within the default value of the constraint tolerance.
<stopping criteria details>
Active inequalities (to within options.TolCon = 1e-006):
lower upper ineqlin ineqnonlin
1 2
3作者: 安树庭 时间: 2010-5-15 14:49
有什么问题吗???????????????????????????作者: zapstart 时间: 2010-5-15 14:54
这个没运行出来啊~~~~~~没结果 不知道哪里错了 错误提示我也看不懂作者: guleidizhui 时间: 2010-5-15 15:56
???好像没有问题啊。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。。作者: 少幻 时间: 2010-5-15 16:32
我也正在能这个问题,楼主说说啊。。。作者: zapstart 时间: 2010-5-15 17:20
我改了下,
X0=[0.1 0 0];
lb=[0 0 0]';
ub=[150 0.25 1]';
为什么结果超过这个范围了?