Max f(x)=p1x1+p2x2+p3x3+p4x4+p5x5+p6x6+p7x7+p8x8
yi xi<= li i=1,2……8
∑yi xi<=M i=1,2……8
p1= sgn(x1*x3)*1005+ [1-sgn(x1*x3)]*1139
p3= sgn(x1*x3)*1018.5+ [1-sgn(x1*x3)]*727.5
p4= sgn(x4*x5)*1045+ [1-sgn(x4*x5)]*1265
p5= sgn(x4*x5)*1276+ [1-sgn(x4*x5)]*1160
S.t. p2=sgn(x2*x6*x7*x8)*1353+[1-sgn(x2*x6*x7*x8)]*1056
p6= sgn(x2*x6*x7*x8)*840+ [1-sgn(x2*x6*x7*x8)]*714
p7=sgn(x2*x6*x7*x8)*1610+[1-sgn(x2*x6*x7*x8)]*1840
p8=sgn(x2*x6*x7*x8)*1350+[1-sgn(x2*x6*x7*x8)]*1575
xi取自然数
i=1,2…8
谢谢 请lingo高手指导 编程 急用啊
你的程序有的问题 xi取自然数为什么还要加符号函数呢?是不是有其它的意思,可以的话用百度找我一下