The main focus of this article is on the optimization of takeway delivery routes.In response to a series of issues such as high costs and delivery delays in the delivery process,a vehicle routing problem(VRP)model was established by considering constraints such as delivery vehicle capacity,delivery mileage,and time windows,with the goal of maximizing customer satisfaction and employee satisfaction,and minimizing delivery costs.Through example verification,it was found that the path found through genetic algorithm can effectively reduce costs,improve customer and employee satisfaction,and ensure delivery time more effectively,verifying the feasibility and effectiveness of the algorithm.