tour not created by xTour

This forum deals with any kind of trip optimization whether it is automatic planning or manual dispatching, refering to transport orders or service planning.

tour not created by xTour

Postby puissancei » Fri Sep 29, 2017 1:31 pm

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
puissancei
 
Posts: 24
Joined: Wed Jul 05, 2017 10:27 am

Re: tour not created by xTour

Postby Bernd Welter » Mon Oct 09, 2017 1:58 pm

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 viewtopic.php?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
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

https://www.youtube.com/channel/UCgkUli9yGf0gwTDdxbMZ-Kg
User avatar
Bernd Welter
Site Admin
 
Posts: 932
Joined: Mon Apr 14, 2014 10:28 am

Re: tour not created by xTour

Postby puissancei » Wed Oct 18, 2017 7:32 am

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
puissancei
 
Posts: 24
Joined: Wed Jul 05, 2017 10:27 am

Re: tour not created by xTour

Postby Bernd Welter » Wed Oct 25, 2017 7:51 am

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 13 times

michel-pre.PNG
Input tour

michel.response.xml
The result plan is then DEPOT-1003-1000-1001-1002-1004-1005-DEPOT
(18.8 KiB) Downloaded 15 times

michel-post.PNG
Output tour


Best regards,
Bernd
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

https://www.youtube.com/channel/UCgkUli9yGf0gwTDdxbMZ-Kg
User avatar
Bernd Welter
Site Admin
 
Posts: 932
Joined: Mon Apr 14, 2014 10:28 am

Re: tour not created by xTour

Postby puissancei » Wed Oct 25, 2017 2:12 pm

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
Attachments
xtour-server.log.xml
(155.71 KiB) Downloaded 16 times
puissancei
 
Posts: 24
Joined: Wed Jul 05, 2017 10:27 am

Re: tour not created by xTour

Postby Bernd Welter » Wed Oct 25, 2017 3:14 pm

Hello Michel,
from what I see in your request you deactivated all the sequencing and the improvement steps which might lead to further improvements.

michel-insert.PNG
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
Bernd Welter
Manager Technical Consulting & Requirement Engineering
Senior Technical Consultant Developer Components
PTV GROUP - Germany

https://www.youtube.com/channel/UCgkUli9yGf0gwTDdxbMZ-Kg
User avatar
Bernd Welter
Site Admin
 
Posts: 932
Joined: Mon Apr 14, 2014 10:28 am

Re: tour not created by xTour

Postby puissancei » Wed Oct 25, 2017 3:19 pm

YES.... of course !!!!!!!!

Thank you
puissancei
 
Posts: 24
Joined: Wed Jul 05, 2017 10:27 am


Return to PTV xTourServer

cron