ENH: Introduce optimization maxsteps for MHM
Adds the ability to truncate the "optimize" step of MHM. Useful for unreliable interatomic potentials where optimization files to find a correct minimum.
We keep the default (None
) unless otherwise specified.