<div dir="ltr">I would like more detail on when it is appropriate to use buffer versus block memory in SCIP.<div><br></div><div>I have a function  which looks like this:</div><div><br></div><div>/*STARTS*/</div><div>int* counts;</div><div>...</div><div><div>SCIP_CALL( SCIPallocClearBlockMemoryArray(scip, &counts, n) );</div><div> </div><div>foo(counts, n, ...);</div><div>bar(counts, n,...);</div><div><br></div><div> SCIPfreeBlockMemoryArray(scip, &counts, n);</div><div>...</div><div>/*ENDS*/</div><div><br></div><div>So counts is allocated and freed in the same function, but it used in other functions. So is it OK (and better) to have this as buffer memory?</div><div><br></div><div>James</div><div><br></div><div><br></div>-- <br><div dir="ltr" class="m_-3613370148472234260gmail_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>