max=52*x4+43*x5+47*x6+39*x7+(0.25*x4+0.2*x5+0.23*x6+0.185*x7-2*10^4)*100;
0.25*x4+0.2*x5+0.23*x6+0.185*x7>2*10^4;
if y=0 of
put"不修水库";
else if y=1 of
put"修水库"
end if;
85*x1+100*x2+20*x3+y*5.5*10^6<9*10^6;
and 85*x1+100*x2+20*x3+y*5.5*10^6=9*10^6;
750*x4+610*x5+900*x6+735*x7<96.5*10^6;
and 750*x4+610*x5+900*x6+735*x7=96.5*10^6;
140*x4+165*x6<7.5*10^6+y*6.5*10^6;
and 140*x4+165*x6=7.5*10^6+y*6.5*10^6;
x1+x2<3.5*10^4;
and x1+x2=3.5*10^4;
x4+x5=x2+x3+2.5*10^4;
x6+x7=x1-x3+8.2*10^4;
请高手帮忙看一下错在哪里,第一次用lingo,不好意思