[SCIP] Warning about unreleased variables?

Franzen, Christian franzen at or.rwth-aachen.de
Tue Dec 8 13:22:23 CET 2020


Thanks Ambros, you hit the nail on the head. Were using SCIPtransformVar() instead of SCIPgetTranformVar().

Cheers
Christian

________________________________
Von: Scip <scip-bounces at zib.de> im Auftrag von Ambros Gleixner <gleixner at zib.de>
Gesendet: Montag, 7. Dezember 2020 22:04
An: scip at zib.de
Betreff: Re: [SCIP] Warning about unreleased variables?

Dear Christian,

One suspicion:  Are you using SCIPtransformVar()?  This adds a capture
even if the transformed variable already exists.  In this case, you
could use SCIPgetTransformVar() instead.

Otherwise, I don't think any of the branching related methods capture
variables automatically.

Does that help?

Best,
Ambros


Am 02.12.20 um 11:05 schrieb Franzen, Christian:
> Dear SCIP Team.
>
>
> Currently I am implementing a branching rule within my
> branch-and-price-and-cut solver. That seems to work correctly so far.
> However, whenever I am done with solving and call SCIPfree() to cleanup
> all resources I see the following warning in the logs
>
>
> WARNING: Transformed variable <PathFlow_agg4191_path25> not released
> when freeing SCIP.
>
> Better to say, I see thousands of them. These seems to be related to my
> branching rule, since I do not see the warnings when solving only the
> root node. So it seems to be not related to my Pricer or Separators. I
> couldn't find anything in the documentation, but is there a chance that
> one of the methods for finding branching candidates is capturing the
> corrsponding variables (e.g., SCIPgetLPBranchCands)? I do not capture
> them on my one and I am quite sure I am releasing all
> (original) variables after creation. Any ideas what I missed here?
>
>
> Regards
>
> Christian
>
>
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
>
_______________________________________________
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/20201208/13d01b52/attachment.html>


More information about the Scip mailing list