Source code:
Please note that the code includes not only LM-CMA but also a few other algorithms, thus, the actual code of LM-CMA is pretty short. It is currently called from MATLAB, but you can modify the main function to call it from C/C++.
If you have any questions, please write to ilya.loshchilov@gmail.comĀ