欢迎来到天天文库
浏览记录
ID:44557566
大小:138.01 KB
页数:4页
时间:2019-10-23
《游泳队员选拔解决方案》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、游泳队员选拔解决方案5名候选人的百米成绩甲乙丙T戊蝶泳1W81,05”21T8”i'i(r1'07"4仰泳1T5"6ro6M1'07"8ri4,521'11"蛙泳「27”1'06”41,24”6l'09"6r23,?8自由泳58%53”59"457"2ror4如何选拔队员组成4100米混合泳接力队?0-1规划模型cij(秒)〜队员i第j种泳姿的百米成绩••CIJi=li=2i=3i=4i=5j=l66.865.2787067.4j=275.66667.874.271j=38766.484.669.683.8
2、j=458.65359.457.262.4若选择队员i参加泳姿j的比赛,记xij=l,否则记xij=0目标函数:45MinZ=戶1口约束条件:每人最多入选泳姿之一4工兀fl,…5>1每种泳姿有且只有1人5£勺T,丿T,・・・4i=l在lingo环境下列示ir.in66・8x11-65・2x25x31-^0x41-67・4x51+75・6x12subjecttoxll+xl2-rxL3-rxl4<=Lx21+x22^x23*x24<=lx31^x32^x33-rx34<=lx41+x42+x43*x44<»l
3、x51+x52+x53-bx54<-lxll+x21+x31+x41+x51-lx124x22-kx32+x42+x52-1x134x23-^x33^x43^x53=1xl4+x24+x34+x44+x54=lendint20UNGO11,0SolverStatus(LINGOI]SolverSta.tuxPILFGlobalOpt257.2□^odelEx.1vlvdvdSulv・x二屯・luuSolv«rB—and—BB»4、tiaxllii1&ty:onsVpdM*5、20tnzerosotal:&0onlin.«v7□Vwriabl«xG*n«r*torMcn-iryUsedCKJ•22ElapsedRuntChhrr跡ss)00:00:00Cl最优结果:Globaloptimalsolutionfound.Objectivevalue:Objectivebound:Infeasibillties:257.2000257.20000.6、000000Extendedsolversteps:Totalsolveriterations:VariableValueReducedCostXll1.00000066.80000X210.00000065.20000X310.00000078.00000X410.00000070.00000X510.00000067.40000X120.00000075.60000X220.00000066.00000X321.00000067.80000X420.00000074.20000X520.000000717、.00000X130.00000087.00000X230.00000066・40000X330.00000084•60000X431.00000069.60000X530.00000083.80000X140.00000058•60000X241.00000053.00000X340.00000059・40000X440.00000057.20000X540.00000062•40000只管表Z5:最优解:xll=x24=x32=x43=1,其它变量为0;成绩为257.2(秒)=4,17”2甲〜蝶泳、乙〜8、自由泳、丙〜仰泳、丁〜蛙泳.甲乙丙T戊蝶泳r06”8r05”2ris”rio”r07”4仰泳1'15”6r06”r07”81,14”2rii”蛙泳r27”r06”4r24”6r09”6r23”8自由泳58”653”59”457”2r02”4
4、tiaxllii1&ty:onsVpdM*
5、20tnzerosotal:&0onlin.«v7□Vwriabl«xG*n«r*torMcn-iryUsedCKJ•22ElapsedRuntChhrr跡ss)00:00:00Cl最优结果:Globaloptimalsolutionfound.Objectivevalue:Objectivebound:Infeasibillties:257.2000257.20000.
6、000000Extendedsolversteps:Totalsolveriterations:VariableValueReducedCostXll1.00000066.80000X210.00000065.20000X310.00000078.00000X410.00000070.00000X510.00000067.40000X120.00000075.60000X220.00000066.00000X321.00000067.80000X420.00000074.20000X520.00000071
7、.00000X130.00000087.00000X230.00000066・40000X330.00000084•60000X431.00000069.60000X530.00000083.80000X140.00000058•60000X241.00000053.00000X340.00000059・40000X440.00000057.20000X540.00000062•40000只管表Z5:最优解:xll=x24=x32=x43=1,其它变量为0;成绩为257.2(秒)=4,17”2甲〜蝶泳、乙〜
8、自由泳、丙〜仰泳、丁〜蛙泳.甲乙丙T戊蝶泳r06”8r05”2ris”rio”r07”4仰泳1'15”6r06”r07”81,14”2rii”蛙泳r27”r06”4r24”6r09”6r23”8自由泳58”653”59”457”2r02”4
此文档下载收益归作者所有