線性規(guī)劃的靈敏度分析實(shí)驗(yàn)報(bào)告_第1頁(yè)
線性規(guī)劃的靈敏度分析實(shí)驗(yàn)報(bào)告_第2頁(yè)
線性規(guī)劃的靈敏度分析實(shí)驗(yàn)報(bào)告_第3頁(yè)
線性規(guī)劃的靈敏度分析實(shí)驗(yàn)報(bào)告_第4頁(yè)
線性規(guī)劃的靈敏度分析實(shí)驗(yàn)報(bào)告_第5頁(yè)
已閱讀5頁(yè),還剩24頁(yè)未讀, 繼續(xù)免費(fèi)閱讀

下載本文檔

版權(quán)說(shuō)明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請(qǐng)進(jìn)行舉報(bào)或認(rèn)領(lǐng)

文檔簡(jiǎn)介

-.z."運(yùn)籌學(xué)/線性規(guī)劃"實(shí)驗(yàn)報(bào)告實(shí)驗(yàn)室:實(shí)驗(yàn)日期:實(shí)驗(yàn)工程線性規(guī)劃的靈敏度分析系別數(shù)學(xué)系姓名學(xué)號(hào)班級(jí)指導(dǎo)教師成績(jī)一實(shí)驗(yàn)?zāi)康恼莆沼肔ingo/Lindo對(duì)線性規(guī)劃問(wèn)題進(jìn)展靈敏度分析的方法,理解解報(bào)告的內(nèi)容。初步掌握對(duì)實(shí)際的線性規(guī)劃問(wèn)題建立數(shù)學(xué)模型,并利用計(jì)算機(jī)求解分析的一般方法。二實(shí)驗(yàn)環(huán)境Lingo軟件三實(shí)驗(yàn)內(nèi)容〔包括數(shù)學(xué)模型、上機(jī)程序、實(shí)驗(yàn)結(jié)果、結(jié)果分析與問(wèn)題解答等〕例題2-10MODEL:[_1]MA*=2**_1+3**_2;[_2]*_1+2**_2+*_3=8;[_3]4**_1+*_4=16;[_4]4**_2+*_5=12;END編程sets:is/1..3/:b;js/1..5/:c,*;links(is,js):a;endsetsma*=sum(js(J):c(J)**(J));for(is(I):sum(js(J):a(I,J)**(J))=b(I));data:c=23000;b=81612;a=121004001004001;enddataend靈敏度分析Rangesinwhichthebasisisunchanged:ObjectiveCoefficientRangesCurrentAllowableAllowableVariableCoefficientIncreaseDecrease*(1)2.000000INFINITY0.5000000*(2)3.0000001.0000003.000000*(3)0.01.500000INFINITY*(4)0.00.1250000INFINITY*(5)0.00.75000000.2500000RighthandSideRangesRowCurrentAllowableAllowableRHSIncreaseDecrease28.0000002.0000004.000000316.0000016.000008.000000412.00000INFINITY4.000000當(dāng)b2在 [8,32]之間變化時(shí)最優(yōu)基不變最優(yōu)解Globaloptimalsolutionfoundatiteration:0Objectivevalue:14.00000VariableValueReducedCostB(1)8.0000000.000000B(2)16.000000.000000B(3)12.000000.000000C(1)2.0000000.000000C(2)3.0000000.000000C(3)0.0000000.000000C(4)0.0000000.000000C(5)0.0000000.000000*(1)4.0000000.000000*(2)2.0000000.000000*(3)0.0000001.500000*(4)0.0000000.1250000*(5)4.0000000.000000A(1,1)1.0000000.000000A(1,2)2.0000000.000000A(1,3)1.0000000.000000A(1,4)0.0000000.000000A(1,5)0.0000000.000000A(2,1)4.0000000.000000A(2,2)0.0000000.000000A(2,3)0.0000000.000000A(2,4)1.0000000.000000A(2,5)0.0000000.000000A(3,1)0.0000000.000000A(3,2)4.0000000.000000A(3,3)0.0000000.000000A(3,4)0.0000000.000000A(3,5)1.0000000.000000RowSlackorSurplusDualPrice114.000001.00000020.0000001.50000030.0000000.125000040.0000000.000000例題2-11模型MA*2*(1)+3*(2)SUBJECTTO2]*(1)+2*(2)+*(3)=123]4*(1)+*(4)=164]4*(2)+*(5)=12END編程sets:is/1..3/:b;js/1..5/:c,*;links(is,js):a;endsetsma*=sum(js(J):c(J)**(J));for(is(I):sum(js(J):a(I,J)**(J))=b(I));data:c=23000;b=121612;a=121004001004001;enddataend最優(yōu)解Globaloptimalsolutionfoundatiteration:2Objectivevalue:17.00000VariableValueReducedCostB(1)12.000000.000000B(2)16.000000.000000B(3)12.000000.000000C(1)2.0000000.000000C(2)3.0000000.000000C(3)0.0000000.000000C(4)0.0000000.000000C(5)0.0000000.000000*(1)4.0000000.000000*(2)3.0000000.000000*(3)2.0000000.000000*(4)0.0000000.5000000*(5)0.0000000.7500000A(1,1)1.0000000.000000A(1,2)2.0000000.000000A(1,3)1.0000000.000000A(1,4)0.0000000.000000A(1,5)0.0000000.000000A(2,1)4.0000000.000000A(2,2)0.0000000.000000A(2,3)0.0000000.000000A(2,4)1.0000000.000000A(2,5)0.0000000.000000A(3,1)0.0000000.000000A(3,2)4.0000000.000000A(3,3)0.0000000.000000A(3,4)0.0000000.000000A(3,5)1.0000000.000000RowSlackorSurplusDualPrice117.000001.00000020.0000000.00000030.0000000.500000040.0000000.7500000最優(yōu)解〔4,3,2,0,0〕最優(yōu)值z(mì)=17分析Rangesinwhichthebasisisunchanged:ObjectiveCoefficientRangesCurrentAllowableAllowableVariableCoefficientIncreaseDecrease*(1)2.000000INFINITY2.000000*(2)3.000000INFINITY3.000000*(3)0.01.500000INFINITY*(4)0.00.5000000INFINITY*(5)0.00.7500000INFINITYRighthandSideRangesRowCurrentAllowableAllowableRHSIncreaseDecrease212.00000INFINITY2.000000316.000008.00000016.00000412.000004.00000012.00000例題2-12模型MA*2*(1)+3*(2)SUBJECTTO2]*(1)+2*(2)+*(3)=83]4*(1)+*(4)=164]4*(2)+*(5)=12END編程sets:is/1..3/:b;js/1..5/:c,*;links(is,js):a;endsetsma*=sum(js(J):c(J)**(J));for(is(I):sum(js(J):a(I,J)**(J))=b(I));data:c=23000;b=81612;a=121004001004001;enddataend靈敏度分析Rangesinwhichthebasisisunchanged:ObjectiveCoefficientRangesCurrentAllowableAllowableVariableCoefficientIncreaseDecrease*(1)2.000000INFINITY0.5000000*(2)3.0000001.0000003.000000*(3)0.01.500000INFINITY*(4)0.00.1250000INFINITY*(5)0.00.75000000.2500000RighthandSideRangesRowCurrentAllowableAllowableRHSIncreaseDecrease28.0000002.0000004.000000316.0000016.000008.000000412.00000INFINITY4.000000由靈敏度分析表知道C2在【0,4】之間變化時(shí),最優(yōu)基不變。第六題模型MODEL:[_1]MA*=3**_1+*_2+4**_3;[_2]6**_1+3**_2+5**_3<=450;[_3]3**_1+4**_2+5**_3<=300;END編程sets:is/1..2/:b;js/1..3/:c,*;links(is,js):a;endsetsma*=sum(js(J):c(J)**(J));for(is(I):sum(js(J):a(I,J)**(J))<=b(I));data:c=314;b=450300;a=635345;enddataEnd最優(yōu)解Globaloptimalsolutionfound.Objectivevalue:270.0000Infeasibilities:0.000000Totalsolveriterations:2VariableValueReducedCostB(1)450.00000.000000B(2)300.00000.000000C(1)3.0000000.000000C(2)1.0000000.000000C(3)4.0000000.000000*(1)50.000000.000000*(2)0.0000002.000000*(3)30.000000.000000A(1,1)6.0000000.000000A(1,2)3.0000000.000000A(1,3)5.0000000.000000A(2,1)3.0000000.000000A(2,2)4.0000000.000000A(2,3)5.0000000.000000RowSlackorSurplusDualPrice1270.00001.00000020.0000000.200000030.0000000.6000000第一問(wèn):A生產(chǎn)50B生產(chǎn)0C生產(chǎn)30有最高利潤(rùn)270元;第二問(wèn):?jiǎn)蝹€(gè)價(jià)值系數(shù)和右端系數(shù)變化范圍的靈敏度分析結(jié)果Rangesinwhichthebasisisunchanged:ObjectiveCoefficientRangesCurrentAllowableAllowableVariableCoefficientIncreaseDecrease*(1)3.0000001.8000000.6000000*(2)1.0000002.000000INFINITY*(3)4.0000001.0000001.500000RighthandSideRangesRowCurrentAllowableAllowableRHSIncreaseDecrease2450.0000150.0000150.00003300.0000150.000075.00000當(dāng)A的利潤(rùn)在【2.4,4.8】之間變化時(shí),原最優(yōu)生產(chǎn)方案不變。第三問(wèn):模型MODEL:[_1]MA*=3**_1+*_2+4**_3+3**_4;[_2]6**_1+3**_2+5**_3+8**_4<=450;[_3]3**_1+4**_2+5**_3+2**_4<=300;END編程sets:is/1..2/:b;js/1..4/:c,*;links(is,js):a;endsetsma*=sum(js(J):c(J)**(J));for(is(I):sum(js(J):a(I,J)**(J))<=b(I));data:c=3143;b=450300;a=63583452;enddataEnd最優(yōu)解Globaloptimalsolutionfound.Objectivevalue:275.0000Infeasibilities:0.000000Totalsolveriterations:2VariableValueReducedCostB(1)450.00000.000000B(2)300.00000.000000C(1)3.0000000.000000C(2)1.0000000.000000C(3)4.0000000.000000C(4)3.0000000.000000*(1)0.0000000.1000000*(2)0.0000001.966667*(3)50.000000.000000*(4)25.000000.000000A(1,1)6.0000000.000000A(1,2)3.0000000.000000A(1,3)5.0000000.000000A(1,4)8.0000000.000000A(2,1)3.0000000.000000A(2,2)4.0000000.000000A(2,3)5.0000000.000000A(2,4)2.0000000.000000RowSlackorSurplusDualPrice1275.00001.00000020.0000000.233333330.0000000.5666667利潤(rùn)275元值得生產(chǎn)。第四問(wèn)由單個(gè)價(jià)值系數(shù)和右端系數(shù)變化范圍的靈敏度分析結(jié)果Rangesinwhichthebasisisunchanged:ObjectiveCoefficientRangesCurrentAllowableAllowableVariableCoefficientIncreaseDecrease*(1)3.0000001.8000000.6000000*(2)1.0000002.000000INFINITY*(3)4.0000001.0000001.500000RighthandSideRangesRowCurrentAllowableAllowableRHSIncreaseDecrease2450.0000150.0000150.00003300.0000150.000075.00000當(dāng)購(gòu)置150噸時(shí)此時(shí)可買(mǎi)360元在減去購(gòu)置150噸的進(jìn)價(jià)60元此時(shí)可獲利300超過(guò)了原方案,應(yīng)該購(gòu)置。第七題模型MODEL:[_1]MA*=30**_1+20**_2+50**_3;[_2]*_1+2**_2+*_3<=430;[_3]3**_1+2**_3<=410;[_4]*_1+4**_2<=420;[_5]*_1+*_2+*_3<=300;[_6]*_2>=70;[_7]*_3<=240;END編程sets:is/1..6/:b;js/1..3/:c,*;links(is,js):a;endsetsma*=sum(js(J):c(J)**(J));sum(js(J):a(1,J)**(J))<=b(1);sum(js(J):a(2,J)**(J))<=b(2);sum(js(J):a(3,J)**(J))<=b(3);sum(js(J):a(4,J)**(J))<=b(4);sum(js(J):a(5,J)**(J))>=B(5);sum(js(J):a(6,J)**(J))<=b(6);data:c=302050;b=43041042030070240;a=121302140111010001;enddataend最優(yōu)解Globaloptimalsolutionfound.Objectivevalue:12150.00Infeasibilities:0.000000Totalsolveriterations:4VariableValueReducedCostB(1)430.00000.000000B(2)410.00000.000000B(3)420.00000.000000B(4)300.00000.000000B(5)70.000000.000000B(6)240.00000.000000C(1)30.000000.000000C(2)20.000000.000000C(3)50.000000.000000*(1)0.00000035.00000*(2)95.000000.000000*(3)205.00000.000000A(1,1)1.0000000.000000A(1,2)2.0000000.000000A(1,3)1.0000000.000000A(2,1)3.0000000.000000A(2,2)0.0000000.000000A(2,3)2.0000000.000000A(3,1)1.0000000.000000A(3,2)4.0000000.000000A(3,3)0.0000000.000000A(4,1)1.0000000.000000A(4,2)1.0000000.000000A(4,3)1.0000000.000000A(5,1)0.0000000.000000A(5,2)1.0000000.000000A(5,3)0.0000000.000000A(6,1)0.0000000.000000A(6,2)0.0000000.000000A(6,3)1.0000000.000000RowSlackorSurplusDualPrice112150.001.000000235.000000.00000030.00000015.00000440.000000.00000050.00000020.00000625.000000.000000735.000000.000000最優(yōu)解〔095205〕最優(yōu)值12150第一問(wèn)模型MODEL:[_1]MA*=30**_1+20**_2+60**_3;[_2]*_1+2**_2+*_3<=430;[_3]3**_1+2**_3<=410;[_4]*_1+4**_2<=420;[_5]*_1+*_2+*_3<=300;[_6]*_2>=70;[_7]*_3<=190;END編程sets:is/1..6/:b;js/1..3/:c,*;links(is,js):a;endsetsma*=sum(js(J):c(J)**(J));sum(js(J):a(1,J)**(J))<=b(1);sum(js(J):a(2,J)**(J))<=b(2);sum(js(J):a(3,J)**(J))<=b(3);sum(js(J):a(4,J)**(J))<=b(4);sum(js(J):a(5,J)**(J))>=B(5);sum(js(J):a(6,J)**(J))<=b(6);data:c=302060;b=43041042030070190;a=121302140111010001;enddataend最優(yōu)解Globaloptimalsolutionfound.Objectivevalue:13700.00Infeasibilities:0.000000Totalsolveriterations:4VariableValueReducedCostB(1)430.00000.000000B(2)410.00000.000000B(3)420.00000.000000B(4)300.00000.000000B(5)70.000000.000000B(6)190.00000.000000C(1)30.000000.000000C(2)20.000000.000000C(3)60.000000.000000*(1)10.000000.000000*(2)100.00000.000000*(3)190.00000.000000A(1,1)1.0000000.000000A(1,2)2.0000000.000000A(1,3)1.0000000.000000A(2,1)3.0000000.000000A(2,2)0.0000000.000000A(2,3)2.0000000.000000A(3,1)1.0000000.000000A(3,2)4.0000000.000000A(3,3)0.0000000.000000A(4,1)1.0000000.000000A(4,2)1.0000000.000000A(4,3)1.0000000.000000A(5,1)0.0000000.000000A(5,2)1.0000000.000000A(5,3)0.0000000.000000A(6,1)0.0000000.000000A(6,2)0.0000000.000000A(6,3)1.0000000.000000RowSlackorSurplusDualPrice113700.001.000000230.000000.00000030.0000003.333333410.000000.00000050.00000020.00000630.000000.00000070.00000033.33333最優(yōu)解〔10,100,190〕最優(yōu)值13700;可行。第二問(wèn)由原問(wèn)題的單個(gè)價(jià)值系數(shù)和右端系數(shù)變化范圍的靈敏度分析結(jié)果得Rangesinwhichthebasisisunchanged:ObjectiveCoefficientRangesCurrentAllowableAllowableVariableCoefficientIncreaseDecrease*(1)30.0000035.00000INFINITY*(2)20.0000030.0000020.00000*(3)50.00000INFINITY23.33333RighthandSideRangesRowCurrentAllowableAllowableRHSIncreaseDecrease2430.0000INFINITY35.000003410.000050.0000020.000004420.0000INFINITY40.000005300.000010.0000025.00000670.0000025.00000INFINITY7240.0000INFINITY35.00000當(dāng)C2增加到310時(shí)此時(shí)模型MODEL:[_1]MA*=30**_1+20**_2+50**_3;[_2]*_1+2**_2+*_3<=430;[_3]3**_1+2**_3<=410;[_4]*_1+4**_2<=420;[_5]*_1+*_2+*_3<=310;[_6]*_2>=70;[_7]*_3<=240;END編程sets:is/1..6/:b;js/1..3/:c,*;links(is,js):a;endsetsma*=sum(js(J):c(J)**(J));sum(js(J):a(1,J)**(J))<=b(1);sum(js(J):a(2,J)**(J))<=b(2);sum(js(J):a(3,J)**(J))<=b(3);sum(js(J):a(4,J)**(J))<=b(4);sum(js(J):a(5,J)**(J))>=B(5);sum(js(J):a(6,J)**(J))<=b(6);data:c=302050;b=43041042031070240;a=121302140111010001;enddataend此時(shí)最優(yōu)解Globaloptimalsolutionfound.Objectivevalue:12350.00Infeasibilities:0.000000Totalsolveriterations:4VariableValueReducedCostB(1)430.00000.000000B(2)410.00000.000000B(3)420.00000.000000B(4)310.00000.000000B(5)70.000000.000000B(6)240.0000

溫馨提示

  • 1. 本站所有資源如無(wú)特殊說(shuō)明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請(qǐng)下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請(qǐng)聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁(yè)內(nèi)容里面會(huì)有圖紙預(yù)覽,若沒(méi)有圖紙預(yù)覽就沒(méi)有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫(kù)網(wǎng)僅提供信息存儲(chǔ)空間,僅對(duì)用戶上傳內(nèi)容的表現(xiàn)方式做保護(hù)處理,對(duì)用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對(duì)任何下載內(nèi)容負(fù)責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當(dāng)內(nèi)容,請(qǐng)與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準(zhǔn)確性、安全性和完整性, 同時(shí)也不承擔(dān)用戶因使用這些下載資源對(duì)自己和他人造成任何形式的傷害或損失。

最新文檔

評(píng)論

0/150

提交評(píng)論