From: Pierre Jean GALIAZZO <pjgalia...@aid.fr>

And I want to programming like that but it doesn’t work because we can’t
use a sum in the min function:

s.t. limit:  sum{c in C}  min (1 , sum{i in I,j in J, a in A}
x[c,j,i,a])  >= 25;

I'm not sure whether I have the syntax right:
min1{c in C}: term{c in C}<=1
mins{c in C}: term{c in C}<=sum{i in I, j in J, a in A}x[c,j,i,a]
limit: sum{c in C} term[c]>=25

--
Michael   henne...@web.cs.ndsu.nodak.edu
"SCSI is NOT magic. There are *fundamental technical
reasons* why it is necessary to sacrifice a young
goat to your SCSI chain now and then."   --   John Woods
_______________________________________________
Help-glpk mailing list
Help-glpk@gnu.org
https://lists.gnu.org/mailman/listinfo/help-glpk

Reply via email to