Before solving, you need to set
option cplex_options 'return_mipgap 3';
or add 'return_mipgap 3' to the cplex_options string that you're already using. Then you can display the values of <obj>.absmipgap and <obj>.relmipgap.
Bob Fourer
--
You received this message because you are subscribed to the Google Groups "AMPL Modeling Language" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ampl+uns...@googlegroups.com.
To post to this group, send email to am...@googlegroups.com.
Visit this group at http://groups.google.com/group/ampl.
For more options, visit https://groups.google.com/d/optout.