Scippy

SCIP

Solving Constraint Integer Programs

dpterms.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 dpterms.h
17  * @brief Dynamic programming solver for Steiner tree (sub-) problems with small number of terminals
18  * @author Daniel Rehfeldt
19  *
20  * This file implements a dynamic programming method to solve Steiner tree problems to optimality.
21  * FPT with respect to the number of terminals. Based on algorithm by Erickson, Monma and Veinott,
22  * which itself is a slight extension of Dryefus-Wagner.
23  * This implementation uses several reduction methods to improve the practical performance.
24  * It also uses a node-separator technique from "Separator-Based Pruned Dynamic Programming for Steiner Tree"
25  * by Iwata and Shigemura.
26  *
27  */
28 
29 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
30 
31 #ifndef APPLICATIONS_STP_SRC_DPTERMS_H_
32 #define APPLICATIONS_STP_SRC_DPTERMS_H_
33 
34 #include "scip/scip.h"
35 #include "graph.h"
36 
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
42 
43 extern SCIP_RETCODE dpterms_solve(SCIP*, GRAPH*, int*, SCIP_Bool*);
47 
48 
49 #ifdef __cplusplus
50 }
51 #endif
52 
53 #endif /* APPLICATIONS_STP_SRC_DPTERMS_H_ */
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
includes various files containing graph methods used for Steiner tree problems
SCIP_RETCODE dpterms_solve(SCIP *, GRAPH *, int *, SCIP_Bool *)
Definition: dpterms_base.c:489
#define SCIP_Bool
Definition: def.h:84
SCIP_Bool dpterms_isPromisingPartly(const GRAPH *)
Definition: dpterms_base.c:518
SCIP_Bool dpterms_isPromisingFully(const GRAPH *)
Definition: dpterms_base.c:563
SCIP_Bool dpterms_isPromisingEmbarrassingly(const GRAPH *)
Definition: dpterms_base.c:554
SCIP callable library.