<div dir="ltr">Dear Giacomo:<div><br></div><div>   Thank you! Can you please let me know where to locate ASL code  or binary image? I searched AMPL website---- opensource section, but could not find them...<br><div><br></div><div><a href="http://ampl.com/products/solvers/open-source/" target="_blank">http://ampl.com/products/<wbr>solvers/open-source/</a><br></div></div><div><br></div><div>Thanks,</div><div><br></div><div>Feng</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 25, 2017 at 8:10 PM, Giacomo Nannicini <span dir="ltr"><<a href="mailto:giacomo.n@gmail.com" target="_blank">giacomo.n@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Feng,</div><div dir="auto">I believe you need to compile with the ASL solver, otherwise CBC will not have an AMPL interface. Look into ThirdParty/ASL.</div><div dir="auto"><br></div><div dir="auto">You can probably also get binaries directly from the AMPL website, in the open-source solver section.</div><div dir="auto"><br></div><div dir="auto">Giacomo<br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote"><div><div class="h5">On Sep 24, 2017 10:38 PM, "Feng Gao" <<a href="mailto:mangotree.gf@gmail.com" target="_blank">mangotree.gf@gmail.com</a>> wrote:<br type="attribution"></div></div><blockquote class="m_-37125605224251163quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Dear Cbc Users:</div><div><br></div><div>      I have two questions regarding to Cbc Solver with AMPL. Please help.</div><div><br></div>1. I use AMPL + Cbc solve to run a case, however, AMPL issued an error message "Unable to open a file" where a solution is located. I compiled the Cbc solver using VS and the solver is working fine in a stand-alone mode.<br><div><br></div><div>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>---</div><div><div>ampl: solve</div><div>ampl? ;</div><div>Welcome to the CBC MILP Solver </div><div>Version: 2.9.9 </div><div>Build Date: Sep 19 2017 </div><div><br></div><div>command line - C:\COIN\Cbc\Cbc\MSVisualStudio<wbr>\v10\x64-v100-Release\cbc.exe C:\Users\Feng\AppData\Local\Te<wbr>mp\at2596 -AMPL (default strategy 1)</div><div>Unable to open file C:\Users\Feng\AppData\Local\Te<wbr>mp\at2596</div><div>No match for AMPL - ? for list of commands</div><div>Total time (CPU seconds):       0.00   (Wallclock seconds):       0.00</div><div><br></div><div>Error executing "solve" command:</div><div>can't open C:\Users\Feng\AppData\Local\Te<wbr>mp\at2596.sol</div></div><div><div>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>---</div><div><br></div><div>2. How to set a "MIP GAP" termination criteria in Cbc solver command line. The manuals only provide a time limit or the maximal number of iterations termination criteria though.</div><div><br></div><div>Thank you very much,</div><div><br></div><div>Feng</div><div><br></div><div></div></div></div>
<br></div></div>______________________________<wbr>_________________<br>
Cbc mailing list<br>
<a href="mailto:Cbc@list.coin-or.org" target="_blank">Cbc@list.coin-or.org</a><br>
<a href="https://urldefense.proofpoint.com/v2/url?u=https-3A__list.coin-2Dor.org_mailman_listinfo_cbc&d=DwICAg&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=8FaVxIx99H879Ebkij38NpcRZoYLK-7QMl1LqyvBccA&m=8SxEtjHupj81oGZfkVBTmkXuT1qwISmP_eNU8T5zAmQ&s=5qs5HpSbbII0q41Boy-R7lKX6Ba0SWcp3LNU6kqLgDg&e=" rel="noreferrer" target="_blank">https://urldefense.proofpoint.<wbr>com/v2/url?u=https-3A__list.co<wbr>in-2Dor.org_mailman_listinfo_<wbr>cbc&d=DwICAg&c=Ngd-ta5yRYsqeUs<wbr>EDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&<wbr>r=8FaVxIx99H879Ebkij38NpcRZoYL<wbr>K-7QMl1LqyvBccA&m=8SxEtjHupj81<wbr>oGZfkVBTmkXuT1qwISmP_<wbr>eNU8T5zAmQ&s=5qs5HpSbbII0q41Bo<wbr>y-R7lKX6Ba0SWcp3LNU6kqLgDg&e=</a><br>
<br></blockquote></div><br></div></div></div>
</blockquote></div><br></div>