求lingo高手帮忙解这道题,急,在线等啊!!!!

可以把计算结果截图发给我,我抠抠一四六八六九零四四一,大谢谢啊,只要像模像样就行,满意再追加50财富值

这是一个批量生产计划最优化问题,

特点是:

 1、每日的产量可以用来满足当天的需求也可以存起来满足后面的时间的需求

2、成本有固定成本、可变成本、库存成本三种,目标是使整个计划的总成本最小

3、注意在当日没有生产的情况下,当日的固定成本为0


使用LINGO得到的结果如下(程序见附件):

Global optimal solution found.

  Objective value:                              216820.0

  Objective bound:                              216820.0

  Infeasibilities:                              0.000000

  Extended solver steps:                              33

  Total solver iterations:                          1556


  Model Class:                                      MILP


  Total variables:                     66

  Nonlinear variables:                  0

  Integer variables:                   54


  Total constraints:                   41

  Nonlinear constraints:                0


  Total nonzeros:                     303

  Nonlinear nonzeros:                   0


                                Variable           Value        Reduced Cost

                                      VC        100.0000            0.000000

                                      SC        10.00000            0.000000

                                     LMT        70.00000            0.000000

                                       M        2000.000            0.000000

                                      C1        35900.00            0.000000

                                      C2        180000.0            0.000000

                                      C3        920.0000            0.000000

                              DEMAND( 1)        20.00000            0.000000

                              DEMAND( 2)        23.00000            0.000000

                              DEMAND( 3)        51.00000            0.000000

                              DEMAND( 4)        30.00000            0.000000

                              DEMAND( 5)        34.00000            0.000000

                              DEMAND( 6)        56.00000            0.000000

                              DEMAND( 7)        56.00000            0.000000

                              DEMAND( 8)        78.00000            0.000000

                              DEMAND( 9)        11.00000            0.000000

                                  FC( 1)        30000.00            0.000000

                                  FC( 2)        0.000000            0.000000

                                  FC( 3)        30000.00            0.000000

                                  FC( 4)        30000.00            0.000000

                                  FC( 5)        0.000000            0.000000

                                  FC( 6)        30000.00            0.000000

                                  FC( 7)        30000.00            0.000000

                                  FC( 8)        30000.00            0.000000

                                  FC( 9)        0.000000            0.000000

                                  IV( 1)        1.000000            30000.00

                                  IV( 2)        0.000000            30000.00

                                  IV( 3)        1.000000            30000.00

                                  IV( 4)        1.000000            30000.00

                                  IV( 5)        0.000000            30000.00

                                  IV( 6)        1.000000            30000.00

                                  IV( 7)        1.000000            30000.00

                                  IV( 8)        1.000000            30000.00

                                  IV( 9)        0.000000            30000.00

                                X( 1, 1)        20.00000            100.0000

                                X( 1, 2)        23.00000            110.0000

                                X( 1, 3)        0.000000            120.0000

                                X( 1, 4)        0.000000            130.0000

                                X( 1, 5)        0.000000            140.0000

                                X( 1, 6)        0.000000            150.0000

                                X( 1, 7)        0.000000            160.0000

                                X( 1, 8)        0.000000            170.0000

                                X( 1, 9)        0.000000            180.0000

                                X( 2, 2)        0.000000            100.0000

                                X( 2, 3)        0.000000            110.0000

                                X( 2, 4)        0.000000            120.0000

                                X( 2, 5)        0.000000            130.0000

                                X( 2, 6)        0.000000            140.0000

                                X( 2, 7)        0.000000            150.0000

                                X( 2, 8)        0.000000            160.0000

                                X( 2, 9)        0.000000            170.0000

                                X( 3, 3)        51.00000            100.0000

                                X( 3, 4)        0.000000            110.0000

                                X( 3, 5)        0.000000            120.0000

                                X( 3, 6)        0.000000            130.0000

                                X( 3, 7)        0.000000            140.0000

                                X( 3, 8)        0.000000            150.0000

                                X( 3, 9)        0.000000            160.0000

                                X( 4, 4)        30.00000            100.0000

                                X( 4, 5)        34.00000            110.0000

                                X( 4, 6)        0.000000            120.0000

                                X( 4, 7)        0.000000            130.0000

                                X( 4, 8)        0.000000            140.0000

                                X( 4, 9)        0.000000            150.0000

                                X( 5, 5)        0.000000            100.0000

                                X( 5, 6)        0.000000            110.0000

                                X( 5, 7)        0.000000            120.0000

                                X( 5, 8)        0.000000            130.0000

                                X( 5, 9)        0.000000            140.0000

                                X( 6, 6)        56.00000            100.0000

                                X( 6, 7)        5.000000            110.0000

                                X( 6, 8)        0.000000            120.0000

                                X( 6, 9)        0.000000            130.0000

                                X( 7, 7)        51.00000            100.0000

                                X( 7, 8)        8.000000            110.0000

                                X( 7, 9)        11.00000            120.0000

                                X( 8, 8)        70.00000            100.0000

                                X( 8, 9)        0.000000            110.0000

                                X( 9, 9)        0.000000            100.0000

即:第一天生产43单位,第二天生产0,第三天生产51,第四天生产64,第五天生产0,第六天生产61,第七天生产70,第八天生产80,第九天生产0.

温馨提示:内容为网友见解,仅供参考
无其他回答

求lingo高手帮忙解这道题,急,在线等啊!!!
1、每日的产量可以用来满足当天的需求也可以存起来满足后面的时间的需求 2、成本有固定成本、可变成本、库存成本三种,目标是使整个计划的总成本最小 3、注意在当日没有生产的情况下,当日的固定成本为0 使用LINGO得到的结果如下(程序见附件):Global optimal solution found.Objective value: 216820....

Lingo程序有问题,请高手帮忙!!!急!!!
倒数第二行改成@for(fenpei:kai=@IF(((@sum(mianshi:p*p)#eq#2)#or#(@sum(mianshi:p*p)#eq#3)),1, 0));应该是程序有问题 你应该注意程序的可读性,现在这样的很不规范

请高手帮忙 看一下此lingo程序错在哪里? 急!!!
你程序中这两行 for(data(n)|n#GT#1:(p-q)*x(n-1)+(1-r)*(p+q)*u(n-1)>=x(n)-(1-r)*u(n));for(data(n)|n#GT#1:(p-q)*x(n-1)-(1-r)*(p+q)*u(n-1)<=x(n)+(1-r)*u(n));data要改成datas,你那样集合名没统一 你试试 ...

请LINGO高手帮忙解释“@FOR(CUTS(I)|I#LT#@SIZE(CUTS):X(I)>X(I+1...
按照cuts集合里的数进行循环,i小于cuts集合的数据个数,

lingo优化问题,请高手帮忙!急急急!
demand\/1..13\/:a,x;cost\/1..6\/:b,q;other\/1..6\/:t;link(demand,cost):y;group(other,other):m;endsets data:a=45,60,80,110,80,60,50,90,80,100,100,120,190;b=20,40,70,100,50,0;t=50,60,80,90,100,100;x=6,5,3,1,1,2,2,1,1,1,1,1,10;enddata q(1)=...

lingo软件编程,高手帮帮忙!
lingo软件编程,高手帮帮忙! 150 某建筑公司有四个建筑工地地准备开工,该公司有两个金属构件生产车间,有三个仓库,内存三种规格钢材,一种规格塑钢门窗(成套使用)。仓库的钢材品种及拥有量见表2.1,构件车间生产的... 某建筑公司有四个建筑工地地准备开工,该公司有两个金属构件生产车间,有三个仓库,内存三种规格钢材...

LINGO程序出错,请高手进来帮我,很急很急啊
myset1\/1..3\/: L;link(myset1,myset): x;endsets data:T=25 36 32 15 31 28 22 12;!这里缺少一个分号;S=5 7 5 4 6 5 5 3; !这里缺少一个分号;enddata min=0.66*Q^0.51*20+@sum(myset(j):myset1(i):(@sum(x(i,j)));!这里语法错,但是不是很清楚楼主的意思所以...

lingo高手请进!
calc里面第一个;去掉 for(cha(i):p1(i)=0.95*p0(i-note(i-1)+0.05*p0(i)));这一句除了问题,不知道你的模型所以不能说哪里有问题 还是看不大懂你的程序,如果lingo不行 用matlab试一下

lingo程序运行不出来出现错误,请高手帮忙!谢谢
1. 由于缺乏数据段,可能导致程序难以运行。错误可能源于数据段的处理。2. 在最后一句中,"n"似乎是一个无关的变量,并未在其他约束条件中出现。这可能是需要修改的另一处错误。3. 楼主需要注意的一个问题是,目标函数是非线性的,而且处理的数据是一个1000*100的矩阵。使用Lingo软件解这个问题可能会...

初学者向Lingo高手请教关于Lingo程序的小问题,非常感谢!
可以设计成3维问题,例子如下:model:sets:a\/1..2\/:x;b\/1..2\/:y;c\/1..2\/:z;links(a,b,c)|&2#NE#&1:k,m;endsets data:x=1,2;y=1,2;z=1,3;m=1,2,3,4;enddata max=@sum(links:k*m);for(links:@bin(k));end 你试一下就可以看到结果表示形式。第三个问题不太...

相似回答
大家正在搜