shuiwuming 发表于 2008-7-11 08:40:15

lindo出问题?

哪位大侠帮忙看看哪出错了,lindo老是求不出呀!!!
max 3100x11+3100x12+3100x13+3800x21+3800x22+3800x23+3800x24+3500x31+3500x32+3500x33+2850x41+2850x42+2850x43
st
x11+x21+x31+x41<=10
x12+x22+x32+x42<=16
x13+x23+x33+x43<=8
480x11+650x21+580x31+390x41<=6800
480x12+650x22+580x32+390x42<=8700
480x13+650x23+580x33+390x43<=5300
0.1x11+0.1x21+0.1x31+0.1x41=0.0625x12+0.0625x22+0.0625x32+0.0625x42
0.1x11+0.1x21+0.1x31+0.1x41=0.125x13+0.125x23+0.125x33+0.125x43
0.0625x12+0.0625x22+0.0625x32+0.0625x42=0.125x13+0.125x23+0.125x33+0.125x43
x11+x12+x13<=18
x21+x22+x23<=15
x31+x32+x33<=13
x41+x42+x43<=12
end


lindo显示EXPECTING SIGN OR RELATIONAL OPERATOR

shuiwuming 发表于 2008-7-11 16:07:57

max
3100x11+3100x12+3100x13+3800x21+3800x22+3800x23+3800x24+3500x31+3500x32+3500x33+2850x41+2850x42+2850x43
st
x11+x21+x31+x41<=10
x12+x22+x32+x42<=16
x13+x23+x33+x43<=8
480x11+650x21+580x31+390x41<=6800
480x12+650x22+580x32+390x42<=8700
480x13+650x23+580x33+390x43<=5300
8x11+8x21+8x31+8x41-5x12-5x22-5x32-5x42=0
8x11+8x21+8x31+8x41-10x13-10x23-10x33-10x43=0
5x12+5x22+5x32+5x42-10x13-10x23-10x33-10x43=0
x11+x12+x13<=18
x21+x22+x23<=15
x31+x32+x33<=23
x41+x42+x43<=12
end
页: [1]
查看完整版本: lindo出问题?