Scippy

SCIP

Solving Constraint Integer Programs

tsp::EventhdlrNewSol Class Reference

Detailed Description

C++ wrapper object for event handlers

Definition at line 41 of file EventhdlrNewSol.h.

#include <EventhdlrNewSol.h>

Public Member Functions

 EventhdlrNewSol (SCIP *scip)
 
virtual ~EventhdlrNewSol ()
 
virtual SCIP_DECL_EVENTFREE (scip_free)
 
virtual SCIP_DECL_EVENTINIT (scip_init)
 
virtual SCIP_DECL_EVENTEXIT (scip_exit)
 
virtual SCIP_DECL_EVENTINITSOL (scip_initsol)
 
virtual SCIP_DECL_EVENTEXITSOL (scip_exitsol)
 
virtual SCIP_DECL_EVENTDELETE (scip_delete)
 
virtual SCIP_DECL_EVENTEXEC (scip_exec)
 
- Public Member Functions inherited from scip::ObjEventhdlr
 ObjEventhdlr (SCIP *scip, const char *name, const char *desc)
 
 ObjEventhdlr (const ObjEventhdlr &o)
 
 ObjEventhdlr (ObjEventhdlr &&o)
 
virtual ~ObjEventhdlr ()
 
ObjEventhdlroperator= (const ObjEventhdlr &o)=delete
 
ObjEventhdlroperator= (ObjEventhdlr &&o)=delete
 
virtual SCIP_DECL_EVENTFREE (scip_free)
 
virtual SCIP_DECL_EVENTINIT (scip_init)
 
virtual SCIP_DECL_EVENTEXIT (scip_exit)
 
virtual SCIP_DECL_EVENTINITSOL (scip_initsol)
 
virtual SCIP_DECL_EVENTEXITSOL (scip_exitsol)
 
virtual SCIP_DECL_EVENTDELETE (scip_delete)
 
virtual SCIP_DECL_EVENTEXEC (scip_exec)=0
 
- Public Member Functions inherited from scip::ObjCloneable
virtual ~ObjCloneable ()
 
ObjCloneableoperator= (const ObjCloneable &o)=delete
 
ObjCloneableoperator= (ObjCloneable &&o)=delete
 
virtual SCIP_DECL_OBJCLONEABLECLONE (ObjCloneable *clone)
 
virtual SCIP_DECL_OBJCLONEABLEISCLONEABLE (iscloneable)
 

Additional Inherited Members

- Data Fields inherited from scip::ObjEventhdlr
SCIPscip_
 
char * scip_name_
 
char * scip_desc_
 

Constructor & Destructor Documentation

◆ EventhdlrNewSol()

tsp::EventhdlrNewSol::EventhdlrNewSol ( SCIP scip)
inline

default constructor

Definition at line 45 of file EventhdlrNewSol.h.

◆ ~EventhdlrNewSol()

virtual tsp::EventhdlrNewSol::~EventhdlrNewSol ( )
inlinevirtual

destructor

Definition at line 53 of file EventhdlrNewSol.h.

Member Function Documentation

◆ SCIP_DECL_EVENTFREE()

virtual tsp::EventhdlrNewSol::SCIP_DECL_EVENTFREE ( scip_free  )
virtual

destructor of event handler to free user data (called when SCIP is exiting)

Reimplemented from scip::ObjEventhdlr.

◆ SCIP_DECL_EVENTINIT()

virtual tsp::EventhdlrNewSol::SCIP_DECL_EVENTINIT ( scip_init  )
virtual

initialization method of event handler (called after problem was transformed)

Reimplemented from scip::ObjEventhdlr.

◆ SCIP_DECL_EVENTEXIT()

virtual tsp::EventhdlrNewSol::SCIP_DECL_EVENTEXIT ( scip_exit  )
virtual

deinitialization method of event handler (called before transformed problem is freed)

Reimplemented from scip::ObjEventhdlr.

◆ SCIP_DECL_EVENTINITSOL()

virtual tsp::EventhdlrNewSol::SCIP_DECL_EVENTINITSOL ( scip_initsol  )
virtual

solving process initialization method of event handler (called when branch and bound process is about to begin)

This method is called when the presolving was finished and the branch and bound process is about to begin. The event handler may use this call to initialize its branch and bound specific data.

Reimplemented from scip::ObjEventhdlr.

◆ SCIP_DECL_EVENTEXITSOL()

virtual tsp::EventhdlrNewSol::SCIP_DECL_EVENTEXITSOL ( scip_exitsol  )
virtual

solving process deinitialization method of event handler (called before branch and bound process data is freed)

This method is called before the branch and bound process is freed. The event handler should use this call to clean up its branch and bound data.

Reimplemented from scip::ObjEventhdlr.

◆ SCIP_DECL_EVENTDELETE()

virtual tsp::EventhdlrNewSol::SCIP_DECL_EVENTDELETE ( scip_delete  )
virtual

frees specific constraint data

Reimplemented from scip::ObjEventhdlr.

◆ SCIP_DECL_EVENTEXEC()

virtual tsp::EventhdlrNewSol::SCIP_DECL_EVENTEXEC ( scip_exec  )
virtual

execution method of event handler

Processes the event. The method is called every time an event occurs, for which the event handler is responsible. Event handlers may declare themselves resposible for events by calling the corresponding SCIPcatch...() method. This method creates an event filter object to point to the given event handler and event data.

Implements scip::ObjEventhdlr.