[SCIP] SCIPconshdlrGetNCutsFound (number of found cuts vs number of applied cuts)

Jonas Charfreitag jcharfreitag at uni-bonn.de
Thu Mar 21 14:18:12 CET 2024


Hi everyone,

one of my constraint handlers has entries in the scip statistics table, 
I can not make sense of yet. Its row basically looks like this:

> Constraints        :     Number MaxNumber  #Separate #Propagate    
> #EnfoLP    #EnfoRelax #EnfoPS    #Check   #ResProp    Cutoffs    
> DomReds       Cuts Applied      Conss   Children
>   myHandler       :          1          1    35               0       
>          0                0          0             34             
> 0                0          0                0        975              0 0

It reports zero found cuts, but 975 applied ones. From my understanding 
#Found should be >= #Applied, or am I misunderstanding the columns?

The lp separation method of myHandler adds cuts via 
"SCIP_CALL(SCIPaddPoolCut(scip, row));" and creates rows via 
"SCIPcreateEmptyRowConshdlr()".
I feel like I might be missing something here, as "SCIP_RETCODE 
SCIPcutpoolSeparate()" calls "SCIPconshdlrIncNCutsFound(conshdlr);" only 
if "cutpoolisdelayed". But who (if anyone) is responsible for increasing 
the counter for non delayed cutpools, is it me, the user?

Thanks for any hints in advance!
Best,
Jonas

-- 
M.Sc. Jonas Charfreitag
Uni Bonn - Institut fuer Informatik - Abteilung 1
Friedrich-Hirzebruch-Allee 8 / Room 2.078a
53115 Bonn, Germany

e-mail: jcharfreitag at uni-bonn.de
web: https://ca.cs.uni-bonn.de/doku.php?id=people:charfreitag



More information about the Scip mailing list