My personal Bmad codes
Publication on multi-objective genetic algorithm for optimizing storage ring nonlinearities. https://journals.aps.org/prab/abstract/10.1103/PhysRevAccelBeams.19.044001
Latest version is moga_ma, which extends my original code by adding emittance optimization and better support for linear optical elements. Applying ensembles of lattice imperfections is also well-support now.