stptest_reducesd.c
Go to the documentation of this file.
20 * This file implements unit tests for Steiner special distance (Steiner bottleneck distance) reduction methods.
85 SCIP_CALL( reduce_sdGetSdsCliquegraph(scip, graph, -1, cliqueNodeMap, dijkdata, sddata, cliquegraph) );
924 SDCLIQUE cliquedata = { .dijkdata = NULL, .cliquenodes = cliquenodes, .ncliquenodes = 3, .sds = sds };
979 SDCLIQUE cliquedata = { .dijkdata = NULL, .cliquenodes = cliquenodes, .ncliquenodes = 3, .sds = sds };
1050 SDCLIQUE cliquedata = { .dijkdata = NULL, .cliquenodes = cliquenodes, .ncliquenodes = 3, .sds = sds };
1122 SDCLIQUE cliquedata = { .dijkdata = NULL, .cliquenodes = cliquenodes, .ncliquenodes = 4, .sds = sds };
static SCIP_RETCODE testNsvImpliedContractsCutDistEdge(SCIP *scip)
Definition: stptest_reducesd.c:1388
static SCIP_RETCODE testSdGraphDistsAreValid(SCIP *scip)
Definition: stptest_reducesd.c:140
Definition: graphdefs.h:184
static SCIP_RETCODE testSdGraphQueriesAreValid(SCIP *scip)
Definition: stptest_reducesd.c:234
Definition: struct_scip.h:59
static SCIP_RETCODE testSdCliqueStarDeg3AdjacencyIsCorrect(SCIP *scip)
Definition: stptest_reducesd.c:914
void graph_edge_addBi(SCIP *, GRAPH *, int, int, double)
SCIP_RETCODE stptest_reduceSdCliqueStar(SCIP *scip)
Definition: stptest_reducesd.c:1613
static SCIP_RETCODE testSdCliqueStarDeg4IsCorrect(SCIP *scip)
Definition: stptest_reducesd.c:1112
static SCIP_RETCODE testSdGetterReturnsCorrectSds(SCIP *scip)
Definition: stptest_reducesd.c:40
static SCIP_RETCODE testBdkSdMstDeletesNodeDeg4(SCIP *scip)
Definition: stptest_reducesd.c:376
static SCIP_RETCODE testSdBiasedDeletesEdge(SCIP *scip)
Definition: stptest_reducesd.c:775
SCIP_Real reduce_sdgraphGetSd(int, int, SDGRAPH *)
Definition: reduce_sdgraph.c:1958
void reduce_sdgraphInitOrderedMstCosts(SDGRAPH *)
Definition: reduce_sdgraph.c:1938
includes various files containing graph methods used for Steiner tree problems
static SCIP_RETCODE testSdStarBiasedDeletesEdge3(SCIP *scip)
Definition: stptest_reducesd.c:691
SCIP_RETCODE reduce_sdInitBiased(SCIP *, GRAPH *, SD **)
Definition: reduce_sdutil.c:751
static SCIP_RETCODE testSdGraphStrongBiasedDistsAreValid(SCIP *scip)
Definition: stptest_reducesd.c:282
SCIP_RETCODE stptest_graphSetUpRpcOrg(SCIP *, GRAPH *, int *, int *)
Definition: stptest_graph.c:317
static SCIP_RETCODE testBdkTreeDistDeletesNodeDeg4(SCIP *scip)
Definition: stptest_reducesd.c:334
SCIP_RETCODE stptest_reduceSdStarBias(SCIP *scip)
Definition: stptest_reducesd.c:1683
const SCIP_Real * reduce_sdgraphGetOrderedMstCosts(const SDGRAPH *)
Definition: reduce_sdgraph.c:1989
SCIP_RETCODE reduce_sdAddNeighborSd(SCIP *, const GRAPH *, SD *)
Definition: reduce_sdutil.c:868
static SCIP_RETCODE testSdCliqueStarDeg3IsCorrect2(SCIP *scip)
Definition: stptest_reducesd.c:1039
SCIP_RETCODE graph_pc_initPrizes(SCIP *, GRAPH *, int)
Definition: graph_pcbase.c:741
SCIP_RETCODE graph_tpathsInitBiased(SCIP *, const SDPROFIT *, GRAPH *, TPATHS **)
Definition: graph_tpath.c:1700
SCIP_RETCODE stptest_reduceSdBiased(SCIP *scip)
Definition: stptest_reducesd.c:1594
SCIP_RETCODE stptest_reduceSdGetter(SCIP *scip)
Definition: stptest_reducesd.c:1629
SCIP_RETCODE reduce_sdBiasedNeighbor(SCIP *, SD *, GRAPH *, int *)
Definition: reduce_sd.c:1927
Definition: reducedefs.h:135
static SCIP_RETCODE testSdCliqueStarDeg3IsCorrect(SCIP *scip)
Definition: stptest_reducesd.c:968
static SCIP_RETCODE testSdStarBiasedDeletesEdge(SCIP *scip)
Definition: stptest_reducesd.c:610
SCIP_RETCODE stptest_reduceNsvImplied(SCIP *scip)
Definition: stptest_reducesd.c:1663
static SCIP_RETCODE testNsvImpliedContractsImpliedToTermEdge(SCIP *scip)
Definition: stptest_reducesd.c:1480
static SCIP_RETCODE testNsvImpliedContractsEdge(SCIP *scip)
Definition: stptest_reducesd.c:1293
Definition: type_retcode.h:33
SCIP_RETCODE reduce_sdBiased(SCIP *, SD *, GRAPH *, int *)
Definition: reduce_sd.c:1845
SCIP_RETCODE graph_sdComputeCliqueStar(SCIP *, const GRAPH *, const SDPROFIT *, SDCLIQUE *)
Definition: graph_sdpath.c:2398
Definition: reduce_sdgraph.c:46
SCIP_RETCODE graph_dijkLimited_init(SCIP *, const GRAPH *, DIJK **)
Definition: graph_util.c:1989
static SCIP_RETCODE testSdCliqueStarDeletesEdge(SCIP *scip)
Definition: stptest_reducesd.c:733
SCIP_RETCODE reduce_sdInitBiasedBottleneck(SCIP *, GRAPH *, SD **)
Definition: reduce_sdutil.c:779
SCIP_RETCODE reduce_sdEdgeCliqueStar(SCIP *, int, GRAPH *, int *)
Definition: reduce_sd.c:2939
SCIP_RETCODE stptest_reduceSdBiasedBottleneck(SCIP *scip)
Definition: stptest_reducesd.c:1650
SCIP_RETCODE reduce_sdgraphInitBiasedFromTpaths(SCIP *, GRAPH *, const SDPROFIT *, const TPATHS *, SDGRAPH **)
Definition: reduce_sdgraph.c:1836
static SCIP_RETCODE testSdBiasedBottleneckDeletesEdge(SCIP *scip)
Definition: stptest_reducesd.c:1170
static SCIP_RETCODE testNsvImpliedContractsCutDistMiddleEdge(SCIP *scip)
Definition: stptest_reducesd.c:1433
Portable definitions.
SCIP_RETCODE reduce_sdGetSdsCliquegraph(SCIP *, const GRAPH *, int, const int *, DIJK *, SD *, GRAPH *)
Definition: reduce_sd.c:1394
Definition: reducedefs.h:122
static SCIP_RETCODE testSdBiasedBottleneckTermPathDeletesEdge(SCIP *scip)
Definition: stptest_reducesd.c:1521
includes various testing methods for Steiner tree problems
static SCIP_RETCODE testBdkSdMstStarDeletesNodeDeg4(SCIP *scip)
Definition: stptest_reducesd.c:424
void graph_dijkLimited_clean(const GRAPH *, DIJK *)
Definition: graph_util.c:2083
SCIP_RETCODE reduce_sdStarBiased(SCIP *, int, SCIP_Bool, GRAPH *, int *)
Definition: reduce_sd.c:3332
Definition: graphdefs.h:311
static SCIP_RETCODE testSdGraphDistsAreValid2(SCIP *scip)
Definition: stptest_reducesd.c:187
SCIP_RETCODE reduce_sdprofitInit(SCIP *, const GRAPH *, SDPROFIT **)
Definition: reduce_sdutil.c:1032
static SCIP_RETCODE testSdStarBiasedDeletesEdge2(SCIP *scip)
Definition: stptest_reducesd.c:649
SCIP_RETCODE reduce_nsvImplied(SCIP *, const SD *, GRAPH *, int *, SCIP_Real *, int *)
Definition: reduce_alt.c:621
SCIP_RETCODE graph_buildCompleteGraph(SCIP *, GRAPH **, int)
Definition: graph_base.c:440
static SCIP_RETCODE testNsvImpliedContractsEdge2(SCIP *scip)
Definition: stptest_reducesd.c:1342
Definition: graphdefs.h:337
Definition: objbenders.h:33
includes various reduction methods for Steiner tree problems
static SCIP_RETCODE testBdkSdMstDeletesNodeDeg3(SCIP *scip)
Definition: stptest_reducesd.c:566
Definition: graph_tpath.c:61