[rules-users] [Drools Planner] Multi depot CVRP / CVRPTW

Mats Norén mats.noren at gmail.com
Thu Apr 11 12:38:45 EDT 2013


Hi Geoffrey,
Do you think it would be possible to integrate the nurse rostering example
with the vrp example? By that I mean to schedule nurses *and* stops in an
optimal way. At the same time.
I'm looking at a home care service problem where there is a need for weekly
schedules for the nurses as well as an ambition to minimize the driving
distance as well.

Is it feasible or is it troublesome to have several planning entities at
the same time?

Regards,
Mats



On Mon, Mar 4, 2013 at 4:49 PM, Mats Norén <mats.noren at gmail.com> wrote:

> Thanks Geoffrey,
>
> On Mon, Mar 4, 2013 at 4:33 PM, Geoffrey De Smet <ge0ffrey.spam at gmail.com>wrote:
>
>>
>> The example only does the capacitated vehicle routing problem (VRP +
>> capacity limits), not the windowed vehicle routing problem.
>>
>>
> By "your example" I meant the pseudo rule you sent me in a previous mail
> and not the  cvrp example in drools-planner-examples.
>
>>
>>  Should I add each CustomerTimeWindow as a fact in the
>> VrpSchedule.getProblemFacts?
>>
>> Yes, so your score rules can exploit it.
>> Also, you 'll want to make sure that your score rule penalize "the number
>> of minutes that a time window isn't met".
>>
>>
> Ok, by this you mean the difference in minutes from the arrivaltime and
> the customer timewindow? i.e., the largest of (arrivalTime - endTime) and
> (startTime-arrivalTime) given that  (arrivalTime < startTime or arrivalTime
> > endTime) ?
>
> Regards,
> Mats
>
>>
>> _______________________________________________
>> rules-users mailing listrules-users at lists.jboss.orghttps://lists.jboss.org/mailman/listinfo/rules-users
>>
>>
>>
>> _______________________________________________
>> rules-users mailing list
>> rules-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/rules-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20130411/3a57637d/attachment.html 


More information about the rules-users mailing list