<div dir="ltr">I have implemented a separator for a constraint handler I have written. When profiling I find that most of the time is spent when my separator calls my constraint hander's lock method:<div><br></div><div><div>                                 2             SCIPconsAddLocks <cycle 2> [2184]</div><div>                             257328483             ChordalSeparate <cycle 2> [19]</div><div>[3]     49.2   27.00    0.64 257328485         consLockChordal <cycle 2> [3]</div><div>                0.35    0.00 110035069/224944534     BMSreallocMemoryArray_call [45]</div><div>                0.29    0.00 147293414/176070304     BMSallocMemoryArray_call [61]</div><div>                0.00    0.00    1332/12022817     readNextLine [147]</div><div>                0.00    0.00    1332/262849      get_edge [2084]</div><div>                                 498             SCIPaddVarLocks <cycle 2> [2102]</div><div><br></div><div>I'm not sure why this is happening. Can anyone enlighten me?</div><div><br></div><div>Thanks,</div><div><br></div><div>James</div><div><br></div>-- <br><div class="gmail_signature">James Cussens<br>Dept of Computer Science &<br>York Centre for Complex Systems Analysis<br>Room 326, The Hub, Deramore Lane            Tel    +44 (0)1904 325371<br>University of York                                        Fax  +44 (0)1904 500159<br>York YO10 5GE, UK                               <a href="http://www.cs.york.ac.uk/~jc" target="_blank">http://www.cs.york.ac.uk/~jc</a><br><a href="http://www.york.ac.uk/docs/disclaimer/email.htm" target="_blank">http://www.york.ac.uk/docs/disclaimer/email.htm</a></div>
</div></div>