<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>---------------------------------------------------------------------------------------------------------------------------------------------------------</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\v10\x64-v100-Release\cbc.exe C:\Users\Feng\AppData\Local\Temp\at2596 -AMPL (default strategy 1)</div><div>Unable to open file C:\Users\Feng\AppData\Local\Temp\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\Temp\at2596.sol</div></div><div><div>---------------------------------------------------------------------------------------------------------------------------------------------------------</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>