Scippy

SCIP

Solving Constraint Integer Programs

relax_stpdp.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 relax_stpdp.h
17  * @ingroup RELAXATORS
18  * @brief Steiner tree dynamic programming relaxator
19  * @author Daniel Rehfeldt
20  */
21 
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
23 
24 #ifndef __SCIP_RELAX_STPDP_H__
25 #define __SCIP_RELAX_STPDP_H__
26 
27 
28 #include "scip/scip.h"
29 #include "graph.h"
30 
31 #ifdef __cplusplus
32 extern "C" {
33 #endif
34 
35 /** creates the STP relaxator and includes it in SCIP */
36 SCIP_EXPORT
38  SCIP* scip /**< SCIP data structure */
39  );
40 
41 
42 /** is using the relaxator promising? */
43 SCIP_EXPORT
45  SCIP* scip, /**< SCIP data structure */
46  GRAPH* graph /**< graph */
47  );
48 
49 
50 /** activates */
51 SCIP_EXPORT
53  SCIP* scip /**< SCIP data structure */
54  );
55 
56 
57 /** is active? */
58 SCIP_EXPORT
60  SCIP* scip /**< SCIP data structure */
61  );
62 
63 #ifdef __cplusplus
64 }
65 #endif
66 
67 #endif
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
includes various files containing graph methods used for Steiner tree problems
SCIP_Bool SCIPStpDpRelaxIsActive(SCIP *scip)
Definition: relax_stpdp.c:293
SCIP_Bool SCIPStpDpRelaxIsPromising(SCIP *scip, GRAPH *graph)
Definition: relax_stpdp.c:239
#define SCIP_Bool
Definition: def.h:84
SCIP_RETCODE SCIPincludeRelaxStpdp(SCIP *scip)
Definition: relax_stpdp.c:307
SCIP_RETCODE SCIPStpDpRelaxActivate(SCIP *scip)
Definition: relax_stpdp.c:272
SCIP callable library.