Advanced metaheuristic algorithms for laser optimization in optical accelerator technologies