Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::GScipEventHandlerContext Class Reference

#include <gscip_event_handler.h>

Public Member Functions

 GScipEventHandlerContext (GScip *gscip, SCIP_EVENTTYPE event_type)
 
GScip * gscip () const
 
SCIP_EVENTTYPE event_type () const
 

Detailed Description

Passed by value. This is a lightweight interface to the callback context and the underlying problem. It's preferred for callbacks to use the context object to query information rather than using the raw SCIP pointer, because the context object can be set up to do this in a safe way.

Definition at line 46 of file gscip_event_handler.h.

Constructor & Destructor Documentation

◆ GScipEventHandlerContext()

operations_research::GScipEventHandlerContext::GScipEventHandlerContext ( GScip * gscip,
SCIP_EVENTTYPE event_type )
inline

Definition at line 48 of file gscip_event_handler.h.

Member Function Documentation

◆ event_type()

SCIP_EVENTTYPE operations_research::GScipEventHandlerContext::event_type ( ) const
inline

This is always an atomic event type, not a mask (i.e., one of the events defined as a bitwise OR).

Definition at line 55 of file gscip_event_handler.h.

◆ gscip()

GScip * operations_research::GScipEventHandlerContext::gscip ( ) const
inline

Definition at line 51 of file gscip_event_handler.h.


The documentation for this class was generated from the following file: