tpaviot / ProcessScheduler

A Python package for automatic and optimized resource scheduling
https://processscheduler.github.io/
GNU General Public License v3.0
58 stars 17 forks source link

Task requiring more resources #129

Open davideschiavone opened 10 months ago

davideschiavone commented 10 months ago

Dear all,

thanks a lot for the work you have done! amazing!

Quick question, I am trying the Resource constrained project scheduling example, and I would like to know whether you will provide a way to solve a problem where one job requires more resources than the one provided.

For example, the JOB1 requires 5 C1 resources over a total of 6 C1 resources.

If it requires 8 resources, the program fails - but it could solve this by first satisfying the first 6, then the last 2 (time multiplexing).

This can be done by defining a new job "1B" that depends on the job "1A" where I separate by hand the 2 jobs - but this fails in having the whole picture view (i.e. other jobs scheduled and mapped in parallel) as maybe it would be better to do first 3 C1 jobs and then the remaining 5 (because in parallel some other job are also needing C1).

Let me know your thoughts,

thanks Davide