Dear All,<div><br></div><div>I am trying to make CBC 2.4 work with an outer approximation based nonlinear solver.</div><div>To this end I implemented an OsiSolverInterface for the solver and created a cut generator which is called when a solution is found.</div>

<div>However CBC doesn&#39;t apply the cuts created by this generator, it only stores them in globalCuts_.</div><div>I checked that the first cut is correct and that it cuts off the solution but for some reason it is never added and the execution goes on without any progress in the following loop in CbcModel::chooseBranch:</div>

<div><br></div><div><div>  while (anyAction == -1) {</div><div>    // Set objective value (not so obvious if NLP etc)</div></div><div>    ...</div><div><br></div><div>1. Am I doing something wrong or is it a bug in CBC?</div>

<div>2. Is there an example of how to use CBC with a nonlinear solver? I have found qmip example which seems close but not exactly what I need.</div><div><br></div><div>Thank you in advance,</div><div>Victor</div><meta http-equiv="content-type" content="text/html; charset=utf-8">