全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
1200 0
2010-05-12
你好,请教一个线性规划的问题,我用sas or做了这样一个问题
data b;
input x1 x2 a b _type_ $ _rhs_;
datalines;
0 0 1 -1 min .
6 8 -1 0  eq 10
8 12 0 1 eq 10
;
run;
proc lp data=b;run;

本来书上是说最优参数出来是x1=0.4,x2=0.6但我这
里的程序显示是x1=1.25 x2=0,并且log显示
ERROR: Infeasible problem. Note the constraints in the constraint summary that are identified as infeasible. If none of the
       constraints are flagged then check the implicit bounds on the variables.

不知道错哪?谢谢
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群