probdata_stp.h
Go to the documentation of this file.
23 * This file implements the problem data for Steiner problems. For more details see \ref STP_PROBLEMDATA page.
27 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
224 SCIP_Real* nval, /**< array [0..nvars], nval[v] = 1 if node v is in the solution, nval[v] = 0 if not */
SCIP_EXPORT void SCIPprobdataWriteLogLine(SCIP *scip, const char *formatstr,...)
Definition: probdata_stp.c:3124
SCIP_EXPORT void SCIPprobdataSetGraph(SCIP_PROBDATA *probdata, GRAPH *graph)
Definition: probdata_stp.c:2345
SCIP_EXPORT int SCIPprobdataGetNEdges(SCIP *scip)
Definition: probdata_stp.c:2439
Definition: struct_scip.h:58
SCIP_EXPORT int SCIPprobdataGetNorgEdges(SCIP *scip)
Definition: probdata_stp.c:2503
SCIP_EXPORT SCIP_Real SCIPprobdataGetOffset(SCIP *scip)
Definition: probdata_stp.c:2518
Definition: struct_var.h:198
SCIP_EXPORT SCIP_VAR ** SCIPprobdataGetVars(SCIP *scip)
Definition: probdata_stp.c:2409
SCIP_EXPORT SCIP_VAR ** SCIPprobdataGetEdgeVars(SCIP *scip)
Definition: probdata_stp.c:2623
SCIP_EXPORT void SCIPprobdataSetOffset(SCIP_PROBDATA *probdata, SCIP_Real offset)
Definition: probdata_stp.c:2382
SCIP_EXPORT SCIP_RETCODE SCIPprobdataCreate(SCIP *scip, const char *filename)
Definition: probdata_stp.c:1915
SCIP_EXPORT SCIP_Real * SCIPprobdataGetXval(SCIP *scip, SCIP_SOL *sol)
Definition: probdata_stp.c:2551
Definition: struct_sol.h:63
Definition: struct_cons.h:37
SCIP_EXPORT int SCIPprobdataGetNTerms(SCIP *scip)
Definition: probdata_stp.c:2454
SCIP_EXPORT SCIP_RETCODE SCIPprobdataWriteSolution(SCIP *scip, FILE *file)
Definition: probdata_stp.c:2753
SCIP_EXPORT SCIP_RETCODE SCIPprobdataWriteLogfileEnd(SCIP *scip)
Definition: probdata_stp.c:3514
SCIP_EXPORT void SCIPprobdataSetNSolvers(SCIP *scip, int nSolvers)
Definition: probdata_stp.c:3590
SCIP_EXPORT SCIP_RETCODE SCIPprobdataWriteIntermediateSolution(SCIP *scip)
Definition: probdata_stp.c:2697
SCIP_EXPORT int SCIPprobdataGetRNTerms(SCIP *scip)
Definition: probdata_stp.c:2469
SCIP_EXPORT SCIP_CONS ** SCIPprobdataGetPathConstraints(SCIP *scip)
Definition: probdata_stp.c:2593
SCIP_EXPORT void SCIPprobdataSetDualBound(SCIP *scip, SCIP_Real dual)
Definition: probdata_stp.c:3575
SCIP_EXPORT SCIP_RETCODE SCIPprobdataPrintGraph(SCIP *scip, const char *filename, SCIP_SOL *sol, SCIP_Bool printsol)
Definition: probdata_stp.c:2653
SCIP_EXPORT SCIP_CONS ** SCIPprobdataGetEdgeConstraints(SCIP *scip)
Definition: probdata_stp.c:2579
Definition: struct_heur.h:79
SCIP_EXPORT int * SCIPprobdataGetRTerms(SCIP *scip)
Definition: probdata_stp.c:2608
SCIP_EXPORT void initReceivedSubproblem(SCIP *scip, const int lLinearConsNames, const char *linearConsNames, const int lSetppcConsNames, const char *setppcConsNames)
Definition: probdata_stp.c:3604
SCIP_EXPORT SCIP_VAR * SCIPprobdataGetedgeVarByIndex(SCIP *scip, int idx)
Definition: probdata_stp.c:2534
includes various files containing graph methods used for Steiner tree problems
SCIP_EXPORT int SCIPprobdataGetNLayers(SCIP *scip)
Definition: probdata_stp.c:2424
SCIP_EXPORT SCIP_Bool SCIPprobdataIsBigt(SCIP *scip)
Definition: probdata_stp.c:2638
SCIP_EXPORT SCIP_RETCODE SCIPprobdataPrintGraph2(const GRAPH *graph, const char *filename, SCIP_Bool *edgemark)
Definition: probdata_stp.c:3429
SCIP_EXPORT GRAPH * SCIPprobdataGetGraph2(SCIP *scip)
Definition: probdata_stp.c:2367
SCIP_EXPORT GRAPH * SCIPprobdataGetGraph(SCIP_PROBDATA *probdata)
Definition: probdata_stp.c:2357
void SCIPprobdataWriteStp(SCIP *scip, const GRAPH *graph, const char *filename)
Definition: probdata_stp.c:2713
Definition: objbenders.h:33
SCIP_EXPORT SCIP_RETCODE SCIPprobdataAddNewSol(SCIP *scip, SCIP_Real *nval, SCIP_SOL *sol, SCIP_HEUR *heur, SCIP_Bool *success)
Definition: probdata_stp.c:3153
SCIP callable library.