Detailed Description
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 'S' |
#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) |
Macro Definition Documentation
◆ HEUR_NAME
#define HEUR_NAME "sync" |
Definition at line 42 of file heur_sync.c.
Referenced by SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXITSOL(), SCIP_DECL_HEURFREE(), SCIPheurSyncPassSol(), and SCIPincludeHeurSync().
◆ HEUR_DESC
#define HEUR_DESC "heuristic for synchronizing solution" |
Definition at line 43 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
◆ HEUR_DISPCHAR
#define HEUR_DISPCHAR 'S' |
Definition at line 44 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
◆ HEUR_PRIORITY
#define HEUR_PRIORITY -3000000 /* should process after all other heuristics */ |
Definition at line 45 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
◆ HEUR_FREQ
#define HEUR_FREQ -1 |
Definition at line 46 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
◆ HEUR_FREQOFS
#define HEUR_FREQOFS 0 |
Definition at line 47 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
◆ HEUR_MAXDEPTH
#define HEUR_MAXDEPTH -1 |
Definition at line 48 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
◆ HEUR_TIMING
#define HEUR_TIMING SCIP_HEURTIMING_DURINGLPLOOP | SCIP_HEURTIMING_BEFOREPRESOL | SCIP_HEURTIMING_BEFORENODE |
Definition at line 49 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
◆ HEUR_USESSUBSCIP
#define HEUR_USESSUBSCIP FALSE |
does the heuristic use a secondary SCIP instance?
Definition at line 50 of file heur_sync.c.
Referenced by SCIPincludeHeurSync().
Function Documentation
◆ SCIP_DECL_HEURFREE()
|
static |
destructor of primal heuristic to free user data (called when SCIP is exiting)
Definition at line 73 of file heur_sync.c.
References HEUR_NAME, NULL, SCIP_OKAY, SCIPdebugMessage, SCIPfreeBlockMemory, SCIPfreeBlockMemoryArray, SCIPheurGetData(), and SCIPheurGetName().
◆ SCIP_DECL_HEUREXITSOL()
|
static |
deinitialization method of primal heuristic (called before transformed problem is freed)
Definition at line 96 of file heur_sync.c.
References HEUR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, SCIPfreeSol(), SCIPheurGetData(), and SCIPheurGetName().
◆ SCIP_DECL_HEUREXEC()
|
static |
execution method of primal heuristic
Definition at line 123 of file heur_sync.c.
References FALSE, HEUR_NAME, NULL, SCIP_Bool, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_FOUNDSOL, SCIP_OKAY, SCIPdebugMessage, SCIPheurGetData(), SCIPheurGetFreq(), SCIPheurGetName(), SCIPheurSetFreq(), and SCIPtrySolFree().