Scippy

SCIP

Solving Constraint Integer Programs

stptest_base.c
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 stptest_base.c
17  * @brief tests for Steiner tree problem methods
18  * @author Daniel Rehfeldt
19  *
20  * This file implements tests for Steiner problems.
21  *
22  * A list of all interface methods can be found in stptest.h.
23  *
24  */
25 
26 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
27 
28 
29 #include "scip/scip.h"
30 #include "stptest.h"
31 
32 
33 /** tests all */
35  SCIP* scip /**< SCIP data structure */
36 )
37 {
38  assert(scip);
39 
41 
48  SCIP_CALL( stptest_tpaths(scip) );
49  SCIP_CALL( stptest_dapaths(scip) );
56  SCIP_CALL( stptest_csrdepo(scip) );
61  SCIP_CALL( stptest_dheap(scip) );
62  SCIP_CALL( stptest_pcreduce(scip) );
63  SCIP_CALL( stptest_dcmst(scip) );
64 
65  printf("all unit tests passed! \n");
66 
67  return SCIP_OKAY;
68 }
SCIP_RETCODE stptest_pseudoDel(SCIP *)
Definition: stptest_misc.c:775
SCIP_RETCODE stptest_completegraph(SCIP *)
Definition: stptest_misc.c:893
SCIP_RETCODE stptest_reduceSdStarBias(SCIP *)
SCIP_RETCODE stptest_reduceSdBiased(SCIP *)
SCIP_RETCODE stptest_dheap(SCIP *)
Definition: stptest_misc.c:791
SCIP_RETCODE stptest_dcmst(SCIP *)
SCIP_RETCODE stptest_pcreduce(SCIP *)
SCIP_RETCODE stptest_reduceBdk(SCIP *)
enum SCIP_Retcode SCIP_RETCODE
Definition: type_retcode.h:54
SCIP_RETCODE stptest_reduceSdBiasedBottleneck(SCIP *)
SCIP_RETCODE stptest_testSolPrune(SCIP *)
SCIP_RETCODE stptest_reduceSdCliqueStar(SCIP *)
SCIP_RETCODE stptest_testHeurTm(SCIP *)
#define SCIP_CALL(x)
Definition: def.h:384
SCIP_RETCODE stptest_extreduce(SCIP *)
SCIP_RETCODE stptest_reduceNsvImplied(SCIP *)
SCIP_RETCODE stptest_testAll(SCIP *scip)
Definition: stptest_base.c:34
includes various testing methods for Steiner tree problems
SCIP_RETCODE stptest_testHeurLocal(SCIP *)
SCIP_RETCODE stptest_extmldists(SCIP *)
SCIP_RETCODE stptest_csrdepo(SCIP *)
SCIP_RETCODE stptest_reduceBLCtree(SCIP *)
SCIP_RETCODE stptest_reduceStar(SCIP *)
SCIP_RETCODE stptest_reduceSdGetter(SCIP *)
SCIP_RETCODE stptest_reduceBiconnected(SCIP *)
SCIP_RETCODE stptest_tpaths(SCIP *)
SCIP callable library.
SCIP_RETCODE stptest_dapaths(SCIP *)
Definition: stptest_da.c:90