Scippy

SCIP

Solving Constraint Integer Programs

struct_cutsel.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-2022 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 visit scipopt.org. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file struct_cutsel.h
17  * @ingroup INTERNALAPI
18  * @brief data structures for cut selectors
19  * @author Felipe Serrano
20  * @author Mark Turner
21  */
22 
23 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
24 
25 #ifndef __SCIP_STRUCT_CUTSEL_H__
26 #define __SCIP_STRUCT_CUTSEL_H__
27 
28 
29 #include "scip/def.h"
30 #include "scip/type_cutsel.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 /** cut selector */
38 {
39  char* name; /**< name of cut selector */
40  char* desc; /**< description of cut selector */
41  SCIP_DECL_CUTSELCOPY ((*cutselcopy)); /**< copy method of cut selector or NULL if you don't want to copy your plugin into sub-SCIPs */
42  SCIP_DECL_CUTSELFREE ((*cutselfree)); /**< destructor of cut selector */
43  SCIP_DECL_CUTSELINIT ((*cutselinit)); /**< initialize cut selector */
44  SCIP_DECL_CUTSELEXIT ((*cutselexit)); /**< deinitialize cut selector */
45  SCIP_DECL_CUTSELINITSOL((*cutselinitsol));/**< solving process initialization method of cut selector */
46  SCIP_DECL_CUTSELEXITSOL((*cutselexitsol));/**< solving process deinitialization method of cut selector */
47  SCIP_DECL_CUTSELSELECT((*cutselselect)); /**< cut selection method */
48  SCIP_CLOCK* setuptime; /**< time spend for setting up this cut selector for the next stages */
49  SCIP_CLOCK* cutseltime; /**< cut selector execution time */
50  SCIP_CUTSELDATA* cutseldata; /**< cut selector data */
51  int priority; /**< priority of the cut selector */
52  SCIP_Bool initialized; /**< is cut selector initialized? */
53 };
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 #endif
struct SCIP_CutselData SCIP_CUTSELDATA
Definition: type_cutsel.h:44
SCIP_DECL_CUTSELEXIT((*cutselexit))
SCIP_Bool initialized
Definition: struct_cutsel.h:52
type definitions for cut selectors
SCIP_DECL_CUTSELSELECT((*cutselselect))
SCIP_DECL_CUTSELCOPY((*cutselcopy))
SCIP_CLOCK * setuptime
Definition: struct_cutsel.h:48
SCIP_DECL_CUTSELFREE((*cutselfree))
SCIP_DECL_CUTSELINIT((*cutselinit))
#define SCIP_Bool
Definition: def.h:84
SCIP_DECL_CUTSELINITSOL((*cutselinitsol))
SCIP_DECL_CUTSELEXITSOL((*cutselexitsol))
SCIP_CUTSELDATA * cutseldata
Definition: struct_cutsel.h:50
SCIP_CLOCK * cutseltime
Definition: struct_cutsel.h:49
common defines and data types used in all packages of SCIP