[Scip] priority of a constraint handler

Hélène Toussaint helene.toussaint at isima.fr
Fri Feb 3 16:08:54 MET 2012


Hi,

I’d like to use a constraint handler to handle a non linear constraint 
(!=). I'd like to check this constraint only if all linear constraints 
defined in my LP are satisfied and if the solution is integer. I use the 
C++ class ObjConshdlr and put the property like this:
sepapriority = -2000000
enfopriority = -2000000
checkpriority = -2000000
sepafreq = -1
propfreq = -1
eagerfreq = 1
maxprerounds = 0
delaysepa = FALSE
delayprop = FALSE
delaypresol = FALSE
needscons = FALSE

I have implemented only the five pure virtual functions of this base 
class. When I enter scip_check the solution is not always integer and 
not always satisfies the linear constraints yet my checkpriority flag is 
very small. I see that the integrality constraint handler has a check 
priority of zero so I don’t understand why my solution is not integer 
when I enter scip_check. Could you say me what happens?

Moreover I’d like to stop when I find a solution good enough (w.r.t. 
heuristic criteria) but not necessary optimal. How can I do?

Best regards,
Hélène



More information about the Scip mailing list