| 编程中国 | 业界新闻 | 技术文章 | 视频教程 | 下载频道 | 程序源码 | 个人空间 | 编程论坛
全能ASP/PHP/ASP.NET主机,支持月付专业 MSSQL 数据库空间,支持月付专业 MySQL 数据库空间,支持月付买域名,送MP3、MP4
高端软件开发 = 年薪十万不是梦赛孚耐:软件保护加密专家身份认证令牌USB KEY买空间,免费送域名(厦门中资源)
共有 518 人关注过本帖
标题:quadprog函数问题
收藏  订阅  推荐  打印 
lucky_boy
Rank: 2
等级:注册会员
帖子:41
积分:594
注册:2008-4-3
quadprog函数问题

运行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
      感觉不算大呀!
      而且几秒钟就运行完啦!
函数代码已放在附件中
请大家帮忙分析一下,哪出了问题,谢谢!
附件: 只有本站会员才能下载或查看附件,请您 登录注册
搜索更多相关主题的帖子: quadprog函数  problem  The  equality  constraints  
2008-7-8 08:50
lucky_boy
Rank: 2
等级:注册会员
帖子:41
积分:594
注册:2008-4-3

定一下
好心人指点一下
谢谢
2008-7-8 23:19
lucky_boy
Rank: 2
等级:注册会员
帖子:41
积分:594
注册:2008-4-3

这问题真的很难吗?
为啥没人回复呢?
2008-7-9 23:46
lucky_boy
Rank: 2
等级:注册会员
帖子:41
积分:594
注册:2008-4-3

拜托
版主帮忙指点一下吧!
谢谢!
2008-7-11 16:52
关于我们 | 广告合作 | 编程中国 | 清除Cookies | Archiver | WAP | TOP

编程中国 版权所有,并保留所有权利。鲁ICP备08000592号
Powered by Discuz, Processed in 0.049514 second(s), 9 queries.
Copyright©2004-2008, BCCN.NET, All Rights Reserved