数模论坛

 找回密码
 注-册-帐-号
搜索
热搜: 活动 交友 discuz
查看: 12747|回复: 1

lindo出问题?

  [复制链接]
发表于 2008-7-11 08:40:15 | 显示全部楼层 |阅读模式
哪位大侠帮忙看看哪出错了,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
 楼主| 发表于 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
您需要登录后才可以回帖 登录 | 注-册-帐-号

本版积分规则

小黑屋|手机版|Archiver|数学建模网 ( 湘ICP备11011602号 )

GMT+8, 2024-11-26 18:32 , Processed in 0.060684 second(s), 19 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表