Search code examples
callbackscippyscipopt

What does BESTSOLFOUND mean in SCIP's callback?


I would like to understand the meaning of BESTSOLFOUND in the SCIP_EVENTTYPE_BESTSOLFOUND. I have tried to write a callback to execute this event handler that can be found here. By referring to the related document it mentioned that:

a new best primal feasible solution was found

Now what I am willing to know is, what does it mean in the context of SCIP's B&B log file? And How can anyone find out when an event occurs?


Solution

  • You mean how can you see in the logfile when a new incumbent is found? Whenever there is a new value in the primalbound column.

    If you want to know whether your event handler works just print something in the exec callback.