帮忙解答这条数学题
(线性规划)某复合肥料由几种基本肥料组合而成,基础肥料有5种,其中氮肥3种:N1,N2,N3,磷肥2种P1,P2,各种基础肥料由其它化工厂购进,未来半年中各种基础肥料的价...
(线性规划)某复合肥料由几种基本肥料组合而成,基础肥料有5种,其中氮肥3种:N1,N2,N3,磷肥2种P1,P2,各种基础肥料由其它化工厂购进,未来半年中各种基础肥料的价格如下:
月份\肥料 P1 P2 N1 N2 N3
一 1650 1700 1950 1650 1725
二 1950 1950 1650 1350 1725
三 1650 2100 1950 1500 1425
四 1800 1650 1800 1800 1875
五 1500 1800 2250 1650 1575
六 1350 1500 2100 1200 2000
对几种基础肥料加工,然后混合为复合肥。复合肥售价为2250元/吨。氮肥和磷肥在不同生产线加工,每个月最多可以加工磷肥200吨,氮肥250吨。加工过程没有重量损失,费用不考虑。每种基础肥料最多可以存储1000吨备用,存储费用为每吨每月75元。成品复合肥和加工过的基础肥料不能存储。对复合肥的杂质指标限制在3-6%个单位之间,假设杂质是线性混合的。
各种基础肥料的杂质含量见下表
基础肥料 P1 P2 N1 N2 N3
杂质(%) 8.8 6.1 2.0 4.2 5.0
为使公司获得最大利润,应采取什么样的采购和加工方案。现存有5种基础肥料每种500吨,要求在6月底仍然有这样多存货。
研究总利润和采购与加工方案适应不同的未来市场价格应如何变化。考虑如下的价格变化方式:2月份基础磷肥价格上升x%,基础氮肥价格上升2x%;3月份基础磷肥上升2x%,基础氮肥上升4x%;其余月份保持这种线性的上升势头。对不同的值x(直到20),就方案的必要的变化及对利润的影响,作出全面计划。 展开
月份\肥料 P1 P2 N1 N2 N3
一 1650 1700 1950 1650 1725
二 1950 1950 1650 1350 1725
三 1650 2100 1950 1500 1425
四 1800 1650 1800 1800 1875
五 1500 1800 2250 1650 1575
六 1350 1500 2100 1200 2000
对几种基础肥料加工,然后混合为复合肥。复合肥售价为2250元/吨。氮肥和磷肥在不同生产线加工,每个月最多可以加工磷肥200吨,氮肥250吨。加工过程没有重量损失,费用不考虑。每种基础肥料最多可以存储1000吨备用,存储费用为每吨每月75元。成品复合肥和加工过的基础肥料不能存储。对复合肥的杂质指标限制在3-6%个单位之间,假设杂质是线性混合的。
各种基础肥料的杂质含量见下表
基础肥料 P1 P2 N1 N2 N3
杂质(%) 8.8 6.1 2.0 4.2 5.0
为使公司获得最大利润,应采取什么样的采购和加工方案。现存有5种基础肥料每种500吨,要求在6月底仍然有这样多存货。
研究总利润和采购与加工方案适应不同的未来市场价格应如何变化。考虑如下的价格变化方式:2月份基础磷肥价格上升x%,基础氮肥价格上升2x%;3月份基础磷肥上升2x%,基础氮肥上升4x%;其余月份保持这种线性的上升势头。对不同的值x(直到20),就方案的必要的变化及对利润的影响,作出全面计划。 展开
1个回答
展开全部
这种题目最好还是自己做~
max 2250y11+2250y12+2250y13+2250y14+2250y15+2250y21+2250y22+2250y23+2250y24+2250y25+2250y31+2250y32+2250y33+2250y34+2250y35+2250y41+2250y42+2250y43+2250y45+2250y51+2250y52+2250y53+2250y54+2250y55+2250y61+2250y62+2250y63+2250y64+2250y65-1650x11-1800x12-1950x13-1650x14-1725x15-1950x21-1950x22-1650x23-1350x24-1725x25-1650x31-2100x32-1950x33-1500x34-1425x35-1800x41-1650x42-1800x43-1800x44-1875x45-1500x51-1800x52-2250x53-1650x54-1575x55-1350x61-1500x62-2100x63-1200x64-2023x65-375x11+375y11-300x21+300y21-225x31+225y31-150x41+150y41-75x51+75y51-375x12+375y12-300x22+300y22-225x32+225y32-150x42+150y42-75x52+75y52-375x13+375y13-300x23+300y23-225x33+225y33-150x43+150y43-75x53+75y53-375x14+375y14-300x24+300y24-225x34+225y34-150x44+150y44-75x54+75y54-375x15+375y15-300x25+300y25-225x35+225y35-150x45+150y45-75x55+75y55-1125000(减去125000这个常数运行不出,去掉常数有运行结果)
st
采购总量=加工量
x11+x21+x31+x41+x51+x61-y11-y21-y31-y41-y51-y61=0
x12+x22+x32+x42+x52+x61-y12-y22-y32-y42-y52-y62=0
x13+x23+x33+x43+x53+x63-y13-y23-y33-y43-y53-y63=0
x14+x24+x34+x44+x54+x64-y14-y24-y34-y44-y54-y64=0
x15+x25+x35+x45+x55+x65-y15-y25-y35-y45-y55-y65=0
杂质
0.088y11+0.061y12+0.020y13+0.042y14+0.50y15-0.03y11-0.03y12-0.03y13-0.03y14-0.03y15>0
0.088y21+0.061y22+0.020y23+0.042y24+0.50y25-0.03y21-0.03y22-0.03y23-0.03y24-0.03y25>0
0.088y31+0.061y32+0.020y33+0.042y34+0.50y35-0.03y31-0.03y32-0.03y33-0.03y34-0.03y35>0
0.088y41+0.061y42+0.020y43+0.042y44+0.50y45-0.03y41-0.03y42-0.03y43-0.03y44-0.03y45>0
0.088y51+0.061y52+0.020y53+0.042y54+0.50y55-0.03y51-0.03y52-0.03y53-0.03y54-0.03y55>0
0.088y61+0.061y62+0.020y63+0.042y64+0.50y65-0.03y61-0.03y62-0.03y63-0.03y64-0.03y65>0
0.088y11+0.061y12+0.020y13+0.042y14+0.50y15-0.06y11-0.06y12-0.06y13-0.06y14-0.06y15<0
0.088y21+0.061y22+0.020y23+0.042y24+0.50y25-0.06y21-0.06y22-0.06y23-0.06y24-0.06y25<0
0.088y31+0.061y32+0.020y33+0.042y34+0.50y35-0.06y31-0.06y32-0.06y33-0.06y34-0.06y35<0
0.088y41+0.061y42+0.020y43+0.042y44+0.50y45-0.06y41-0.06y42-0.06y43-0.06y44-0.06y45<0
0.088y51+0.061y52+0.020y53+0.042y54+0.50y55-0.06y51-0.06y52-0.06y53-0.06y54-0.06y55<0
0.088y61+0.061y62+0.020y63+0.042y64+0.50y65-0.06y61-0.06y62-0.06y63-0.06y64-0.06y65<0
每月生产量
y11+y12<200
y21+y22<200
y31+y32<200
y41+y42<200
y51+y52<200
y61+y62<200
y13+y14+y15<250
y23+y24+y25<250
y33+y34+y35<250
y43+y44+y45<250
y53+y54+y55<250
y63+y64+y65<250
存量
x11-y11<500
x11-y11+x21-y21<500
x11-y11+x21-y21+x31-y31<500
x11-y11+x21-y21+x31-y31+x41-y41<500
x11-y11+x21-y21+x31-y31+x41-y41+x51-y51<500
x11-y11+x21-y21+x31-y31+x41-y41+x51-y51+x61-y61=0
x12-y12<500
x12-y12+x22-y22<500
x12-y12+x22-y22+x32-y32<500
x12-y12+x22-y22+x32-y32+x42-y42<500
x12-y12+x22-y22+x32-y32+x42-y42+x52-y52<500
x12-y12+x22-y22+x32-y32+x42-y42+x52-y52+x62-y62=0
x13-y13<500
x13-y13+x23-y23<500
x13-y13+x23-y23+x33-y33<500
x13-y13+x23-y23+x33-y33+x43-y43<500
x13-y13+x23-y23+x33-y33+x43-y43+x53-y53<500
x13-y13+x23-y23+x33-y33+x43-y43+x53-y53+x63-y63=0
x14-y14<500
x14-y14+x24-y24<500
x14-y14+x24-y24+x34-y34<500
x14-y14+x24-y24+x34-y34+x44-y44<500
x14-y14+x24-y24+x34-y34+x44-y44+x54-y54<500
x14-y14+x24-y24+x34-y34+x44-y44+x54-y54+x64-y64=0
x15-y15<500
x15-y15+x25-y25<500
x15-y15+x25-y25+x35-y35<500
x15-y15+x25-y25+x35-y35+x45-y45<500
x15-y15+x25-y25+x35-y35+x45-y45+x55-y55<500
x15-y15+x25-y25+x35-y35+x45-y45+x55-y55+x65-y65=0
end
把文字去掉用lindo6.1运行结果就出来了
max 2250y11+2250y12+2250y13+2250y14+2250y15+2250y21+2250y22+2250y23+2250y24+2250y25+2250y31+2250y32+2250y33+2250y34+2250y35+2250y41+2250y42+2250y43+2250y45+2250y51+2250y52+2250y53+2250y54+2250y55+2250y61+2250y62+2250y63+2250y64+2250y65-1650x11-1800x12-1950x13-1650x14-1725x15-1950x21-1950x22-1650x23-1350x24-1725x25-1650x31-2100x32-1950x33-1500x34-1425x35-1800x41-1650x42-1800x43-1800x44-1875x45-1500x51-1800x52-2250x53-1650x54-1575x55-1350x61-1500x62-2100x63-1200x64-2023x65-375x11+375y11-300x21+300y21-225x31+225y31-150x41+150y41-75x51+75y51-375x12+375y12-300x22+300y22-225x32+225y32-150x42+150y42-75x52+75y52-375x13+375y13-300x23+300y23-225x33+225y33-150x43+150y43-75x53+75y53-375x14+375y14-300x24+300y24-225x34+225y34-150x44+150y44-75x54+75y54-375x15+375y15-300x25+300y25-225x35+225y35-150x45+150y45-75x55+75y55-1125000(减去125000这个常数运行不出,去掉常数有运行结果)
st
采购总量=加工量
x11+x21+x31+x41+x51+x61-y11-y21-y31-y41-y51-y61=0
x12+x22+x32+x42+x52+x61-y12-y22-y32-y42-y52-y62=0
x13+x23+x33+x43+x53+x63-y13-y23-y33-y43-y53-y63=0
x14+x24+x34+x44+x54+x64-y14-y24-y34-y44-y54-y64=0
x15+x25+x35+x45+x55+x65-y15-y25-y35-y45-y55-y65=0
杂质
0.088y11+0.061y12+0.020y13+0.042y14+0.50y15-0.03y11-0.03y12-0.03y13-0.03y14-0.03y15>0
0.088y21+0.061y22+0.020y23+0.042y24+0.50y25-0.03y21-0.03y22-0.03y23-0.03y24-0.03y25>0
0.088y31+0.061y32+0.020y33+0.042y34+0.50y35-0.03y31-0.03y32-0.03y33-0.03y34-0.03y35>0
0.088y41+0.061y42+0.020y43+0.042y44+0.50y45-0.03y41-0.03y42-0.03y43-0.03y44-0.03y45>0
0.088y51+0.061y52+0.020y53+0.042y54+0.50y55-0.03y51-0.03y52-0.03y53-0.03y54-0.03y55>0
0.088y61+0.061y62+0.020y63+0.042y64+0.50y65-0.03y61-0.03y62-0.03y63-0.03y64-0.03y65>0
0.088y11+0.061y12+0.020y13+0.042y14+0.50y15-0.06y11-0.06y12-0.06y13-0.06y14-0.06y15<0
0.088y21+0.061y22+0.020y23+0.042y24+0.50y25-0.06y21-0.06y22-0.06y23-0.06y24-0.06y25<0
0.088y31+0.061y32+0.020y33+0.042y34+0.50y35-0.06y31-0.06y32-0.06y33-0.06y34-0.06y35<0
0.088y41+0.061y42+0.020y43+0.042y44+0.50y45-0.06y41-0.06y42-0.06y43-0.06y44-0.06y45<0
0.088y51+0.061y52+0.020y53+0.042y54+0.50y55-0.06y51-0.06y52-0.06y53-0.06y54-0.06y55<0
0.088y61+0.061y62+0.020y63+0.042y64+0.50y65-0.06y61-0.06y62-0.06y63-0.06y64-0.06y65<0
每月生产量
y11+y12<200
y21+y22<200
y31+y32<200
y41+y42<200
y51+y52<200
y61+y62<200
y13+y14+y15<250
y23+y24+y25<250
y33+y34+y35<250
y43+y44+y45<250
y53+y54+y55<250
y63+y64+y65<250
存量
x11-y11<500
x11-y11+x21-y21<500
x11-y11+x21-y21+x31-y31<500
x11-y11+x21-y21+x31-y31+x41-y41<500
x11-y11+x21-y21+x31-y31+x41-y41+x51-y51<500
x11-y11+x21-y21+x31-y31+x41-y41+x51-y51+x61-y61=0
x12-y12<500
x12-y12+x22-y22<500
x12-y12+x22-y22+x32-y32<500
x12-y12+x22-y22+x32-y32+x42-y42<500
x12-y12+x22-y22+x32-y32+x42-y42+x52-y52<500
x12-y12+x22-y22+x32-y32+x42-y42+x52-y52+x62-y62=0
x13-y13<500
x13-y13+x23-y23<500
x13-y13+x23-y23+x33-y33<500
x13-y13+x23-y23+x33-y33+x43-y43<500
x13-y13+x23-y23+x33-y33+x43-y43+x53-y53<500
x13-y13+x23-y23+x33-y33+x43-y43+x53-y53+x63-y63=0
x14-y14<500
x14-y14+x24-y24<500
x14-y14+x24-y24+x34-y34<500
x14-y14+x24-y24+x34-y34+x44-y44<500
x14-y14+x24-y24+x34-y34+x44-y44+x54-y54<500
x14-y14+x24-y24+x34-y34+x44-y44+x54-y54+x64-y64=0
x15-y15<500
x15-y15+x25-y25<500
x15-y15+x25-y25+x35-y35<500
x15-y15+x25-y25+x35-y35+x45-y45<500
x15-y15+x25-y25+x35-y35+x45-y45+x55-y55<500
x15-y15+x25-y25+x35-y35+x45-y45+x55-y55+x65-y65=0
end
把文字去掉用lindo6.1运行结果就出来了
追问
什么是lindo6.1?怎样去掉文字?
本回答被提问者采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |