数模论坛

 找回密码
 注-册-帐-号
搜索
热搜: 活动 交友 discuz
查看: 8581|回复: 0

matlab二次规划问题(quadprog函数)

  [复制链接]
发表于 2008-7-15 13:17:21 | 显示全部楼层 |阅读模式
运行quadprog函数后,出现如下警告:

Warning: Large-scale method does not currently solve this problem formulation,
switching to medium-scale method.
> In quadprog at 242
  In fun at 70
The system of equality constraints is consistent. Removing
the following dependent constraints before continuing:
    30

The equality constraints are dependent.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
The problem is badly conditioned; the solution may not be reliable.
Maximum number of iterations exceeded; increase options.MaxIter.
To continue solving the problem with the current solution as the
starting point, set x0 = x before calling quadprog.
但仍能得出结果,
问:结果有效吗?
补充:[x,Profit] = quadprog(H,f,A,b,Aeq,beq,lb,ub);
      其中,H:135*135
            A:14*135
            Aeq:30*135
      感觉不算大呀!
      而且几秒钟就运行完啦!
请帮忙分析一下,哪出了问题,谢谢!

[ 本帖最后由 lucky_boy-lx 于 2008-7-15 13:48 编辑 ]
您需要登录后才可以回帖 登录 | 注-册-帐-号

本版积分规则

小黑屋|手机版|Archiver|数学建模网 ( 湘ICP备11011602号 )

GMT+8, 2024-11-30 13:28 , Processed in 0.054549 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表