Scippy

SCIP

Solving Constraint Integer Programs

pub_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 pub_cutsel.h
17  * @ingroup PUBLICCOREAPI
18  * @brief public methods for cut selectors
19  * @author Mark Turner
20  * @author Felipe Serrano
21  */
22 
23 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
24 
25 #ifndef __SCIP_PUB_CUTSEL_H__
26 #define __SCIP_PUB_CUTSEL_H__
27 
28 
29 #include "scip/def.h"
30 #include "scip/type_misc.h"
31 #include "scip/type_cutsel.h"
32 
33 #ifdef __cplusplus
34 extern "C" {
35 #endif
36 
37 /**@addtogroup PublicCutSelectorMethods
38  *
39  * @{
40  */
41 
42 /** gets name of cut selector */
43 SCIP_EXPORT
44 const char* SCIPcutselGetName(
45  SCIP_CUTSEL* cutsel /**< cut selector */
46  );
47 
48 /** gets user data of cut selector */
49 SCIP_EXPORT
51  SCIP_CUTSEL* cutsel /**< cut selector */
52  );
53 
54 /** gets description of cut selector */
55 SCIP_EXPORT
56 const char* SCIPcutselGetDesc(
57  SCIP_CUTSEL* cutsel /**< cut selector */
58  );
59 
60 /** gets priority of cut selector */
61 SCIP_EXPORT
63  SCIP_CUTSEL* cutsel /**< cut selector */
64  );
65 
66 /** sets user data of cut selector; user has to free old data in advance! */
67 SCIP_EXPORT
69  SCIP_CUTSEL* cutsel, /**< cut selector */
70  SCIP_CUTSELDATA* cutseldata /**< new cut selector user data */
71  );
72 
73 /** is cut selector initialized? */
74 SCIP_EXPORT
76  SCIP_CUTSEL* cutsel /**< cut selector */
77  );
78 
79 /** gets time in seconds used in this cut selector for setting up for next stages */
80 SCIP_EXPORT
82  SCIP_CUTSEL* cutsel /**< cut selector */
83  );
84 
85 /** gets time in seconds used in this cut selector */
86 SCIP_EXPORT
88  SCIP_CUTSEL* cutsel /**< cut selector */
89  );
90 
91 /** compares two cut selectors w. r. to their priority */
92 SCIP_EXPORT
93 SCIP_DECL_SORTPTRCOMP(SCIPcutselComp);
94 
95 
96 /** @} */
97 
98 #ifdef __cplusplus
99 }
100 #endif
101 
102 #endif
const char * SCIPcutselGetName(SCIP_CUTSEL *cutsel)
Definition: cutsel.c:142
type definitions for miscellaneous datastructures
SCIP_CUTSELDATA * SCIPcutselGetData(SCIP_CUTSEL *cutsel)
Definition: cutsel.c:371
struct SCIP_CutselData SCIP_CUTSELDATA
Definition: type_cutsel.h:44
type definitions for cut selectors
void SCIPcutselSetData(SCIP_CUTSEL *cutsel, SCIP_CUTSELDATA *cutseldata)
Definition: cutsel.c:381
SCIP_DECL_SORTPTRCOMP(SCIPcutselComp)
Definition: cutsel.c:527
SCIP_Real SCIPcutselGetSetupTime(SCIP_CUTSEL *cutsel)
Definition: cutsel.c:507
SCIP_Bool SCIPcutselIsInitialized(SCIP_CUTSEL *cutsel)
Definition: cutsel.c:497
#define SCIP_Bool
Definition: def.h:84
const char * SCIPcutselGetDesc(SCIP_CUTSEL *cutsel)
Definition: cutsel.c:197
int SCIPcutselGetPriority(SCIP_CUTSEL *cutsel)
Definition: cutsel.c:392
#define SCIP_Real
Definition: def.h:177
SCIP_Real SCIPcutselGetTime(SCIP_CUTSEL *cutsel)
Definition: cutsel.c:517
common defines and data types used in all packages of SCIP