Skip to content

AnA07S04FragmentationDeletion

Jeroen Baten edited this page Mar 9, 2018 · 1 revision

TWiki> LibrePlan Web>AnA07S04FragmentationDeletion (07 Mar 2011, JavierMoran)EditAttach

Story summary Fragmentation deletion in generic allocation
Iteration AnA07PlanningWindow
FEA AnA07S04FragmentationDeletion
Story Lead  
Next Story  
Passed acceptance test No

Tasks

Sharing block algorithm for resource allocation.

Normal hours

  • Starting point: Sharing block for a day D.
  • Resources satisfying the set of criteria in day D which define the generic allocation are found = Set A.
  • Resource in set A are sorted in ascending order from less load to more assigned load.
  • Resources are retrieved from set A and receive an allocation in day D with the formula: Workable hours of the resource calendar - Hours already allocated in day D to the resource.
  • The process continues until the sharing block to be allocated in day D is done.

Extra hours

This part of the algorithm tells what to do when the set A has not enough free normal hours to satisfy the sharing block in day D.

  • Resources in set A are sorted in ascending according to the number of extra hours allocated in that day to each resource.
  • About the sharing algorithm of these hours I have two proposals:

The sharing block algorithm currently implemented but now only will used in the over allocating region.

warning Of course, it has to be taken into account that now an over allocation control strategy is used in calendars with the philosophy one calendar per task approach. This means that a resource can have a limit of hours to allocate in day D (with the special cases of zero and infinitum).

Sharing block for the end day of a task

The desired behaviour is to use the same sharing algorithm than in intermediate days. The end hour of the task, will be the hour of the resource with more hours allocated that day.

For instance: If we have 10 hours to allocate the last day of a task and two free resources, resource one would receive 8h, resource two 2h and the end hour of the task will the 8th hour.

Implement heuristic "trying to keep the same resources all the time"

When you do an allocation and you are the person in charge of planning a project, in general, it is normal that you want to keep the same resources allocated during the whole duration of the task if possible.

So, the above is relevant for the resource allocation generic algorithm described. I think that it can be enriched with the heuristic trying to keep the same resources all the time.

  • First block sharing algorithm is the same described but resources used are stored in a list.
  • Successive days set A is sorted according the pair (used before, free load) and retrieved in this order. Resource used before are used before than other resources even when later ones have more free load.

User stories

Tasks

Tasks Est Spent To do Risk Reviewer Developer Task Name Start Date Est End Date End Date
Task 20 13 0 Low JavierMoran OscarGonzalez Sharing block algorithm for resource allocation      
Task 20 8 0 Low JavierMoran OscarGonzalez Implement heuristic "trying to keep the same resources all the time"      

Total Hours in this Story

User Spent in XpTracker Spent in phpReport Ok?
OscarGonzalez 21 0 ALERT!
Total 21 0 ALERT!

Copyright (c) by the contributing authors. All material on this collaboration platform is the property of the contributing authors.

Clone this wiki locally