简体   繁体   中英

What algorithms/approaches can I use to implement a scheduling of tasks for days of week with given constraints?

I have a list of tasks which have duration, profit for its completion and minimum/maximum frequency per week (for example, to read book X at least 3 times a week). If some tasks were completed more times than minimum frequency then their profit is multiplied by some factor (eg 1,5).

Every day of week has a capacity of hours which can be spent on these tasks (for example, Monday - 3 hours, Tuesday - 5 hours and so on).

I have the requirement to implement scheduling of tasks for days of weeks so that to reach the maximum profit and to satisfy all the given constraints.

I've been thinking about using some heuristic algorithms or the solution of multiple knapsack problem, but nothing seems really suitable here and I've completely run out of ideas.

Could you possibly advise me what algorithm/approach I can use here or maybe what resources I can read to understand the problem better and find a solution?

Thank you

考虑到您描述的情况,它认为您应该检查加权作业调度算法是否可以与背包问题算法结合使用。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM