From: Pierre Jean GALIAZZO <[email protected]>
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 [email protected]
"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
[email protected]
https://lists.gnu.org/mailman/listinfo/help-glpk