[taskjuggler] Re: limit the number of tasks a resource is allocated to

From: borco (ionut.borcoman_at_schlund.ro)
Date: Fri Jan 13 2006 - 11:23:10 CET


From: borco <ionut.borcoman@schlund.ro>
Message-ID: <18f8.43c77f8e@www.taskjuggler.org>
Date: Fri, 13 Jan 2006 11:23:10 +0100 (CET)
Subject: [taskjuggler] Re: limit the number of tasks a resource is allocated to


Chris Schlaeger wrote on Fri, 13 January 2006 11&#58;41
> borco wrote on Fri, 13 January 2006 09&#58;24
> > A warning could be generated if:
> >
> > a resource is allocated to a tasks that has a duration shorter than the dailymin for that resource, but other resources can be allocated to that task
>
> I don't get this. If the task duration is shorter than the daily min of a resource, this resource should get the full duration. Btw, you probably mean 'effort' here.

The idea is to generate a warning if you try to allocate a resource that has it's dailymin bigger than the duration/effort for the task. Because, if the dailymin is bigger it means this resource will never be allocated to the tasks and by receiving the warning you can take some action:

remove the resource, or
lower the dailymin for that task
 
If you use the dailymin, than it means you have some good reason for doing so, therefore it would be appropriate to get some feedback if something is not quite right.

Also, being a warning, you can simply ignore it ;)

Quote:
> Quote&#58;
> > An error should be generated in one of the following conditions:
> >
> > a resource is allocated to a tasks that has a duration shorter than the daylimin for the that resource and 1. is the only resource allocated, or 2.it is mandatory for the task
> > none of the resources allocated to the tasks has a dailymin smaller than the duration of the tasks
>
> Allocation conditions can change over time (vacations, shifts, limits, etc.). So TaskJuggler just delays the allocation until it finds a time slot that fits. Only if it is pushed out off the project time frame an error is generated. So, the fact that TJ cannot allocate a certain time slot does not justify an error.

An error is justified if a task can never be allocated. This is my opinion, at least, and the above conditions will make a task impossible to be alocated. You can push the task as much as you want, but its constraints will never let it be allocated!

Ionutz

-- 
To unsubscribe, email the address listed in the List-Unsubscribe header
For additional commands, email: taskjuggler-help@suse.com


This archive was generated by hypermail 2.1.7 : Fri Jan 13 2006 - 11:23:14 CET