Scippy

SCIP

Solving Constraint Integer Programs

objdisp.cpp File Reference

Detailed Description

C++ wrapper for display column.

Author
Kati Wolter

Definition in file objdisp.cpp.

#include <cassert>
#include "objdisp.h"

Go to the source code of this file.

Functions

static SCIP_DECL_DISPCOPY (dispCopyObj)
 
static SCIP_DECL_DISPFREE (dispFreeObj)
 
static SCIP_DECL_DISPINIT (dispInitObj)
 
static SCIP_DECL_DISPEXIT (dispExitObj)
 
static SCIP_DECL_DISPINITSOL (dispInitsolObj)
 
static SCIP_DECL_DISPEXITSOL (dispExitsolObj)
 
static SCIP_DECL_DISPOUTPUT (dispOutputObj)
 
SCIP_RETCODE SCIPincludeObjDisp (SCIP *scip, scip::ObjDisp *objdisp, SCIP_Bool deleteobject)
 
scip::ObjDispSCIPfindObjDisp (SCIP *scip, const char *name)
 
scip::ObjDispSCIPgetObjDisp (SCIP *scip, SCIP_DISP *disp)
 

Function Documentation

static SCIP_DECL_DISPCOPY ( dispCopyObj  )
static

copy method for display column plugins (called when SCIP copies plugins)

Definition at line 53 of file objdisp.cpp.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPdispGetData(), SCIPincludeObjDisp(), and TRUE.

static SCIP_DECL_DISPFREE ( dispFreeObj  )
static

destructor of display column to free user data (called when SCIP is exiting)

Definition at line 78 of file objdisp.cpp.

References NULL, SCIP_CALL, SCIP_OKAY, SCIPdispGetData(), and SCIPdispSetData().

static SCIP_DECL_DISPINIT ( dispInitObj  )
static

initialization method of display column (called after problem was transformed)

Definition at line 104 of file objdisp.cpp.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPdispGetData().

static SCIP_DECL_DISPEXIT ( dispExitObj  )
static

deinitialization method of display column (called before transformed problem is freed)

Definition at line 122 of file objdisp.cpp.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPdispGetData().

static SCIP_DECL_DISPINITSOL ( dispInitsolObj  )
static

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

Definition at line 139 of file objdisp.cpp.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPdispGetData().

static SCIP_DECL_DISPEXITSOL ( dispExitsolObj  )
static

solving process deinitialization method of display column (called before branch and bound process data is freed)

Definition at line 156 of file objdisp.cpp.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPdispGetData().

static SCIP_DECL_DISPOUTPUT ( dispOutputObj  )
static

output method of display column to output file stream 'file'

Definition at line 173 of file objdisp.cpp.

References NULL, SCIP_CALL, SCIP_OKAY, and SCIPdispGetData().

SCIP_RETCODE SCIPincludeObjDisp ( SCIP scip,
scip::ObjDisp objdisp,
SCIP_Bool  deleteobject 
)

creates the display column for the given display column object and includes it in SCIP

Parameters
scipSCIP data structure
objdispdisplay column object
deleteobjectshould the display column object be deleted when display column is freed?

Definition at line 195 of file objdisp.cpp.

References NULL, SCIP_CALL, scip::ObjDisp::scip_desc_, SCIP_DISPSTATUS_AUTO, scip::ObjDisp::scip_header_, scip::ObjDisp::scip_name_, SCIP_OKAY, scip::ObjDisp::scip_position_, scip::ObjDisp::scip_priority_, scip::ObjDisp::scip_stripline_, scip::ObjDisp::scip_width_, and SCIPincludeDisp().

Referenced by SCIP_DECL_DISPCOPY(), and scip::ObjDisp::SCIP_DECL_DISPEXITSOL().

scip::ObjDisp* SCIPfindObjDisp ( SCIP scip,
const char *  name 
)

returns the display column object of the given name, or 0 if not existing

Parameters
scipSCIP data structure
namename of display column

Definition at line 223 of file objdisp.cpp.

References NULL, SCIPdispGetData(), and SCIPfindDisp().

Referenced by scip::ObjDisp::SCIP_DECL_DISPEXITSOL().

scip::ObjDisp* SCIPgetObjDisp ( SCIP scip,
SCIP_DISP disp 
)

returns the display column object for the given display column

Parameters
scipSCIP data structure
dispdisplay column

Definition at line 242 of file objdisp.cpp.

References NULL, and SCIPdispGetData().

Referenced by scip::ObjDisp::SCIP_DECL_DISPEXITSOL().