matsim-org / matsim-maas

This project contains a collection of examples to run (Autonomous) Mobility as a Service in MATSim.
GNU General Public License v2.0
36 stars 42 forks source link

Is DVRP executed in synchronous way with the simulation? #169

Open abdelkader4004 opened 10 months ago

abdelkader4004 commented 10 months ago

Hi

I am beginning with the DVRP extension, and i want to know whether the methods of VrpOptimizer like requestSunmitted are executed synchronously with the simulation i.e. the simulation is stopped when these methods are called.

I appreciate any help and thanks a lot.

michalmac commented 10 months ago

Yes, that's the case.

abdelkader4004 commented 10 months ago

Thanks for the response, Another question please, Can DVRP methods work at anytime of the day? or only each time step?

michalmac commented 10 months ago

They have a possibility to run every time step, but it is possible to skip some steps and re-optimise every N time steps.