type_heur.h
Go to the documentation of this file.
43/*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
60#define SCIP_DIVETYPE_INTEGRALITY 0x001u /**< use branching on a variable by shrinking the domain in the child nodes */
61#define SCIP_DIVETYPE_SOS1VARIABLE 0x002u /**< branch on a variable solution value by exploiting special-ordered set conflict structure */
72};
79typedef struct SCIP_VGraph SCIP_VGRAPH; /**< variable graph data structure to determine breadth-first
84#define SCIP_HEURDISPCHAR_DIVING 'd' /**< a 'd'iving heuristic that dives down an auxiliary branch-and-bound path */
85#define SCIP_HEURDISPCHAR_ITERATIVE 'i' /**< an iterative improvement heuristic such as 1-opt or 2-opt */
86#define SCIP_HEURDISPCHAR_OBJDIVING 'o' /**< an 'o'bjective diving or feasibility pump heuristic */
87#define SCIP_HEURDISPCHAR_PROP 'p' /**< a 'p'ropagation heuristic, often applied before branch-and-bound starts */
88#define SCIP_HEURDISPCHAR_ROUNDING 'r' /**< a 'r'ounding heuristic that iteratively tries to round an LP or relaxation solution */
89#define SCIP_HEURDISPCHAR_TRIVIAL 't' /**< a 't'rivial or helper heuristic, usually applied before branch-and-bound starts */
123/** solving process initialization method of primal heuristic (called when branch and bound process is about to begin)
125 * This method is called when the presolving was finished and the branch and bound process is about to begin.
134/** solving process deinitialization method of primal heuristic (called before branch and bound process data is freed)
160 * - SCIP_DELAYED : the heuristic was skipped, but should be called again as soon as possible, disregarding
163#define SCIP_DECL_HEUREXEC(x) SCIP_RETCODE x (SCIP* scip, SCIP_HEUR* heur, SCIP_HEURTIMING heurtiming, \
169/** calculate score and preferred rounding direction for the candidate variable; the best candidate maximizes the
185 SCIP_DIVETYPE divetype, SCIP_VAR* cand, SCIP_Real candsol, SCIP_Real candsfrac, SCIP_Real* score, SCIP_Bool* roundup)
188 * optional callback to check preconditions for diving, e.g., if an incumbent solution is available
199#define SCIP_DECL_DIVESETAVAILABLE(x) SCIP_RETCODE x (SCIP* scip, SCIP_DIVESET* diveset, SCIP_Bool* available)
common defines and data types used in all packages of SCIP
Definition: struct_heur.h:68
Definition: struct_heur.h:98
Definition: struct_heur.h:134
result codes for SCIP callback methods
type definitions for SCIP's main datastructure
timing definitions for SCIP
type definitions for problem variables