Scippy

SCIP

Solving Constraint Integer Programs

SCIP_Heur Struct Reference

Detailed Description

primal heuristics data

Definition at line 36 of file struct_heur.h.

#include <struct_heur.h>

Public Member Functions

 SCIP_DECL_HEURCOPY ((*heurcopy))
 
 SCIP_DECL_HEURFREE ((*heurfree))
 
 SCIP_DECL_HEURINIT ((*heurinit))
 
 SCIP_DECL_HEUREXIT ((*heurexit))
 
 SCIP_DECL_HEURINITSOL ((*heurinitsol))
 
 SCIP_DECL_HEUREXITSOL ((*heurexitsol))
 
 SCIP_DECL_HEUREXEC ((*heurexec))
 

Data Fields

SCIP_Longint ncalls
 
SCIP_Longint nsolsfound
 
SCIP_Longint nbestsolsfound
 
char * name
 
char * desc
 
SCIP_HEURDATAheurdata
 
SCIP_CLOCKsetuptime
 
SCIP_CLOCKheurclock
 
int priority
 
int freq
 
int freqofs
 
int maxdepth
 
int delaypos
 
unsigned int timingmask
 
SCIP_Bool usessubscip
 
SCIP_Bool initialized
 
char dispchar
 

Member Function Documentation

SCIP_Heur::SCIP_DECL_HEURCOPY ( heurcopy)

copy method of primal heuristic or NULL if you don't want to copy your plugin into sub-SCIPs

SCIP_Heur::SCIP_DECL_HEURFREE ( heurfree)

destructor of primal heuristic

SCIP_Heur::SCIP_DECL_HEURINIT ( heurinit)

initialize primal heuristic

SCIP_Heur::SCIP_DECL_HEUREXIT ( heurexit)

deinitialize primal heuristic

SCIP_Heur::SCIP_DECL_HEURINITSOL ( heurinitsol)

solving process initialization method of primal heuristic

SCIP_Heur::SCIP_DECL_HEUREXITSOL ( heurexitsol)

solving process deinitialization method of primal heuristic

SCIP_Heur::SCIP_DECL_HEUREXEC ( heurexec)

execution method of primal heuristic

Field Documentation

SCIP_Longint SCIP_Heur::ncalls

number of times, this heuristic was called

Definition at line 38 of file struct_heur.h.

Referenced by SCIP_DECL_SORTPTRCOMP(), SCIPheurExec(), SCIPheurGetNCalls(), and SCIPheurInit().

SCIP_Longint SCIP_Heur::nsolsfound

number of feasible primal solutions found so far by this heuristic

Definition at line 39 of file struct_heur.h.

Referenced by SCIPheurExec(), SCIPheurGetNSolsFound(), and SCIPheurInit().

SCIP_Longint SCIP_Heur::nbestsolsfound

number of new best primal CIP solutions found so far by this heuristic

Definition at line 40 of file struct_heur.h.

Referenced by SCIPheurExec(), SCIPheurGetNBestSolsFound(), and SCIPheurInit().

char* SCIP_Heur::name

name of primal heuristic

Definition at line 41 of file struct_heur.h.

Referenced by SCIPheurExec(), SCIPheurExit(), SCIPheurGetName(), and SCIPheurInit().

char* SCIP_Heur::desc

description of primal heuristic

Definition at line 42 of file struct_heur.h.

Referenced by SCIPheurGetDesc().

SCIP_HEURDATA* SCIP_Heur::heurdata

primal heuristics local data

Definition at line 50 of file struct_heur.h.

Referenced by SCIPheurGetData(), and SCIPheurSetData().

SCIP_CLOCK* SCIP_Heur::setuptime

time spend for setting up this heuristic for the next stages

Definition at line 51 of file struct_heur.h.

Referenced by SCIPheurExit(), SCIPheurExitsol(), SCIPheurGetSetupTime(), SCIPheurInit(), and SCIPheurInitsol().

SCIP_CLOCK* SCIP_Heur::heurclock

heuristic execution time

Definition at line 52 of file struct_heur.h.

Referenced by SCIPheurExec(), SCIPheurGetTime(), and SCIPheurInit().

int SCIP_Heur::priority

priority of the primal heuristic

Definition at line 53 of file struct_heur.h.

Referenced by SCIP_DECL_SORTPTRCOMP(), SCIPheurGetPriority(), and SCIPheurSetPriority().

int SCIP_Heur::freq

frequency for calling primal heuristic

Definition at line 54 of file struct_heur.h.

Referenced by SCIP_DECL_SORTPTRCOMP(), SCIPheurExec(), SCIPheurGetFreq(), SCIPheurSetFreq(), and SCIPheurShouldBeExecuted().

int SCIP_Heur::freqofs

frequency offset for calling primal heuristic

Definition at line 55 of file struct_heur.h.

Referenced by SCIPheurExec(), SCIPheurGetFreqofs(), and SCIPheurShouldBeExecuted().

int SCIP_Heur::maxdepth

maximal depth level to call heuristic at (-1: no limit)

Definition at line 56 of file struct_heur.h.

Referenced by SCIPheurExec(), SCIPheurGetMaxdepth(), and SCIPheurShouldBeExecuted().

int SCIP_Heur::delaypos

position in the delayed heuristics queue, or -1 if not delayed

Definition at line 57 of file struct_heur.h.

Referenced by SCIP_DECL_SORTPTRCOMP(), SCIPheurExec(), SCIPheurInit(), SCIPheurInitsol(), and SCIPheurShouldBeExecuted().

unsigned int SCIP_Heur::timingmask

positions in the node solving loop where heuristic should be executed

Definition at line 58 of file struct_heur.h.

Referenced by SCIPheurGetTimingmask(), SCIPheurSetTimingmask(), and SCIPheurShouldBeExecuted().

SCIP_Bool SCIP_Heur::usessubscip

does the heuristic use a secondary SCIP instance?

Definition at line 59 of file struct_heur.h.

Referenced by SCIPheurUsesSubscip().

SCIP_Bool SCIP_Heur::initialized

is primal heuristic initialized?

Definition at line 60 of file struct_heur.h.

Referenced by SCIPheurExit(), SCIPheurInit(), and SCIPheurIsInitialized().

char SCIP_Heur::dispchar

display character of primal heuristic

Definition at line 61 of file struct_heur.h.

Referenced by SCIPheurGetDispchar().