Development of a route management algorithm capable of optimizing waste collection intelligently and dynamically