Balancing doesn't work

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

Balancing doesn't work

Postby log-konz » Thu Jun 25, 2015 12:51 pm

Hello,

I have some problem. I'm trying to calculate some tour with 4 vehicles and many stations with balancing.
I use
"balancingGoal": 0,
"balancingImportance": 100

But it doesn't work for me. driving period for vehicles is very different
35882 for one vehicle and 10251 for other.

I guess it is not balancing result. But I can't understand why it doesn't work.

my xtour version is xtour-x64-1.18.1.4

P.S.: I want to attach my log file (only for this request) but forum doesn't allow it. How I can to provide this information?
log-konz
 
Posts: 8
Joined: Mon Mar 23, 2015 9:06 am

Re: Balancing doesn't work

Postby Bernd Welter » Thu Jun 25, 2015 1:17 pm

Hello,

as this is a specific problem that should be discussed with support I recommend to get in touch with those colleagues.
But maybe you could just add the XML part of the BalancingParams in this thread: add the code inside your response and use the highlightning feature of the XML...

Best regards
Bernd
User avatar
Bernd Welter
Site Admin
 
Posts: 571
Joined: Mon Apr 14, 2014 10:28 am

Re: Balancing doesn't work

Postby log-konz » Thu Jun 25, 2015 1:40 pm

I don't use xml api, I use json fort.
it is my planning params.
Code: Select all
   : planningParams=>{
      : coDriverTransportPointsInSeparateTours=>false,
      : distanceMatrixCalculation=>[{
         : deleteAfterUsage=>true,
         : profileName=>"dimaCar",
         : $type=>"DistanceMatrixByRoad",
         : dimaId=>1,
         : deleteBeforeUsage=>true
      },
      {
         : deleteAfterUsage=>true,
         : profileName=>"dimaTruck",
         : $type=>"DistanceMatrixByRoad",
         : dimaId=>2,
         : deleteBeforeUsage=>true
      }],
      : balancingGoal=>0,
      : balancingImportance=>100,
      : $type=>"BalancingParams",
      : constructionStep=>true,
      : improvementStep=>true,
      : restrictions=>{
         : tourRestrictions=>{
            
         }
      }
   }
log-konz
 
Posts: 8
Joined: Mon Mar 23, 2015 9:06 am

Re: Balancing doesn't work

Postby Bernd Welter » Fri Sep 04, 2015 12:32 pm

Hello again,

I recently made some experiments with the undocumented BalancingCOnstruction method parameter and for me the results look much better (in some scenarions) if I use cGuidedCMSavings instead of cBalancingCMDefault...

Maybe it's worth trying! :mrgreen:

Best regards Bernd
User avatar
Bernd Welter
Site Admin
 
Posts: 571
Joined: Mon Apr 14, 2014 10:28 am

Re: Balancing doesn't work

Postby columbs » Mon Feb 27, 2017 10:28 am

Hello Bernd,

we have also experienced some troubles with balacing params. The issue is the following, we have a planning input with:
- 127 orders (of type AB)
- 5 vehicles

when I use the standard params, I can schedule all 127 orders by using only 4 vehicles. since my gaol ist to use all 5 available vehicles, I tried to use the balancing params (BalancingGoal= TOUR_PERIOD), but I get many unscheduled orders in these way. any Idea?

In the attachment is the request with balancing params.


In the other request is just "BalancingParams" replaced by "StandardParams" and the BalancingGoal removed.

thank you very much in advance!
regards from Berne,
Sebastiano

Update: I tried the balancing construction method "cGuidedCMSavings" as suggested by Bernd in the previous post and I can schedule all Orders! :-)
I will check in the next hours, the result quality.
Attachments
Request_Balancing_forum.zip
(9.78 KiB) Downloaded 20 times
Intertour strategy is my religion
User avatar
columbs
 
Posts: 15
Joined: Fri Oct 07, 2016 8:21 am

Re: Balancing doesn't work

Postby Joost » Mon Feb 27, 2017 3:56 pm

I took a peek at your request. I believe that you had problems getting everything scheduled because the default algoritme for balancing does not perform well with AB orders. In the end it is likely that you hit the available machine time. Switching to cGuidedCMSavings should solve this issue (like you already found).
Joost Claessen
Senior Technical Consultant
PTV Benelux
Joost
 
Posts: 120
Joined: Fri Apr 25, 2014 1:46 pm

Re: Balancing doesn't work

Postby Bernd Welter » Mon Mar 20, 2017 9:58 am

one more comment to this - as Joost already mentioned:
if you compare the processing times of BALANCING versus STANDARD with equal input scenario (same orders, same resources) the BALANCING usually takes longer to terminate - that's my personal experience.
So if you did prove that a proper solution with 4 vehicles was found by STANDARD within AMT this doesn't guarantee that BALANCING will provide a sufficient result within the AMT, too.
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: 571
Joined: Mon Apr 14, 2014 10:28 am


Return to PTV xTourServer

cron