# Error in cbc options

**URL:** <https://discuss.ampl.com/t/error-in-cbc-options/644>\
**Category:** Support\
**Tags:** errors-and-messages\
**Created:** [July 12, 2023, 2:59pm UTC](https://discuss.ampl.com/t/error-in-cbc-options/644 "2023-07-12T14:59:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nico\_ampl](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Nico\_ampl](https://discuss.ampl.com/u/Nico_ampl)\
**Post date:** [July 12, 2023, 2:59pm UTC](https://discuss.ampl.com/t/error-in-cbc-options/644/1 "2023-07-12T14:59:30Z")

</div>

I have just downloaded latest Ampl bundle.  
I tried to solve a lp using cbc as solver.  
I modified cbc options : option cbc\_options ‘outlev=2 ratioGap=0.1 allowableGap=0’;

But ratioGap and allowableGap did not seem to be taken into account.  
The log was :

```auto
ampl: option cbc_options 'outlev=2 ratioGap=0.1 allowableGap=0';
ampl: solve;
cbc 2.10.7: tech:outlev=2
double:ratioGap=0.1
double:allowableGap=0
Welcome to the CBC MILP Solver
Version: 2.10.7
Build Date: Feb 27 2023

command line - Cbc_C_Interface -/ 0 -log 2 -solve -quit (default strategy 1)
No match for / - ? for list of commands
No match for 0 - ? for list of commands
logLevel was changed from 1 to 2

```

I think there is something wrong with the command line.

---

<div class="post-metadata">

**Author:** ![mapgccv](https://sea1.discourse-cdn.com/flex019/user_avatar/discuss.ampl.com/mapgccv/32/17_2.png) [@mapgccv](https://discuss.ampl.com/u/mapgccv)\
**Post date:** [July 14, 2023, 2:14pm UTC](https://discuss.ampl.com/t/error-in-cbc-options/644/2 "2023-07-14T14:14:10Z")

</div>

Hi Nico,

we are about to publish an update to cbc (20230713), can you try see whether it fixes it? It should be available by end of day today.

---

<div class="post-metadata">

**Author:** ![Nico\_ampl](https://avatars.discourse-cdn.com/v4/letter/n/59ef9b/32.png) [@Nico\_ampl](https://discuss.ampl.com/u/Nico_ampl)\
**Post date:** [July 15, 2023, 2:47pm UTC](https://discuss.ampl.com/t/error-in-cbc-options/644/3 "2023-07-15T14:47:25Z")

</div>

I confirm that the bug is solved with the new version of Cbc (20230713).
