Algorithms

Moderators: None (Apply to moderate this forum)
Number of threads: 402
Number of posts: 786

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Can anyone recognize what type(s) of algorithm(s) solve this problem? Posted by boudinov on 21 Dec 2011 at 2:17 AM
Hello guys,
I am having a big problem for the past several days with an algorithm design about this problem:

The Context:
You have an employee assigned to a schedule. That schedule has start/end times, also possibly a lunch and few breaks. During his schedule he is doing his primary work.
The agent has several types of secondary activities, he has to accomplish during his schedule, each activity having a priority(can be the same) and an amount of time. Activities can be broken down to smaller blocks.
Each activity type has it's own definitions for Minimum and Maximum block lengths, and also Minimum interval length between blocks of the same type of activity, and different types of activities. There is also a setting, activity Block Increment step.
Each 5 minute schedule interval has a Score value, the higher the score, the better to place an activity there.
All intervals and blocks are snapped to 5 Minute boundaries.

The Goal:
Assign all the required quantities of activities during the schedule, trying to honor these soft constraints, in the following order:
- to the best possible locations (best score)
- if there is not enough schedule space, assign the activities proportionally to their priority/requirement
- try to assign activities, so that fewer Schedule-Break-Lunch-Activity1-Activity2... transitions occur

Thanks a lot in advance for any fresh idea out there:D



 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.