Scippy

SCIP

Solving Constraint Integer Programs

cons_stpcomponents.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 scip.zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file cons_stpcomponents.h
17  * @brief Components constraint handler for Steiner problems
18  * @author Daniel Rehfeldt
19  *
20  * This file checks solutions for feasibility and separates violated model constraints. For more details see \ref STP_CONS page.
21  */
22 
23 
24 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
25 
26 
27 #ifndef APPLICATIONS_STP_SRC_CONS_STPCOMPONENTS_H_
28 #define APPLICATIONS_STP_SRC_CONS_STPCOMPONENTS_H_
29 
30 
31 #include "scip/scip.h"
32 #include "graph.h"
33 
34 #ifdef __cplusplus
35 extern "C" {
36 #endif
37 
38 
39 /** creates the handler for element constraints and includes it in SCIP */
40 extern
42  SCIP* scip /**< SCIP data structure */
43  );
44 
45 
46 /** sets the data for decomposition up */
47 extern
49  SCIP* scip, /**< SCIP data structure */
50  GRAPH* graph /**< graph data */
51  );
52 
53 
54 /** is a promising decomposition available? */
55 extern
57  SCIP* scip /**< SCIP data structure */
58  );
59 
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 
66 #endif /* APPLICATIONS_STP_SRC_CONS_STPCOMPONENTS_H_ */
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
includes various files containing graph methods used for Steiner tree problems
SCIP_Bool SCIPStpcomponentsAllowsDecomposition(SCIP *scip)
#define SCIP_Bool
Definition: def.h:84
SCIP_RETCODE SCIPincludeConshdlrStpcomponents(SCIP *scip)
SCIP_RETCODE SCIPStpcomponentsSetUp(SCIP *scip, GRAPH *graph)
SCIP callable library.