欢迎来到一句话经典语录网
我要投稿 投诉建议
当前位置:一句话经典语录 > 心得体会 > 运筹学lingo实验心得体会

运筹学lingo实验心得体会

时间:2020-05-13 16:01

运筹学上机实践报告(LINGO软件)

11版本不错

运筹学LINGO建模,期末作业,不是很懂,请求高手指点,谢谢

代码:model:sets:hx\\\/1..5\\\/:Xmax,Ymax,Xc,Yc,Xn,Yn;!hx(1)~hx(5)依次代表航线AH,AB,AC,HB,HC,Xn(i)、Yn(i)代表实际提供的一等舱和二等仓;endsetsdata:Xmax=33 24 12 44 16;Ymax=56 43 67 69 17;Xc=190 244 261 140 186;Yc=90 193 199 80 103;enddatamax=@sum(hx:Xn*Xc+Yn*Yc);@for(hx:Xn

高分请教运筹学lingo建模,lingo求解,急急急

要求自己做,做好了发我邮箱:642721226@qq.com

1 x表示某门课是否要选model:sets:course\\\/1..9\\\/:x;type\\\/1..3\\\/:a;link(course,type):c;endsetsdata:c=1 0 01 0 01 1 01 0 11 1 00 1 10 0 10 1 00 1 1;a=2 3 2;enddatamin=@sum(course:x);@for(type(j):@sum(course(i):x(i)*c(i,j))>=a(j));x(1)>=x(3);x(1)>=x(5);x(1)>=x(9);x(2)>=x(3);x(2)>=x(5);x(2)>=x(9);x(7)>=x(4);x(7)>=x(6);x(5)>=x(8);@for(course:@bin(x));end2 x(i,j)表示第j个货舱装第i种货物重量model:setsgoods\\\/1..4\\\/:space,weight,profit;carbin\\\/1..3\\\/:tspace,tweight;link(goods,carbin):x;endsetsdata:weight=18 15 23 12;space=480 650 580 390;profit=3100 3800 3500 2850;tspace=6800 8700 5300;tweight=10 16 8;enddatamax=@sum(link(i,j):profit(i)*x(i,j));@for(carbin(j):@sum(goods(i):x(i,j))<=tweight(j));@for(carbin(j):@sum(goods(i):space(i)*x(i,j))<=tspace(j));@for(goods(i):@sum(carbin(j):x(i,j))<=weight(i));end

运筹学lingo语言去做此课程设计去做

model:sets:student\\\/1..6\\\/:reward;day\\\/1..5\\\/;link(student,day):time,x;endsetsdata:reward=10 10 9.9 9.8 10.8 11.3;time=6 0 6 0 70 6 0 6 04 8 3 0 55 5 6 0 43 0 4 8 00 6 0 0 3;enddatamin=@sum(student(i):reward(i)*@sum(day(j):x(i,j)));@for(day(j):@sum(student(i):x(i,j))=12);@for(student(i)|i#le#4:@sum(day(j):x(i,j))>=8);@for(student(i)|i#ge#5:@sum(day(j):x(i,j))>=7);@for(link:x<=time);end

运筹学指派问题

此题好像是2011D题什么天然肠衣搭配问题你搜一下网上应该有很多现成的论文

声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。联系xxxxxxxx.com

Copyright©2020 一句话经典语录 www.yiyyy.com 版权所有

友情链接

心理测试 图片大全 壁纸图片