rte-france / challenge-roadef-2020

Apache License 2.0
19 stars 7 forks source link

Resources min and max #9

Closed itlchriss closed 4 years ago

itlchriss commented 4 years ago

In the Rules document, I found the statement : "In "Resources", "min" and "max" are ordered lists of length T". Can we consider an intervention starting at different time with resources will have different max and min stated in the list?

klorel commented 4 years ago

Hi! Sorry I'm not sure I understand the question. There is Min and Max values for each ressources and each time. Interventions require ressource worload load, but they don't have min/max on ressources. Could you clarify your question ? Thank you in advance Manuel

itlchriss commented 4 years ago

Hello Manuel, such as in A_07.json, we have Ressources_9 with min and max, both have length of T. As I notice, the last six values in max are different with others in the max of Ressources_9. My question is, are we using different min and max as constraint with reference to the intervention starting time? Such as, if an intervention uses Ressources_9 with starting time is 1, we use min = 0 and max = 1.0. If another intervention uses the same resource with starting time is 12, we use min = 0 and max = 1.7?

Thanks and Best Regards Chriss

itlchriss commented 4 years ago

Hello Manuel, please let me add another question here about the resources and interventions. Imagine there is an instance with T = 10, I1 and I2 has delta of 5 and both uses 2 units of R1 at T = 2. R1 has a declaration of max = { 2: { 2: 5 }, 3: { 3: 5}} If we have scheduled both I1 and I2 with T = 2. Then we want to schedule I3 which uses also 2 units of R1 at T = 3. In this case, as I1 and I2 still move on when T = 3, do we have to account the consumption of I1 and I2 in scheduling I3? aka, is the resource still occupied within the time phrase of starting time + delta ?

Thanks and Best Regards Chriss

klorel commented 4 years ago

The starting time is only used to have to ressource consumption of an intervention at a time t (depending on when the intervention started).

With that, you are able to compute the ressource used at each time t by the sum over intervention worload (which again, depends on the starting time). The min/max to apply is then the one related to t.

Hope this help Manuel

klorel commented 4 years ago

Hi Chriss, Our posts crossed each other. A comment: the declaration of max is strange, there should be only one value for each time.

Please refer to the section 3.3 of the challenge rules document, there is a small example illustrating the time discretization. The ressource should not be taken into account for time step starting time + delta.

Hope this help Manuel