查看单个帖子
旧 2009-03-09, 18:25   #1
izen
初级会员
 
注册日期: 2009-03-09
年龄: 40
帖子: 1
声望力: 0
izen 正向着好的方向发展
默认 [求助]线性函数linprog有问题...

想请各位高手相助~

我现在利用linprog函数跑排程的线性问题

可是最后会出现Exiting: One or more of the residuals, duality gap, or total relative error has stalled:
the primal appears to be infeasible and the dual unbounded since
the dual objective > 1e+10
and the primal objective > -1e+6.

问过一些人,说这情况是无解...

我想请问说,要怎么过滤这些无解的情况??

另外我想请问,可以出现无解的情况时然后选择不要储存吗??

谢谢各位高手~
izen 当前离线   回复时引用此帖