lingo11编的程序,运行说29号错误,我实在不知道为什么错了,请教各位高手...答:你在init段写的began的数据量不对 自己改 model:sets:workgroup/1,2,3,4,5,6,7/:start,began,cost,last;second(workgroup,workgroup):c;endsets data:start=2,5,4,0,0,8,9;cost=5,6,8,4,2,4,2;last=10,21,15,10,5,15,22;enddata init:!began=4,9,15,0,23,25,29,31;end...
lingo运行小错误:too many inequality or equality ralation答:max=x1-x2;x1=L2*@cos(y1)-L1*@cos(a1);x2=L2*@COS(y2)-L1*@COS(a2);bnd(1400,L1,1750);bnd(1800,L2,1850);bnd(3.141593/6,y1,2*3.141593);bnd(3.141593/6,y2,2*3.141593);bnd(3.141593/6,a1,2*3.141593);bnd(3.141593/6,a2,2*3.141593);...