sum(times(t)
sum(teachers(l)
sum(students(s)
c(l,d(s))*x(l,t,p)*y(s,t,p))))));
for(students(s)
for(times(t)
for(places(p):x(l,t,p)*y(s,t,p)<=b(l,t)))));
for(students(s)
for(times(t)
for(places(p):x(l,t,p)*y(s,t,p)<=c(l,d(s))))));
for(places(p)
sum(teachers(l):x(l,t,p))=@floor(3/2)));
for(students(s)
for(times(t)
for(places(p):x(l,t,p)+y(s,t,p)+a(s,l)<3))));
for(places(p)
sum(students(s):y(s,t,p))<=@floor(5/(2*2)+1)));
for(places(p)
sum(students(s):y(s,t,p))>=@floor(5/(2*2)-1)));
sum(places(p)
sum(times(t):y(s,t,p)))=1);
for(times(t)
sum(places(p):x(l,t,p))<=1));
bin(x(l,t,p)));
bin(y(s,t,p)));| 欢迎光临 数学建模社区-数学中国 (http://www.madio.net/) | Powered by Discuz! X2.5 |