help-glpk
[Top][All Lists]
Advanced

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

[Help-glpk] GLPM and conditional constraints


From: Drakuzz
Subject: [Help-glpk] GLPM and conditional constraints
Date: Mon, 9 Aug 2010 03:19:29 -0700 (PDT)

Hello list,
I want to program a constraint which is applied only if a condition is met:
I have 2 parameters named headcount[d,c,f] and forecast{d,c,f] and a
variable named T[d,c,f].
constraint : If (headcount[d,c,f]/forecast[d,c,f])-1<0.08 then T[d,c,f]=0.
How do i code it please?
Thank you in advance.
Drakuzz
-- 
View this message in context: 
http://old.nabble.com/GLPM-and-conditional-constraints-tp29386420p29386420.html
Sent from the Gnu - GLPK - Help mailing list archive at Nabble.com.





reply via email to

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