I am working on a a spectra fitting program that uses Pyswarm's particle swarm optimization. The fitness function is simply an image similarity score between a base microwave spectrum and a spectrum made by each particle in the PSO. The parameters for the particles are the rotational constants A,B,C.
My issue is that I need A>B>C for each particle. Given the format that Pyswarm implements, how would I set up these parameter constraints?