Hi Jakob,
Thank you for your reply. As the default routing algorithm in one-shot.py is astar, this is the routing which is responsible for finding the best route.
The total number of edges is 108k.
Using sumo as cmd was a good idea, thanks for this.
So, I used DUAROUTER and generated the routes for the same set of trips that I fed into oneshot, with this configuration:
<files>
<net-file value="map10_limitedWellington.net.xml"/>
<route-files value="Routev1800000in30min_v1trips.rou.xml"/> -> used DUAROUTER for this
</files>
<process>
<begin value="0"/>
<route-steps value="200"/>
<routing-algorithm value="astar"/>
<device.rerouting.probability value="1"/>
<device.rerouting.period value="300"/> FOR ASSIGNING NEW ROUTES TO VEHICLES
<device.rerouting.adaptation-interval value="1"/>
<device.rerouting.with-taz value="False"/>
<device.rerouting.explicit value=""/>
<vehroute-output.last-route value="False"/>
<vehroute-output.exit-times value="False"/>
<vehroute-output.sorted value="False"/>
</process>
<reports>
<verbose value="True"/>
<no-warnings value="True"/>
</reports>
</configuration>
Generally, this is much faster than one-shot as only after 20-30 min the simulation step is about 7000 ( although I am aware that I am only doing the routing in 5 min intervals and am missing the routing at the departure time as one-shot does these rerouting at these two step (departure and predefined intervals))
~/Desktop/sumofromgit/bin$ sudo sumo -c TestBigdata.sumocfg
Loading configuration... done.
Loading net-file from 'map10_limitedWellington.net.xml'... done (4512ms).
Loading done.
Simulation started with time: 0.00
Step #6986.00 (1186ms ~= 0.84*RT, ~46293.42UPS, vehicles TOT 65099 ACT 54895 B
while after 3 days of running one-shot, one-shot.log shows step 1036 as the last line of the log:
Step #1035.00 (371223ms ~= 0.00*RT, ~21.80UPS, vehicles TOT 8135 ACT 8094 BUF
Step #1036.00 (369297ms ~= 0.00*RT, ~22.00UPS, vehicles TOT 8167 ACT 8126 BU
By the way, I was not aware that we can post our questions to stackoverflow, so I post another version of my question there :
In between, which is a better place to ask questions: stackoverflow or here?
Many thanks
Mohsen