A* search algorithm for an optimal investment problem in vehicle-sharing systems