SCIP

Solving Constraint Integer Programs

solhistory.h File Reference

Detailed Description

includes methods working on the (reduction) history of solutions to Steiner tree problems

Author
Daniel Rehfeldt

Definition in file solhistory.h.

#include "scip/scip.h"
#include "graph.h"

Go to the source code of this file.

Data Structures

struct  solution_history
 

Typedefs

typedef struct solution_history SOLHISTORY
 

Functions

SCIP_RETCODE solhistory_init (SCIP *, const GRAPH *, SOLHISTORY **)
 
void solhistory_free (SCIP *, SOLHISTORY **)
 
SCIP_RETCODE solhistory_computeHistory (SCIP *, SCIP_SOL *, const GRAPH *, SOLHISTORY *)
 

Typedef Documentation

◆ SOLHISTORY

typedef struct solution_history SOLHISTORY

bi-decomposition reduction parameters

Function Documentation

◆ solhistory_init()

SCIP_RETCODE solhistory_init ( SCIP scip,
const GRAPH graph,
SOLHISTORY **  solhistory 
)

◆ solhistory_free()

void solhistory_free ( SCIP scip,
SOLHISTORY **  solhistory 
)

frees

Parameters
scipSCIP data structure
solhistorythe solution history

Definition at line 419 of file solhistory.c.

References solution_history::orgedges_isInSol, solution_history::orgnodes_isInSol, SCIPfreeMemory, SCIPfreeMemoryArray, and SCIPfreeMemoryArrayNull.

Referenced by SCIPprobdataWriteSolution(), and subscipGetSol().

◆ solhistory_computeHistory()

SCIP_RETCODE solhistory_computeHistory ( SCIP scip,
SCIP_SOL scipsol,
const GRAPH g,
SOLHISTORY solhistory 
)

builds history

Parameters
scipSCIP data structure
scipsolsolution
ggraph structure
solhistorythe solution history

Definition at line 437 of file solhistory.c.

References cleanHistory(), computeHistory(), computeHistoryPcMw(), graph_pc_isPcMw(), SCIP_CALL, and SCIP_OKAY.

Referenced by SCIPprobdataWriteSolution(), and subscipGetSol().