Scippy

SCIP

Solving Constraint Integer Programs

prop_stp.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-2015 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 email to scip@zib.de. */
13 /* */
14 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
15 
16 /**@file prop_stp.h
17  * @brief propagator for Steiner tree problems, using the LP reduced costs
18  * @author Daniel Rehfeldt
19  *
20  * This propagator makes use of the reduced cost of an optimally solved LP relaxation to propagate the variables
21  */
22 
23 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
24 
25 #ifndef __SCIP_PROP_STP_H__
26 #define __SCIP_PROP_STP_H__
27 
28 #include "scip/scip.h"
29 #include "grph.h"
30 #include "probdata_stp.h"
31 
32 #ifdef __cplusplus
33 extern "C" {
34 #endif
35 
36 /** creates the stp propagator and includes it in SCIP */
37 extern
38 SCIP_RETCODE SCIPincludePropStp(
39  SCIP* scip /**< SCIP data structure */
40  );
41 
42 /** fix a variable (corresponding to an edge) to zero */
43 extern
44 SCIP_RETCODE fixedgevar(
45  SCIP* scip, /**< SCIP data structure */
46  SCIP_VAR* edgevar, /**< the variable to be fixed */
47  int* nfixed /**< counter that is incriminated if variable could be fixed */
48  );
49 
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif
Problem data for stp problem.
SCIP_RETCODE fixedgevar(SCIP *scip, SCIP_VAR *edgevar, int *nfixed)
Definition: prop_stp.c:76
SCIP_RETCODE SCIPincludePropStp(SCIP *scip)
Definition: prop_stp.c:342
includes various files containing graph methods used for Steiner problems