Scippy

SCIP

Solving Constraint Integer Programs

relax_stpenum.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_stpenum.h
17  * @ingroup RELAXATORS
18  * @brief Steiner tree enumeration 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_STPENUM_H__
25 #define __SCIP_RELAX_STPENUM_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  const GRAPH* graph /**< graph */
46  );
47 
48 
49 /** Solve instance by enumeration. Only call when promising. */
50 SCIP_EXPORT
52  SCIP* scip, /**< SCIP data structure */
53  const GRAPH* graph, /**< graph data structure */
54  int* RESTRICT edges_solstat /**< solution edges */
55  );
56 
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
includes various files containing graph methods used for Steiner tree problems
SCIP_RETCODE SCIPincludeRelaxStpenum(SCIP *scip)
#define SCIP_Bool
Definition: def.h:84
SCIP_RETCODE SCIPStpEnumRelaxComputeSol(SCIP *scip, const GRAPH *graph, int *RESTRICT edges_solstat)
SCIP_Bool SCIPStpEnumRelaxIsPromising(const GRAPH *graph)
SCIP callable library.