[SCIP] documentation and source disagree on valid stages for SCIPgetNLimSolsFound()?

Stefan Vigerske svigerske at gams.com
Fri Dec 15 05:41:30 CET 2023


Hi,


before the checkStage() call, there is code that handles the stages 
init, problem, and transforming:

     if( SCIPgetStage(scip) < SCIP_STAGE_TRANSFORMED)
        return 0;

This implementation may be a bit unusual, but it should be ok the way it is.

Stefan

On 14/12/2023 21:18, Ross Anderson wrote:
> See line 1774 of this file:
> 
> https://www.scipopt.org/doc/html/scip__solvingstats_8c_source.php
> 
> The comment lists three more stages than the call to SCIPcheckStage()
> below: init, problem, and transforming.
> 
> Based on the comment and the source agreeing in SCIPgetNSolsFound(), I
> would assume that source is correct and the comment is wrong.
> 
> This does not impact me/google, it just appears to be a typo.
> 
> Ross
> 
> 
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip



More information about the Scip mailing list