楼主: 方眠123
3438 3

[问答] 求解matlab线性规划出现的问题 [推广有奖]

  • 1关注
  • 0粉丝

本科生

51%

还不是VIP/贵宾

-

威望
0
论坛币
478 个
通用积分
0
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
222 点
帖子
35
精华
0
在线时间
76 小时
注册时间
2013-5-4
最后登录
2023-12-24

楼主
方眠123 学生认证  发表于 2013-12-9 20:40:58 |AI写论文

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
在用matlab计算时,出现这样的语句
Exiting: One or more of the residuals, duality gap, or total relative error has stalled:         both the primal and the dual appear to be infeasible.
求大神解释

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

关键词:MATLAB atlab matla 线性规划 Lab matlab

沙发
和你e起去看海 发表于 2013-12-9 20:53:09
能不能看下具体的代码?

藤椅
小朝 发表于 2013-12-9 21:29:45
Exiting: One or more of the residuals, duality gap, or total relative error
has stalled:
         the dual appears to be infeasible (and the primal unbounded).      
         (The primal residual < TolFun=1.00e-008.)

应该没问题,能运行处结果。
  NOTE: the LargeScale (the default) version of linprog uses a
          primal-dual method. Both the primal problem and the dual problem
          must be feasible for convergence. Infeasibility messages of
          either the primal or dual, or both, are given as appropriate. The
          primal problem in standard form is
               min f'*x such that A*x = b, x >= 0.
          The dual problem is
               max b'*y such that A'*y + s = f, s >= 0.
幽灵之目:小视野里的小问题。

板凳
matlab-007 发表于 2015-2-13 19:21:45
MATLAB中的线性规划问题的标准形式描述如下:
Min z=fTX
s.t. AXb
AeqX=beq
lbXub
其中:f、X、b、beq、lb、ub为向量,A、Aeq为矩阵。

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2025-12-31 00:40