<div dir="ltr">Hi all,<div><br></div><div>I&#39;d like to determine the time a cbc solve takes to pass a given objective value threshold. My approach is to implement a custom event handler, and I wanted to double check that this is reasonable.</div>

<div><br></div><div>I have a gist up here: <a href="https://gist.github.com/gidden/ffb6e4321c74025bf526">https://gist.github.com/gidden/ffb6e4321c74025bf526</a>, and I pass in the custom event handler to the model before trying to solve it (using CbcMain0/1).</div>

<div><br></div><div>I&#39;m curious if <span class="" style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre">CbcEventHandler</span><span class="" style="font-weight:bold;color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre">::</span><span class="" style="color:rgb(51,51,51);font-family:Consolas,&#39;Liberation Mono&#39;,Menlo,Courier,monospace;font-size:12px;line-height:16.799999237060547px;white-space:pre">solution </span>is the right event to check for. I currently have a instance going that is listening for events (I have a simple stdout print when it occurs) that has yet to report. Is there a better way to do this?<br clear="all">

<div><br></div><div>Thanks,</div><div><br></div>-- <br><div dir="ltr">Matthew Gidden<br>Ph.D. Candidate, Nuclear Engineering<div>The University of Wisconsin -- Madison<br>Ph. 225.892.3192<br></div></div>
</div></div>