I want to create a population of clients to be served in random points on a map using GIS.
I divided my map in towns which really exist.
I have a linked hash map which links a town with his map.
I create an event which chooses a town through a custom distribution and then places the client in a random point inside the town.
I have a fleet of trucks to serve my clients.
After the creation of the client I send the nearest truck to the client to serve him and then the truck return in his base.
The simulation seems to run well but is very slow, even in virtual mode. How can I improve the speed of simulation?