[Scip] Unecessary SCIP pointers in cons_*.c getter methods

Martin Bergner bergner at or.rwth-aachen.de
Tue Dec 13 15:22:11 MET 2011


Hi all,

The cons_setppc handler contains methods such as SCIPgetSetppcType or
SCIPgetDualSolSetppc which all get passed a SCIP pointer. 

I don't see the pointer used anywhere in the method. Do you keep it for
backwards compatibility or did you just forget to get rid of it?

The same is actually valid for the SCIPgetDualsol Method of all
constraint handlers which implement it (namely linear, varbound,
knapsack, logicor and setppc). In fact, it's not even checked to be 
different from NULL.

Regards,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : http://listserv.zib.de/mailman/private/scip/attachments/20111213/e1053887/attachment.bin


More information about the Scip mailing list