lingo解答 30
1个回答
展开全部
(1)按照肉用种鸡公司标准,求1kg配合饲料中每种原料各配多少成本最低,建立数学模型并求解。
Minz=0.68x1+0.72x2+0.23x3+0.22x4+0.37x5+0.32x6+1.54x7+0.38x8+23x9+0.56x10+0.12x11+0.42x12;
3.35x1+3.08x2+1.78x3+2.10x4+2.40x5+1.62x6+2.80x7+1.61x8≥2.7;
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8≥135;
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8≤145;
16x1+22x2+95x3+72x4+49x5+113x6+108x8≤45;
2.3x1+3.4x2+6.0x3+6.5x4+24.1x5+8.1x6+29.1x7+10.6x8≥5.6;
1.2x1+1.7x2+2.3x3+2.7x4+5.1x5+7.1x6+11.8x7+2.2x8+980x9≥2.6;
0.7x1+0.6x2+0.3x3+1.0x4+3.2x5+5.3x6+63x7+4.0x8+300x10+400x11≥30;
0.3x1+0.34x2+10.0x3+13.0x4+5.0x5+8.4x6+27x6+4.0x8+140x9≥5;
1000x12=3.7;
X1+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11+x12=1;
X1≥0.4,x2≥0.1,x3≥0.1,x4≤0.15,x5≤0.1,x6≥0.03,x7≥0.05,x8≥0.03;
X1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12≥0;
(2) 按照肉用种鸡国家标准,求1kg配合饲料中每种原料各配多少成本最低。
Minz=0.68x1+0.72x2+0.23x3+0.22x4+0.37x5+0.32x6+1.54x7+0.38x8+23x9+0.56x10+0.12x11+0.42x12
3.35x1+3.08x2+1.78x3+2.10x4+2.40x5+1.62x6+2.80x7+1.61x8≥2.7
3.35x1+3.08x2+1.78x3+2.10x4+2.40x5+1.62x6+2.80x7+1.61x8≤2.8
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8≥135
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8≤145
16x1+22x2+95x3+72x4+49x5+113x6+108x8﹤50
2.3x1+3.4x2+6.0x3+6.5x4+24.1x5+8.1x6+29.1x7+10.6x8≥5.6
1.2x1+1.7x2+2.3x3+2.7x4+5.1x5+7.1x6+11.8x7+2.2x8+980x9≥2.5
0.7x1+0.6x2+0.3x3+1.0x4+3.2x5+5.3x6+63x7+4.0x8+300x10+400x11≥23
0.7x1+0.6x2+0.3x3+1.0x4+3.2x5+5.3x6+63x7+4.0x8+300x10+400x11≤40
0.3x1+0.34x2+10.0x3+13.0x4+5.0x5+8.4x6+27x6+4.0x8+140x9≥4.6
0.3x1+0.34x2+10.0x3+13.0x4+5.0x5+8.4x6+27x6+4.0x8+140x9≤6.5 1000x12=3.7
X1+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11+x12=1
X1≥0.4,x2≥0.1,x3≥0.1,x4≤0.15,x5≤0.1,x6≥0.03,x7≥0.05,x8≥0.03,
X1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12≥0
(3)公司采购了一批花生饼,单价是0.6元/kg,代谢能到有机磷的含量分别为(2.4,38,120,0,0.92,0.15,0.17),求肉用种鸡成本最低的配料方案。新增一种原料为x13,约束条件不变。所以两种肉用种鸡的配料方案的问题的数学模型为:
①按照肉用种鸡公司标准:
Minz=0.68x1+0.72x2+0.23x3+0.22x4+0.37x5+0.32x6+1.54x7+0.38x8+23x9+0.56x10+0.12x11+0.42x12+0.6x13
3.35x1+3.08x2+1.78x3+2.10x4+2.40x5+1.62x6+2.80x7+1.61x8+2.4x13≥2.7
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8+38x13≥135
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8+38x13≤145
16x1+22x2+95x3+72x4+49x5+113x6+108x8+120x13≤45
2.3x1+3.4x2+6.0x3+6.5x4+24.1x5+8.1x6+29.1x7+10.6x8≥5.6
1.2x1+1.7x2+2.3x3+2.7x4+5.1x5+7.1x6+11.8x7+2.2x8+980x9+0.92x13≥
2.6
0.7x1+0.6x2+0.3x3+1.0x4+3.2x5+5.3x6+63x7+4.0x8+300x10+400x11+0.15x13≥30
0.3x1+0.34x2+10.0x3+13.0x4+5.0x5+8.4x6+27x6+4.0x8+140x90.17x13≥5
1000x12=3.7
X1+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11+x12+x13=1
X1≥0.4,x2≥0.1,x3≥0.1,x4≤0.15,x5≤0.1,x6≥0.03,x7≥0.05,x8≥0.03,
X1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12≥0
②按照肉用种鸡国家标准:
Minz=0.68x1+0.72x2+0.23x3+0.22x4+0.37x5+0.32x6+1.54x7+0.38x8+23x9+0.56x10+0.12x11+0.42x12+0.6x13
3.35x1+3.08x2+1.78x3+2.10x4+2.40x5+1.62x6+2.80x7+1.61x8+2.4x13≥2.7
3.35x1+3.08x2+1.78x3+2.10x4+2.40x5+1.62x6+2.80x7+1.61x8+2.4x13≤2.8
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8+38x13≥135
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8+38x13≤145
16x1+22x2+95x3+72x4+49x5+113x6+108x8+120x13﹤50
2.3x1+3.4x2+6.0x3+6.5x4+24.1x5+8.1x6+29.1x7+10.6x8≥5.6
1.2x1+1.7x2+2.3x3+2.7x4+5.1x5+7.1x6+11.8x7+2.2x8+980x9+0.92x13≥
2.5
0.7x1+0.6x2+0.3x3+1.0x4+3.2x5+5.3x6+63x7+4.0x8+300x10+400x11+0.15x13≥23
0.7x1+0.6x2+0.3x3+1.0x4+3.2x5+5.3x6+63x7+4.0x8+300x10+400x11+0.15x13≤40
0.3x1+0.34x2+10.0x3+13.0x4+5.0x5+8.4x6+27x6+4.0x8+140x9+0.17x13≥
4.6
Minz=0.68x1+0.72x2+0.23x3+0.22x4+0.37x5+0.32x6+1.54x7+0.38x8+23x9+0.56x10+0.12x11+0.42x12;
3.35x1+3.08x2+1.78x3+2.10x4+2.40x5+1.62x6+2.80x7+1.61x8≥2.7;
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8≥135;
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8≤145;
16x1+22x2+95x3+72x4+49x5+113x6+108x8≤45;
2.3x1+3.4x2+6.0x3+6.5x4+24.1x5+8.1x6+29.1x7+10.6x8≥5.6;
1.2x1+1.7x2+2.3x3+2.7x4+5.1x5+7.1x6+11.8x7+2.2x8+980x9≥2.6;
0.7x1+0.6x2+0.3x3+1.0x4+3.2x5+5.3x6+63x7+4.0x8+300x10+400x11≥30;
0.3x1+0.34x2+10.0x3+13.0x4+5.0x5+8.4x6+27x6+4.0x8+140x9≥5;
1000x12=3.7;
X1+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11+x12=1;
X1≥0.4,x2≥0.1,x3≥0.1,x4≤0.15,x5≤0.1,x6≥0.03,x7≥0.05,x8≥0.03;
X1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12≥0;
(2) 按照肉用种鸡国家标准,求1kg配合饲料中每种原料各配多少成本最低。
Minz=0.68x1+0.72x2+0.23x3+0.22x4+0.37x5+0.32x6+1.54x7+0.38x8+23x9+0.56x10+0.12x11+0.42x12
3.35x1+3.08x2+1.78x3+2.10x4+2.40x5+1.62x6+2.80x7+1.61x8≥2.7
3.35x1+3.08x2+1.78x3+2.10x4+2.40x5+1.62x6+2.80x7+1.61x8≤2.8
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8≥135
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8≤145
16x1+22x2+95x3+72x4+49x5+113x6+108x8﹤50
2.3x1+3.4x2+6.0x3+6.5x4+24.1x5+8.1x6+29.1x7+10.6x8≥5.6
1.2x1+1.7x2+2.3x3+2.7x4+5.1x5+7.1x6+11.8x7+2.2x8+980x9≥2.5
0.7x1+0.6x2+0.3x3+1.0x4+3.2x5+5.3x6+63x7+4.0x8+300x10+400x11≥23
0.7x1+0.6x2+0.3x3+1.0x4+3.2x5+5.3x6+63x7+4.0x8+300x10+400x11≤40
0.3x1+0.34x2+10.0x3+13.0x4+5.0x5+8.4x6+27x6+4.0x8+140x9≥4.6
0.3x1+0.34x2+10.0x3+13.0x4+5.0x5+8.4x6+27x6+4.0x8+140x9≤6.5 1000x12=3.7
X1+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11+x12=1
X1≥0.4,x2≥0.1,x3≥0.1,x4≤0.15,x5≤0.1,x6≥0.03,x7≥0.05,x8≥0.03,
X1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12≥0
(3)公司采购了一批花生饼,单价是0.6元/kg,代谢能到有机磷的含量分别为(2.4,38,120,0,0.92,0.15,0.17),求肉用种鸡成本最低的配料方案。新增一种原料为x13,约束条件不变。所以两种肉用种鸡的配料方案的问题的数学模型为:
①按照肉用种鸡公司标准:
Minz=0.68x1+0.72x2+0.23x3+0.22x4+0.37x5+0.32x6+1.54x7+0.38x8+23x9+0.56x10+0.12x11+0.42x12+0.6x13
3.35x1+3.08x2+1.78x3+2.10x4+2.40x5+1.62x6+2.80x7+1.61x8+2.4x13≥2.7
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8+38x13≥135
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8+38x13≤145
16x1+22x2+95x3+72x4+49x5+113x6+108x8+120x13≤45
2.3x1+3.4x2+6.0x3+6.5x4+24.1x5+8.1x6+29.1x7+10.6x8≥5.6
1.2x1+1.7x2+2.3x3+2.7x4+5.1x5+7.1x6+11.8x7+2.2x8+980x9+0.92x13≥
2.6
0.7x1+0.6x2+0.3x3+1.0x4+3.2x5+5.3x6+63x7+4.0x8+300x10+400x11+0.15x13≥30
0.3x1+0.34x2+10.0x3+13.0x4+5.0x5+8.4x6+27x6+4.0x8+140x90.17x13≥5
1000x12=3.7
X1+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11+x12+x13=1
X1≥0.4,x2≥0.1,x3≥0.1,x4≤0.15,x5≤0.1,x6≥0.03,x7≥0.05,x8≥0.03,
X1,x2,x3,x4,x5,x6,x7,x8,x9,x10,x11,x12≥0
②按照肉用种鸡国家标准:
Minz=0.68x1+0.72x2+0.23x3+0.22x4+0.37x5+0.32x6+1.54x7+0.38x8+23x9+0.56x10+0.12x11+0.42x12+0.6x13
3.35x1+3.08x2+1.78x3+2.10x4+2.40x5+1.62x6+2.80x7+1.61x8+2.4x13≥2.7
3.35x1+3.08x2+1.78x3+2.10x4+2.40x5+1.62x6+2.80x7+1.61x8+2.4x13≤2.8
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8+38x13≥135
78x1+114x2+142x3+117x4+402x5+360x6+450x7+170x8+38x13≤145
16x1+22x2+95x3+72x4+49x5+113x6+108x8+120x13﹤50
2.3x1+3.4x2+6.0x3+6.5x4+24.1x5+8.1x6+29.1x7+10.6x8≥5.6
1.2x1+1.7x2+2.3x3+2.7x4+5.1x5+7.1x6+11.8x7+2.2x8+980x9+0.92x13≥
2.5
0.7x1+0.6x2+0.3x3+1.0x4+3.2x5+5.3x6+63x7+4.0x8+300x10+400x11+0.15x13≥23
0.7x1+0.6x2+0.3x3+1.0x4+3.2x5+5.3x6+63x7+4.0x8+300x10+400x11+0.15x13≤40
0.3x1+0.34x2+10.0x3+13.0x4+5.0x5+8.4x6+27x6+4.0x8+140x9+0.17x13≥
4.6
追问
lingo语言程序语言怎么写model:
sets:...................................................................
追答
全部用*号和;号,如下:
Min=0.68*x1+0.72*x2+0.23*x3+0.22*x4+0.37*x5+0.32*x6+1.54*x7+0.38*x8+23*x9+0.56*x10+0.12*x11+0.42*x12;
3.35*x1+3.08*x2+1.78*x3+2.10*x4+2.40*x5+1.62*x6+2.80*x7+1.61*x8≥2.7;
78*x1+114*x2+142*x3+117*x4+402*x5+360*x6+450*x7+170*x8≥135;
78*x1+114*x2+142*x3+117*x4+402*x5+360*x6+450*x7+170*x8≤145;
16*x1+22*x2+95*x3+72*x4+49*x5+113*x6+108*x8≤45;
2.3*x1+3.4*x2+6.0*x3+6.5*x4+24.1*x5+8.1*x6+29.1*x7+10.6*x8≥5.6;
1.2*x1+1.7*x2+2.3*x3+2.7*x4+5.1*x5+7.1*x6+11.8*x7+2.2*x8+980*x9≥2.6;
0.7*x1+0.6*x2+0.3*x3+1.0*x4+3.2*x5+5.3*x6+63*x7+4.0*x8+300*x10+400*x11≥30;
0.3*x1+0.34*x2+10.0*x3+13.0*x4+5.0*x5+8.4*x6+27*x6+4.0*x8+140*x9≥5;
1000*x12=3.7;
X1+x2+x3+x4+x5+x6+x7+x8+x9+x10+x11+x12=1;
X1≥0.4;x2≥0.1;x3≥0.1;x4≤0.15;x5≤0.1;x6≥0.03;x7≥0.05;x8≥0.03;
来自:求助得到的回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询