Scippy

SCIP

Solving Constraint Integer Programs

event_globalbnd.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program and library */
4 /* SCIP --- Solving Constraint Integer Programs */
5 /* */
6 /* Copyright (C) 2002-2017 Konrad-Zuse-Zentrum */
7 /* fuer Informationstechnik Berlin */
8 /* */
9 /* SCIP is distributed under the terms of the ZIB Academic License. */
10 /* */
11 /* You should have received a copy of the ZIB Academic License */
12 /* along with SCIP; see the file COPYING. If not email to scip@zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file event_globalbnd.h
17  * @ingroup EVENTS
18  * @brief eventhdlr for storing all global bound changes
19  * @author Robert Lion Gottwald
20  *
21  * the bound changes are stored so that they can be shared with other threads
22  * in a concurrent solve.
23  */
24 
25 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
26 
27 #ifndef __SCIP_EVENT_GLOBALBND_H__
28 #define __SCIP_EVENT_GLOBALBND_H__
29 
30 
31 #include "scip/scip.h"
32 #include "scip/type_syncstore.h"
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 /** creates event handler for global bound event */
39 extern
41  SCIP* scip /**< SCIP data structure */
42  );
43 
44 /** gets the global bound changes stored in the eventhandler */
45 extern
47  SCIP_EVENTHDLR* eventhdlr /**< the globalbound eventhandler */
48  );
49 
50 /** enables storing of bound changes */
51 extern
53  SCIP_EVENTHDLR* eventhdlr /**< the globalbound eventhandler */
54  );
55 
56 /** disables storing of bound changes */
57 extern
59  SCIP_EVENTHDLR* eventhdlr /**< the globalbound eventhandler */
60  );
61 
62 /** clears all bound changes stored in the eventhandler */
63 extern
65  SCIP_EVENTHDLR* eventhdlr /**< the globalbound eventhandler */
66  );
67 
68 
69 #ifdef __cplusplus
70 }
71 #endif
72 
73 #endif
void SCIPeventGlobalbndDisableBoundStorage(SCIP_EVENTHDLR *eventhdlr)
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:53
void SCIPeventGlobalbndClearBoundChanges(SCIP_EVENTHDLR *eventhdlr)
SCIP_RETCODE SCIPincludeEventHdlrGlobalbnd(SCIP *scip)
SCIP_BOUNDSTORE * SCIPeventGlobalbndGetBoundChanges(SCIP_EVENTHDLR *eventhdlr)
void SCIPeventGlobalbndEnableBoundStorage(SCIP_EVENTHDLR *eventhdlr)
the type definitions for the synchronization store
SCIP callable library.