# SCIP

Solving Constraint Integer Programs

heur_sync.h File Reference

## Detailed Description

primal heuristic that adds given solutions

This heuristic takes solutions from somewhere else via the function SCIPheurSyncPassSol(). It then tries to commit this solution. It is used by the concurrent solvers, when solutions are communicated between solvers, but cannot directly submitted because SCIP might be in a stage where this is not allowed. If multiple solutions are passed it will keep the best N solutions depending on the parameter setting "concsolvers/sync/maxnsols"

Definition in file heur_sync.h.

#include "scip/def.h"
#include "scip/type_sol.h"
#include "scip/type_scip.h"
#include "scip/type_heur.h"

Go to the source code of this file.

## Functions

SCIP_RETCODE SCIPincludeHeurSync (SCIP *scip)

SCIP_RETCODE SCIPheurSyncPassSol (SCIP *scip, SCIP_HEUR *heur, SCIP_SOL *sol)