[SCIP] Getting number of solutions found

Ambros Gleixner gleixner at zib.de
Wed Nov 17 22:20:23 CET 2021


Hi Marco,

In SCIPfreeTransform(), which you are probably calling before adding new 
constraints, the primal solution storage and the nbestsolsfound counter 
is freed, so no accumulation should happen.

Have you tried yourself to see what happens in your code?

Best,
Ambros

Am 17.11.21 um 15:14 schrieb Marco Correia:
> Hi,
> 
> When SCIPsolve is called multiple times (adding constraints between 
> them), does the SCIPgetNBestSolsFound gets reset to zero, or does it 
> keep accumulating?
> 
> Thanks
> Marco
> 
> _______________________________________________
> Scip mailing list
> Scip at zib.de
> https://listserv.zib.de/mailman/listinfo/scip
> 


More information about the Scip mailing list