运输问题,lingo程序
发布网友
发布时间:2022-04-30 00:13
我来回答
共1个回答
热心网友
时间:2022-06-26 23:33
max = 3*x11+2*x12+7*x13+6*x14 + 7*x21+5*x22+2*x23+3*x24 + 2*x31+5*x32+4*x33+5*x34;
x11+x12+x13+x14 <= 50;
x21+x22+x23+x24 <= 60;
x31+x32+x33+x34 <= 25;
x11+x21+x31 <= 60;
x12+x22+x32 = 40;
x13+x23+x33 <= 20;
x11+x21+x31 >= 50;
x13+x23+x33 >= 0;
x14+x24+x34 >= 15;