[SCIP] Calling SCIPfree() function is enough to release all memory used by SCIP?

Marc Pfetsch pfetsch at mathematik.tu-darmstadt.de
Thu Jul 27 17:24:42 CEST 2023



Dear Juan,

yes, calling SCIPfree() should be enough.

Best

Marc

On 27/07/2023 15:10, Lastra Diaz Jose wrote:
> Dear colleagues,
> 
> I am observing a memory leak in a very large benchmark of MILP models.
> 
> Every time I create and solve a MIP model I call the SCIPfree(scip) 
> function. In addition, I call SCIPreleaseCons() function just after 
> inseting any constraint into the model, and I call SCIPreleaseVar() for 
> each variable after reading its value in the final solution.
> 
> ·*My question:*Calling SCIPfree() function is enough to release all 
> memory used by SCIP?. Or on the contrary, I need to carry out some other 
> action.
> 
> Thank you in advance,
> 
> JUan
> 
> cid:image001.png at 01D4B3E6.540B6570
> 
> 	
> 
> *Juan J. Lastra Díaz, PhD*
> 
> *Advanced Research department*
> 
> *t **: *+34 917 88 88 65
> 
> *e**: *j.lastra at lectra.com <mailto:j.lastra at lectra.com>
> 
> cid:image002.png at 01D4B3E6.540B6570 
> <https://www.linkedin.com/company/8538/>cid:image003.png at 01D4B3E6.540B6570 <https://www.facebook.com/LectraOfficial/>cid:image004.png at 01D4B3E6.540B6570 <https://www.instagram.com/lectraofficial/>cid:image005.png at 01D4B3E6.540B6570 <https://www.youtube.com/user/LectraTechChannel?hl=fr>cid:image006.png at 01D4B3E6.540B6570 <https://blog.lectra.com/>
> 
> 	
> 
> C/ Vía de los Poblados, 1 - Edif. C, 1ª Plta.
> 
> P.E. Alvento - 28033 Madrid - España
> 
> *lectra.com* <http://www.lectra.com/>
> 
> This e-mail and any attached files may contain confidential information 
> which is intended exclusively for the recipient. If you are not the 
> specified recipient, you should delete this e-mail from your system 
> immediately, and inform the sender without delay. Reading, distributing, 
> copying, or any other unauthorized use of this e-mail and its attached 
> files is strictly forbidden. Thank you for your comprehension.
> 
> Este correo electrónico y cualquier archivo adjunto pueden contener 
> información confidencial que está destinada exclusivamente al 
> destinatario. Si usted no es el destinatario especificado, debe eliminar 
> este correo electrónico de su sistema inmediatamente e informar al 
> remitente sin demora. Está terminantemente prohibido leer, distribuir, 
> copiar o cualquier otro uso no autorizado de este correo electrónico y 
> sus archivos adjuntos. Gracias por su comprensión.
> 
> 
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip


More information about the Scip mailing list