For CPLEX (mentioned in your subject line), you can specify, say,
option cplex_options 'tunefile=tune.txt';
Then you will get some output showing the progress of the tuning run, and when the run is finished you will find the recommended cplex_options settings in the file tune.txt. You can also find at
http://ampl.com/products/solvers/solvers-we-sell/cplex/options/ the instructions for other cplex_options settings that influence the tuning run; look for entries that begin with "pretune" or "tune".
Other MIP solvers have tuning features that work similarly, but with somewhat different details and setting names as described in their option listings.
Bob Fourer
am...@googlegroups.com
=======