Scippy

SCIP

Solving Constraint Integer Programs

mincut.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 mincut.h
17  * @brief Minimum cut routines for Steiner problems
18  * @author Daniel Rehfeldt
19  *
20  * This file encompasses minimum cut routines for Steiner tree problems.
21  *
22  */
23 
24 #ifndef APPLICATIONS_STP_SRC_MINCUT_H_
25 #define APPLICATIONS_STP_SRC_MINCUT_H_
26 
27 #include "graph.h"
28 
29 #ifdef __cplusplus
30 extern "C" {
31 #endif
32 
34 
35 extern SCIP_RETCODE mincut_termsepasInit(SCIP*, const GRAPH*, int, int, TERMSEPAS**);
36 extern void mincut_termsepasFree(SCIP*, TERMSEPAS**);
37 extern int mincut_termsepasGetNall(const TERMSEPAS*);
38 extern int mincut_termsepasGetN(const TERMSEPAS*, int);
39 extern const int* mincut_termsepasGetFirst(int, TERMSEPAS*, int*, int*);
40 extern const int* mincut_termsepasGetNext(int, TERMSEPAS*, int*, int*);
41 extern int mincut_termsepasGetSource(const TERMSEPAS*);
44 extern SCIP_RETCODE mincut_separateLp(SCIP*, SCIP_CONSHDLR*, SCIP_RANDNUMGEN*, const int*, GRAPH*, int, int*);
45 
46 
47 #ifdef __cplusplus
48 }
49 #endif
50 
51 #endif /* APPLICATIONS_STP_SRC_MINCUT_H_ */
int mincut_termsepasGetNall(const TERMSEPAS *)
Definition: mincut.c:2135
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
includes various files containing graph methods used for Steiner tree problems
const int * mincut_termsepasGetNext(int, TERMSEPAS *, int *, int *)
Definition: mincut.c:2179
const int * mincut_termsepasGetFirst(int, TERMSEPAS *, int *, int *)
Definition: mincut.c:2162
SCIP_RETCODE mincut_findTerminalSeparators(SCIP *, SCIP_RANDNUMGEN *, GRAPH *, TERMSEPAS *)
Definition: mincut.c:2274
#define SCIP_Bool
Definition: def.h:84
int mincut_termsepasGetSource(const TERMSEPAS *)
Definition: mincut.c:2232
SCIP_Bool mincut_findTerminalSeparatorsIsPromising(const GRAPH *)
Definition: mincut.c:2243
void mincut_termsepasFree(SCIP *, TERMSEPAS **)
Definition: mincut.c:2113
int mincut_termsepasGetN(const TERMSEPAS *, int)
Definition: mincut.c:2147
SCIP_RETCODE mincut_termsepasInit(SCIP *, const GRAPH *, int, int, TERMSEPAS **)
Definition: mincut.c:2074
SCIP_RETCODE mincut_separateLp(SCIP *, SCIP_CONSHDLR *, SCIP_RANDNUMGEN *, const int *, GRAPH *, int, int *)
Definition: mincut.c:2360