<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div>Hi Christopher,<br class=""><div class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class=""><br class=""></div><div class="">As written in the manual (page 81), you can use <span style="font-family: Tahoma; font-size: 10pt;" class="">the parameters for the Interactive Optimizer in CMPL. The names of sub-parameters of hierarchical
parameters have to be separated by slashes.</span></div>
                
        
        
                <div class="page" title="Page 81">
                        <div class="layoutArea">
                                <div class="column"><p class="">%opt cplex mip/tolerances/mipgap 0.10</p><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Mike</div></div></div></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">Am 04.02.2016 um 16:41 schrieb Christopher Gross <<a href="mailto:christopher.gross@unikat.uni-augsburg.de" class="">christopher.gross@unikat.uni-augsburg.de</a>>:</div><br class="Apple-interchange-newline"><div class="">Hi,<br class=""><br class="">when solving a model with CPLEX, I would like to be able to specify a MIP gap. In CPLEX interactive mode, this can be done with the command "set mip tolerances mipgap 0.5".<br class=""><br class="">I tried adding this to the head section of my model like this:<br class=""><br class="">%opt cplex "mip tolerances mipgap" 0.5<br class=""><br class="">and also without quotes:<br class=""><br class="">%opt cplex mip tolerances mipgap 0.5<br class=""><br class="">and with points as separator<br class=""><br class="">%opt cplex mip.tolerances.mipgap 0.5<br class=""><br class="">Unfortunately, the first two variants generate a CMPL error (Error (CMPL header): file model.cmpl in line 14:  mipgap": To much options per line) and the third variant is not recognized by CPLEX.<br class=""><br class="">What is the correct way of setting this CPLEX parameter with CMPL?<br class=""><br class="">Thanks,<br class=""><br class="">Christopher<br class="">-- <br class="">Christopher Gross, M.Sc.<br class=""><br class="">Lehrstuhl für Health Care Operations/Health Information Management<br class=""><br class="">Universitäres Zentrum für Gesundheitswissenschaften am Klinikum Augsburg<br class="">(UNIKA-T), Neusässer Straße 47, 86156 Augsburg;<br class=""><br class="">Wirtschaftswissenschaftliche Fakultät, Universität Augsburg,<br class="">Universitätsstraße 16, 86159 Augsburg<br class=""><br class=""><br class="">Tel.: +49 821 598-6454<br class=""><br class="">E-Mail:  <a href="mailto:christopher.gross@unikat.uni-augsburg.de" class="">christopher.gross@unikat.uni-augsburg.de</a><br class="">Web:  <a href="http://www.wiwi.uni-augsburg.de/bwl/brunner/" class="">http://www.wiwi.uni-augsburg.de/bwl/brunner/</a><br class="">_______________________________________________<br class="">Cmpl mailing list<br class=""><a href="mailto:Cmpl@list.coin-or.org" class="">Cmpl@list.coin-or.org</a><br class=""><a href="http://list.coin-or.org/mailman/listinfo/cmpl" class="">http://list.coin-or.org/mailman/listinfo/cmpl</a></div></blockquote></div><br class=""></div></div></div><br class=""></body></html>