Choosing a particular route for a shuttle vehicle upon demand

85 views Asked by At

I'm trying to solve a problem where I have no idea what algorithm is to be used here to get the optimized answer. The problem is like this...

Consider there are 10 shuttle vehicles and 2 different routes in which they travel. Each vehicle has a seating capacity of 10 people. Normally each route will have 5 vehicles each (10 vehicles, 2 routes). I want to make the shuttle system smarter in a way that if Route 1 has more demand in users(shuttle running with full capacity) and Route 2 has minimal(where the number of passengers in each shuttle is less than 4), to tackle the demand needs, certain number of shuttle vehicles of Route 2 will come to Route 1. If the shuttle service in both routes are not in so demand(all running with less than 4 people), certain number of shuttle vehicles in both routes will stop running, and will be back running when the demand in users arises again.

Things to note : Distance is same in both routes, and the shuttles run free of charge for the passengers.

Which algorithm is best suited for these situations? Thanks in advance!

0

There are 0 answers