jsprit icon indicating copy to clipboard operation
jsprit copied to clipboard

Capacity constraints

Open balage1551 opened this issue 7 years ago • 3 comments

Use case: Sometimes, when a task is inserted, there should some capacity constraints be fullfilled. This is not a capacity requirement, doesn't change the size dimensions of the vehicle, but requires the size dimensions to match some rules. (For example, the value of the first dimension should be between 2 and 4.)

Proposal A new, built in activity level constraint which can be parameterized with some capacity rules. The constraint has to be honored by the whole process, including ruin.

Compatibility impact It would add a new constraint and can be implemented as a backward compatible feature.

balage1551 avatar May 24 '17 20:05 balage1551

Thanks for this proposal. Actually, I do not understand it entirely. Can you give me a real life example where this is required? Thanks.

oblonski avatar May 30 '17 14:05 oblonski

Example 1: To leave the depot/warehouse, first you have to pick up at least X shipments. Example 2: To return to the depo, first you have to serve all shipments in your cargo. Example 3: You can't get to a location when your cargo is heavier than Y. (Road weight restrictions.)

All the situations when a job requires some constraint to match on cargo (current capacity data), but doesn't want to alter the settings.

balage1551 avatar May 30 '17 14:05 balage1551

Yes! that would good.

jitendra3109 avatar Jun 03 '17 17:06 jitendra3109