[SCIP] Releasing variables in Python - 'Test_coloring.py' example

Felipe Serrano fserranom5 at gmail.com
Thu Sep 24 23:56:43 CEST 2020


Dear Philippe,

Could you please share the code and open an issue in
https://github.com/SCIP-Interfaces/PySCIPOpt ?

Thanks

Best,
Felipe.

On Mon, Sep 21, 2020 at 8:42 PM Philippe CHERVI <pchervi at hotmail.com> wrote:

> Hi,
>
>
>
> I have worked on Python’s ‘test_coloring.py’ (graph vertex coloring)
> initially proposed by the SCIP team, eventually getting a working version
> that I am willing to share with the SCIP community.
>
>
>
> However I couldn’t manage to release variables as no ‘releaseVar()’
> instruction exists on Pyscipopt, getting pestered by such warnings:
>
> ...
>
> WARNING: Transformed variable <t_Initial_Set_1> not released when freeing
> SCIP.
> WARNING: Transformed variable <t_Initial_Set_0> not released when freeing
> SCIP.
> WARNING: Original variable <Initial_Set_38> not released when freeing SCIP.
> WARNING: Original variable <Initial_Set_37> not released when freeing SCIP.
>
> ...
>
>
>
> What would be the way to release variables in Python, or is there any
> specific recommendation to avoid such warnings? If that helps, I can share
> the code (I use Anaconda’s Spyder and Windows).
>
>
>
> Best regards,
>
>
>
> Philippe CHERVI
>
>
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listserv.zib.de/pipermail/scip/attachments/20200924/90b3cb3f/attachment.html>


More information about the Scip mailing list