[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] RE : Planning problem : dynamic constraint
From: |
Freund Olivier |
Subject: |
Re: [Help-glpk] RE : Planning problem : dynamic constraint |
Date: |
Fri, 18 Aug 2006 23:57:48 +0400 |
Thanks you for your answer. you are solved my problem
Olivier Freund
yo yo wrote:
>
> If you want it to work exactly T[j] quarters
> continuously, then you can use a variable S(i,j,k)
> that is true if i starts activity j on quarter k and
> false otherwise.
> And you add the constraint:
> continuit?{k1}:sum(k2 : k2>=k1 and k2<=k1+T[j]){
> Ag[i,j,k2]>=S[i,j,k1]*T[j]
> }
> and also
> unicit?{j,k1}:sum(k2: k2>=k1 and k2<= k1+T[j]){
> S[i,j,k2]<=1
> }
>
> That's a first thought.
>
> Lionel BERTON.
>
> --- Freund Olivier <address@hidden> a ?crit :
>
>>
>> Hello, i am a french student in work placement
>> experience
>>
>> I am working in an application which allocate some
>> employees to some
>> activities each quater during a period of two or
>> four weeks. So this period
>> is divided into quaters which are indexed from one
>> to N.
>>
>> My modelling describes a MIP problem which has one
>> binary suscripted
>> variable Ag[i,j,k] for all dummy indices i,j,k.
>> Ag[i,j,k] is true if the
>> employee i is allocated to activity j during the
>> quater number k. If this
>> employee isn't allocated to activity j during the
>> quater k, Ag[i,j,k] is
>> false.
>>
>> My problem is that i have to model the constraint
>> "an employee i which is
>> allocated to an activity j has to be allocated to
>> this activity during T[j]
>> consecutives quaters at least". T[j] is a suscripted
>> integer parameter which
>> depends on the activity j and this parameter has
>> already been assigned.
>>
>> Thanks to help me
>> --
>> View this message in context:
>>
> http://www.nabble.com/Planning-problem-%3A-dynamic-constraint-tf2120199.html#a5847448
>> Sent from the Gnu - GLPK - Help forum at Nabble.com.
>>
>>
>>
>> _______________________________________________
>> Help-glpk mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/help-glpk
>>
>
>
>
>
> p5.vert.ukl.yahoo.com uncompressed/chunked Thu Aug 17 12:14:03 GMT 2006
>
>
> ___________________________________________________________________________
> D?couvrez un nouveau moyen de poser toutes vos questions quelque soit le
> sujet !
> Yahoo! Questions/R?ponses pour partager vos connaissances, vos opinions et
> vos exp?riences.
> http://fr.answers.yahoo.com
>
>
>
> _______________________________________________
> Help-glpk mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-glpk
>
>
--
View this message in context:
http://www.nabble.com/Planning-problem-%3A-dynamic-constraint-tf2120199.html#a5873272
Sent from the Gnu - GLPK - Help forum at Nabble.com.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Help-glpk] RE : Planning problem : dynamic constraint,
Freund Olivier <=