primal heuristic that adds solutions from synchronization
This heuristic takes solutions during synchronization and then adds them.
Definition in file heur_sync.c.
Go to the source code of this file.
Macros | |
#define | HEUR_NAME "sync" |
#define | HEUR_DESC "heuristic for synchronizing solution" |
#define | HEUR_DISPCHAR '$' |
#define | HEUR_PRIORITY -3000000 /* should process after all other heuristics */ |
#define | HEUR_FREQ -1 |
#define | HEUR_FREQOFS 0 |
#define | HEUR_MAXDEPTH -1 |
#define | HEUR_TIMING SCIP_HEURTIMING_DURINGLPLOOP | SCIP_HEURTIMING_BEFOREPRESOL | SCIP_HEURTIMING_BEFORENODE |
#define | HEUR_USESSUBSCIP FALSE |
Functions | |
static | SCIP_DECL_HEURFREE (heurFreeSync) |
static | SCIP_DECL_HEUREXITSOL (heurExitSync) |
static | SCIP_DECL_HEUREXEC (heurExecSync) |
SCIP_RETCODE | SCIPincludeHeurSync (SCIP *scip) |
SCIP_RETCODE | SCIPheurSyncPassSol (SCIP *scip, SCIP_HEUR *heur, SCIP_SOL *sol) |
#define HEUR_NAME "sync" |
Definition at line 32 of file heur_sync.c.
Referenced by SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXITSOL(), SCIP_DECL_HEURFREE(), SCIPheurSyncPassSol(), and SCIPincludeHeurSync().
#define HEUR_DESC "heuristic for synchronizing solution" |
Definition at line 33 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
#define HEUR_DISPCHAR '$' |
Definition at line 34 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
#define HEUR_PRIORITY -3000000 /* should process after all other heuristics */ |
Definition at line 35 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
#define HEUR_FREQ -1 |
Definition at line 36 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
#define HEUR_FREQOFS 0 |
Definition at line 37 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
#define HEUR_MAXDEPTH -1 |
Definition at line 38 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
#define HEUR_TIMING SCIP_HEURTIMING_DURINGLPLOOP | SCIP_HEURTIMING_BEFOREPRESOL | SCIP_HEURTIMING_BEFORENODE |
Definition at line 39 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
#define HEUR_USESSUBSCIP FALSE |
does the heuristic use a secondary SCIP instance?
Definition at line 40 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
|
static |
destructor of primal heuristic to free user data (called when SCIP is exiting)
Definition at line 63 of file heur_sync.c.
References HEUR_NAME, SCIP_OKAY, SCIPdebugMessage, SCIPfreeMemory, SCIPfreeMemoryArray, SCIPheurGetData(), and SCIPheurGetName().
|
static |
deinitialization method of primal heuristic (called before transformed problem is freed)
Definition at line 86 of file heur_sync.c.
References HEUR_NAME, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIPfreeSol(), SCIPheurGetData(), and SCIPheurGetName().
|
static |
execution method of primal heuristic
Definition at line 113 of file heur_sync.c.
References FALSE, HEUR_NAME, SCIP_Bool, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_FOUNDSOL, SCIP_OKAY, SCIPdebugMessage, SCIPheurGetData(), SCIPheurGetFreq(), SCIPheurGetName(), SCIPheurSetFreq(), and SCIPtrySolFree().