From Electric Vehicles to Sustainable Urban Mobility: An Optimization Journey