[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-glpk] [Fwd: Question about GLPK]

From: Michael Hennebry
Subject: Re: [Help-glpk] [Fwd: Question about GLPK]
Date: Thu, 15 May 2014 18:32:53 -0500 (CDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

From: Pierre Jean GALIAZZO <address@hidden>

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   address@hidden
"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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]