Author: K.Z.
Agent based model. Multiprocessing.
pip install -r requirements.txt
N_v represents number of idle riders, N_b represents number of accumulated order batches, p is the customer matching probability, pp is the rider matching probability. The merchant node size represents the number of accumulated orders in this merchant.
In this demo, max matching radius r=1 km, max delivery radius R=2 km, batch size (bundling ratio) k=3, matching interval t=0.005 hour. The order arrival rate