abstract
- © 2021 American Physical Society.We introduce a stochastic optimization technique to obtain self-trapped beams in the generalized nonlinear Schrödinger equation. The method is based on combining a variational approach with a bio-inspired method: the cuckoo search algorithm that relies on Lévy flights. The proposed technique can be easily adapted to generate diverse self-trapped structures in a plethora of nonlinear media. Unlike the standard variational technique and some of the numerical algorithms previously reported, this algorithm allows for the optimization of different families of self-trapped beams concurrently.