Page 1 of 1
tour not created by xTour
Posted: Fri Sep 29, 2017 1:31 pm
by puissancei
Hello,
I need to send to xTour one tour not created by xtour with some transport order.
So I need to create an object kind of inputPlan to send to xTour.
Can you tell me the best way ?
Thank you
Re: tour not created by xTour
Posted: Mon Oct 09, 2017 1:58 pm
by Bernd Welter
Hello Michel,
I need more details to give a proper description. Do you simply want to evaluate whether the given tour violates constraints? Or do you need to improve the quality of the tour?
Of course it is important to separate those usecases from each other because you have to choose the proper planning params class (check
http://xserver.ptvgroup.com/forum/viewt ... ?f=6&t=489).
But I really recommend that you describe the users story (without mentioning the xServers) and then Clement or I can tell you what you have to do.
Best regards,
Bernd
Re: tour not created by xTour
Posted: Wed Oct 18, 2017 7:32 am
by puissancei
Hello,
The scenario is very simple : I need to use an existing tour to create an optimization.
- I add the tour (not created by xTour).
- I add some independant order.
- The initially added tour can be modified (order, duratin, add order....).
- I ask to xTour to organize this.
I saw the topic but if you can give me your experience return...
Thank you
Re: tour not created by xTour
Posted: Wed Oct 25, 2017 7:51 am
by Bernd Welter
Hello Michel,
sounds like you have to provide
- a set of orders, scheduled ones and unscheduled ones. Let's call the scheduled ones SO1, SO2, SO3, ... and the unscheduled ones UO1, UO2, UO3, ... So the total array of orders is {SO1, SO2, SO3, ..., UO1, UO2, UO3, ...}
- then you need the input plan including the tour based on the scheduled orders: plan.chains[0].tours[0].tourPoints[..] = {SO1,SO2, SO3...}
- the planning class you'd like to use, e.g. StandardParams
that's it.
- michel.request.xml
- Request based on the orders 1000, 1001, ...1005. The input tour is based on a previous call and contains Depot-1003-1000-1001-1002-Depot. So the orders 1004 and 1005 are unscheduled before the call.
- (31.05 KiB) Downloaded 466 times
- Input tour
- michel.response.xml
- The result plan is then DEPOT-1003-1000-1001-1002-1004-1005-DEPOT
- (18.8 KiB) Downloaded 455 times
- Output tour
Best regards,
Bernd
Re: tour not created by xTour
Posted: Wed Oct 25, 2017 2:12 pm
by puissancei
Thank you Bernd.
Another question about this.
In my test the new order are well added but the why the initial plan is not modified to reorder the tour points if it's better.
see xtour log attachement
Re: tour not created by xTour
Posted: Wed Oct 25, 2017 3:14 pm
by Bernd Welter
Hello Michel,
from what I see in your request you deactivated all the sequencing and the improvement steps which might lead to further improvements.
- then green and the bronze block are part of input and output without an change in the internal sequence.
Activate those steps and you get even better results.
Best regards
Bernd
Re: tour not created by xTour
Posted: Wed Oct 25, 2017 3:19 pm
by puissancei
YES.... of course !!!!!!!!
Thank you