<ttclass="function">int status()</tt> which returns 0 if finished (which includes the case when the algorithm is finished because it has been proved infeasible), 1 if stopped by user, and 2 if difficulties arose.

In addition to these <ttclass="classname">CbcModel</tt> methods, solution values can be accessed via OSI methods. The OSI methods pick up the current solution in the <ttclass="classname">CBCModel</tt>. The current solution will match the best solution found so far if called after <ttclass="function">branchAndBound()</tt> and a solution was found.

The OSI method will return the best solution found thus far, unless none has been found. It is safer to use <ttclass="classname">CbcModel</tt> version, <ttclass="function">CbcModel::bestSolution()</tt></td></tr><tr><tdalign="left"valign="top">