Scippy

SCIP

Solving Constraint Integer Programs

substpsolver.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 substpsolver.h
17  * @brief Solver for Steiner tree (sub-) problems
18  * @author Daniel Rehfeldt
19  *
20  * This file implements methods to solve Steiner tree subproblems to optimality, and to obtain an optimal Steiner tree.
21  * Branch-and-cut or dynamic programming is used for solving the subproblems.
22  *
23  */
24 
25 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
26 
27 
28 #ifndef APPLICATIONS_STP_SRC_SUBSTPSOLVER_H_
29 #define APPLICATIONS_STP_SRC_SUBSTPSOLVER_H_
30 
31 
32 #include "scip/scip.h"
33 #include "graph.h"
34 #include "probdata_stp.h"
35 
36 
37 /** Steiner tree sub-problem */
39 
40 #ifdef __cplusplus
41 extern "C" {
42 #endif
43 
44 
48 extern void substpsolver_free(SCIP*, SUBSTP**);
52 extern int substpsolver_getNsubedges(const SUBSTP*);
59 
60 
61 #ifdef __cplusplus
62 }
63 #endif
64 
65 #endif /* APPLICATIONS_STP_SRC_SUBSTPSOLVER_H_ */
void substpsolver_free(SCIP *, SUBSTP **)
Definition: substpsolver.c:380
SCIP_RETCODE substpsolver_getObjFromGraph(SCIP *, const GRAPH *, SCIP_Real *)
Definition: substpsolver.c:585
SCIP_RETCODE substpsolver_solve(SCIP *, SUBSTP *, SCIP_Bool *)
Definition: substpsolver.c:452
SCIP_RETCODE substpsolver_setProbIsIndependent(SUBSTP *)
Definition: substpsolver.c:542
SCIP_RETCODE substpsolver_init(SCIP *, GRAPH *, SUBSTP **)
Definition: substpsolver.c:313
SCIP_RETCODE substpsolver_setMute(SUBSTP *)
Definition: substpsolver.c:525
SCIP_RETCODE substpsolver_setProbNoSubDP(SUBSTP *)
Definition: substpsolver.c:553
Problem data for stp problem.
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
includes various files containing graph methods used for Steiner tree problems
SCIP_RETCODE substpsolver_initBC(SCIP *, GRAPH *, SUBSTP **)
Definition: substpsolver.c:359
SCIP_RETCODE substpsolver_setProbFullPresolve(SUBSTP *)
Definition: substpsolver.c:568
SCIP_RETCODE substpsolver_getSolution(SUBSTP *, int *)
Definition: substpsolver.c:500
#define SCIP_Bool
Definition: def.h:84
SCIP_RETCODE substpsolver_transferHistory(const int *, GRAPH *, SUBSTP *)
Definition: substpsolver.c:404
int substpsolver_getNsubedges(const SUBSTP *)
Definition: substpsolver.c:488
SCIP_RETCODE substpsolver_initHistory(SUBSTP *)
Definition: substpsolver.c:430
SCIP_RETCODE substpsolver_initDP(SCIP *, GRAPH *, SUBSTP **)
Definition: substpsolver.c:337
#define SCIP_Real
Definition: def.h:177
SCIP callable library.