[AMPL 24794] max_iter as a parameter

An answer was posted in the new AMPL user forum:
https://discuss.ampl.com/t/max-iter-as-a-parameter/735