dpborder_base.c
Go to the documentation of this file.
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
static void hashmap_destroy(struct hashmap_s *const hashmap) HASHMAP_USED
Destroy the hashmap.
Definition: dpborder_hashmap.h:367
Definition: graphdefs.h:184
Definition: struct_scip.h:59
SCIP_RETCODE solstp_pruneFromNodes(SCIP *scip, const GRAPH *g, int *result, STP_Bool *connected)
Definition: solstp.c:1415
uint64_t maxnpartitions
Definition: dpborderinterns.h:45
void dpborder_dpbsequenceFree(SCIP *scip, DPBSEQUENCE **dpbsequence)
Definition: dpborder_base.c:134
SCIP_RETCODE dpborder_coreSolve(SCIP *scip, const GRAPH *graph, DPBORDER *dpborder, SCIP_Bool *wasSolved)
Definition: dpborder_core.c:943
includes methods for Steiner tree problem solutions
static SCIP_Bool dpborderIsNonPromising(const GRAPH *graph)
Definition: dpborder_base.c:43
int maxbordersize
Definition: dpborderinterns.h:46
void dpborder_markSolNodes(const DPBORDER *dpborder, STP_Bool *RESTRICT nodes_isSol)
Definition: dpborder_util.c:736
header only, simple implementation of an STL like vector
DPB_Ptype * global_partitions
Definition: dpborderinterns.h:84
SCIP_RETCODE dpborder_coreUpdateOrdering(SCIP *scip, const GRAPH *graph, DPBORDER *dpborder)
Definition: dpborder_core.c:876
static SCIP_RETCODE hashmap_create(const unsigned initial_size, const char *keyarr, struct hashmap_s *const out_hashmap) HASHMAP_USED
Create a hashmap.
Definition: dpborder_hashmap.h:201
SCIP_RETCODE dpborder_dpblevelInit(SCIP *scip, DPBLEVEL **dpblevel)
Definition: dpborder_base.c:149
void dpborder_dpbsequenceCopy(const DPBSEQUENCE *dpbsequence_source, DPBSEQUENCE *dpbsequence_target)
Definition: dpborder_base.c:119
Definition: type_retcode.h:33
void dpborder_dpblevelFree(SCIP *scip, DPBLEVEL **dpblevel)
Definition: dpborder_base.c:170
SCIP_RETCODE dpborder_coreComputeOrderingSimple(SCIP *scip, const GRAPH *graph, DPBORDER *dpborder)
Definition: dpborder_core.c:863
static SCIP_RETCODE dpborderInitHelper(SCIP *scip, GRAPH *graph, DPBORDER *dpborder)
Definition: dpborder_base.c:65
SCIP_RETCODE dpborder_init(SCIP *scip, const GRAPH *graph, DPBORDER **dpborder)
Definition: dpborder_base.c:278
SCIP_RETCODE dpborder_probePotential(SCIP *scip, GRAPH *graph, DPBORDER *dpborder, SCIP_Bool *hasPotential)
Definition: dpborder_base.c:186
SCIP_Bool * nodes_isBorder
Definition: dpborderinterns.h:78
SCIP_RETCODE dpborder_dpbsequenceInit(SCIP *scip, const GRAPH *graph, DPBSEQUENCE **dpbsequence)
Definition: dpborder_base.c:97
SCIP_RETCODE graph_init_csrWithEdgeId(SCIP *, GRAPH *)
Definition: graph_util.c:1603
SCIP_Real * borderchardists
Definition: dpborderinterns.h:81
Dynamic programming solver for Steiner tree (sub-) problems with small border.
SCIP_Bool exnodeIsTerm
Definition: dpborderinterns.h:58
Dynamic programming internals for Steiner tree (sub-) problems with small number of terminals...
int * nodessquence
Definition: dpborderinterns.h:44
SCIP_RETCODE dpborder_solve(SCIP *scip, GRAPH *graph, DPBORDER *dpborder, int *solution, SCIP_Bool *wasSolved)
Definition: dpborder_base.c:230
int global_npartitions
Definition: dpborderinterns.h:90
SCIP_Bool solstp_isValid(SCIP *scip, const GRAPH *graph, const int *result)
Definition: solstp.c:1650
Definition: dpborderinterns.h:73
Definition: objbenders.h:33
SCIP_Real solstp_getObj(const GRAPH *g, const int *soledge, SCIP_Real offset)
Definition: solstp.c:1859
int global_optposition
Definition: dpborderinterns.h:92