Scippy

SCIP

Solving Constraint Integer Programs

struct_benderscut.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_benderscut.h
17  * @ingroup INTERNALAPI
18  * @brief datastructures for Benders' decomposition cuts techniques
19  * @author Stephen J. Maher
20  */
21 
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #ifndef __SCIP_STRUCT_BENDERSCUT_H__
25 #define __SCIP_STRUCT_BENDERSCUT_H__
26 
27 
28 #include "scip/def.h"
29 #include "scip/type_clock.h"
30 #include "scip/type_benderscut.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 /** Benders' decomposition cuts data */
38 {
39  SCIP_Longint ncalls; /**< number of times, this Benders' decomposition cut was called */
40  SCIP_Longint nfound; /**< number of cuts found so far by this Benders' decomposition cut */
41  char* name; /**< name of the Benders' decomposition cut */
42  char* desc; /**< description of the Benders' decomposition cut */
43  SCIP_DECL_BENDERSCUTCOPY((*benderscutcopy));/**< copy method of the Benders' decomposition cut or NULL if you don't want to copy your plugin into sub-SCIPs */
44  SCIP_DECL_BENDERSCUTFREE((*benderscutfree));/**< destructor of the Benders' decomposition cut */
45  SCIP_DECL_BENDERSCUTINIT((*benderscutinit));/**< initialize the Benders' decomposition cut */
46  SCIP_DECL_BENDERSCUTEXIT((*benderscutexit));/**< deinitialize the Benders' decomposition cut */
47  SCIP_DECL_BENDERSCUTINITSOL((*benderscutinitsol));/**< solving process initialization method of the Benders' decomposition cut */
48  SCIP_DECL_BENDERSCUTEXITSOL((*benderscutexitsol));/**< solving process deinitialization method of the Benders' decomposition cut */
49  SCIP_DECL_BENDERSCUTEXEC((*benderscutexec));/**< execution method of the Benders' decomposition cut */
50  SCIP_BENDERSCUTDATA* benderscutdata; /**< Benders' decomposition cuts local data */
51  SCIP_CLOCK* setuptime; /**< time spend for setting up the Benders' decomposition cut plugin */
52  SCIP_CLOCK* benderscutclock; /**< the execution time of the Benders' decomposition cut plugin */
53  int priority; /**< priority of the Benders' decomposition cuts */
54  SCIP_Bool islpcut; /**< does this Benders' cut use LP information? */
55  SCIP_Bool initialized; /**< has the Benders' decomposition cut been initialized? */
56 
57  /* additional Benders' decomposition cuts parameters */
58  SCIP_Bool enabled; /**< is this Benders' decomposition cut enabled? */
59 };
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif
struct SCIP_BenderscutData SCIP_BENDERSCUTDATA
SCIP_DECL_BENDERSCUTINIT((*benderscutinit))
SCIP_DECL_BENDERSCUTEXITSOL((*benderscutexitsol))
SCIP_Longint ncalls
SCIP_DECL_BENDERSCUTEXEC((*benderscutexec))
SCIP_CLOCK * setuptime
SCIP_DECL_BENDERSCUTCOPY((*benderscutcopy))
#define SCIP_Bool
Definition: def.h:84
SCIP_DECL_BENDERSCUTFREE((*benderscutfree))
SCIP_CLOCK * benderscutclock
type definitions for clocks and timing issues
type definitions for Benders&#39; decomposition cut
SCIP_Longint nfound
#define SCIP_Longint
Definition: def.h:162
SCIP_BENDERSCUTDATA * benderscutdata
SCIP_DECL_BENDERSCUTINITSOL((*benderscutinitsol))
common defines and data types used in all packages of SCIP
SCIP_DECL_BENDERSCUTEXIT((*benderscutexit))