GCG 4.1.1 (dev)

Generic Column Generation

Loading...
Searching...
No Matches
type_origdiving.h File Reference

Detailed Description

type definitions for GCG diving heuristics on the original variables

Author
Christian Puchert

Definition in file type_origdiving.h.

#include "scip/type_scip.h"
#include "gcg/type_gcg.h"

Go to the source code of this file.

Macros

#define GCG_DECL_DIVINGFREE(x)
#define GCG_DECL_DIVINGINIT(x)
#define GCG_DECL_DIVINGEXIT(x)
#define GCG_DECL_DIVINGINITSOL(x)
#define GCG_DECL_DIVINGEXITSOL(x)
#define GCG_DECL_DIVINGINITEXEC(x)
#define GCG_DECL_DIVINGEXITEXEC(x)
#define GCG_DECL_DIVINGSELECTVAR(x)

Macro Definition Documentation

◆ GCG_DECL_DIVINGFREE

#define GCG_DECL_DIVINGFREE ( x)
Value:
SCIP_VAR ** x
struct Gcg GCG
Definition type_gcg.h:44
struct SCIP_Heur SCIP_HEUR
enum SCIP_Retcode SCIP_RETCODE

destructor of diving heuristic to free user data (called when GCG is exiting)

input:

  • gcg : GCG data structure
  • heur : the diving heuristic itself

Definition at line 56 of file type_origdiving.h.

Referenced by GCGincludeDivingHeurOrig().

◆ GCG_DECL_DIVINGINIT

#define GCG_DECL_DIVINGINIT ( x)
Value:

initialization method of diving heuristic (called after problem was transformed)

input:

  • gcg : GCG data structure
  • heur : the diving heuristic itself

Definition at line 64 of file type_origdiving.h.

Referenced by GCGincludeDivingHeurOrig().

◆ GCG_DECL_DIVINGEXIT

#define GCG_DECL_DIVINGEXIT ( x)
Value:

deinitialization method of diving heuristic (called before transformed problem is freed)

input:

  • gcg : GCG data structure
  • heur : the diving heuristic itself

Definition at line 72 of file type_origdiving.h.

Referenced by GCGincludeDivingHeurOrig().

◆ GCG_DECL_DIVINGINITSOL

#define GCG_DECL_DIVINGINITSOL ( x)
Value:

solving process initialization method of diving heuristic (called when branch and bound process is about to begin)

This method is called when the presolving was finished and the branch and bound process is about to begin. The diving heuristic may use this call to initialize its branch and bound specific data.

input:

  • gcg : GCG data structure
  • heur : the diving heuristic itself

Definition at line 83 of file type_origdiving.h.

Referenced by GCGincludeDivingHeurOrig().

◆ GCG_DECL_DIVINGEXITSOL

#define GCG_DECL_DIVINGEXITSOL ( x)
Value:

solving process deinitialization method of primal heuristic (called before branch and bound process data is freed)

This method is called before the branch and bound process is freed. The diving heuristic should use this call to clean up its branch and bound data.

input:

  • gcg : GCG data structure
  • heur : the diving heuristic itself

Definition at line 94 of file type_origdiving.h.

Referenced by GCGincludeDivingHeurOrig().

◆ GCG_DECL_DIVINGINITEXEC

#define GCG_DECL_DIVINGINITEXEC ( x)
Value:

execution initialization method of diving heuristic (called when execution of diving heuristic is about to begin)

This method is called when the execution of the diving heuristic starts, before the diving loop. The diving heuristic may use this call to collect data which is specific to this call of the heuristic.

input:

  • gcg : GCG data structure
  • heur : the diving heuristic itself

Definition at line 105 of file type_origdiving.h.

Referenced by GCGincludeDivingHeurOrig().

◆ GCG_DECL_DIVINGEXITEXEC

#define GCG_DECL_DIVINGEXITEXEC ( x)
Value:

execution deinitialization method of diving heuristic (called when execution data is freed)

This method is called before the execution of the heuristic stops. The diving heuristic should use this call to clean up its execution specific data.

input:

  • gcg : GCG data structure
  • heur : the diving heuristic itself

Definition at line 116 of file type_origdiving.h.

Referenced by GCGincludeDivingHeurOrig().

◆ GCG_DECL_DIVINGSELECTVAR

#define GCG_DECL_DIVINGSELECTVAR ( x)
Value:
SCIP_RETCODE x (GCG* gcg, SCIP_HEUR* heur, SCIP_VAR** tabulist, int tabulistsize, SCIP_VAR** bestcand, SCIP_Bool* bestcandmayround, SCIP_Bool* bestcandroundup)
#define SCIP_Bool
* bestcandmayround
SCIP_VAR ** tabulist
struct SCIP_Var SCIP_VAR

variable selection method of diving heuristic

Selects a master variable to dive on

input:

  • gcg : GCG data structure
  • heur : the diving heuristic itself
  • tabulist : an array containing variables that must not be chosen
  • tabulistsize : the size of the array
  • bestcand : pointer to store the SCIP_VAR* returned by the selection rule
  • bestcandmayround : pointer to store whether the variable may be rounded without losing LP feasibility
  • bestcandroundup : pointer to store whether the variable is to be rounded up

Definition at line 131 of file type_origdiving.h.

Referenced by GCGincludeDivingHeurOrig().

Typedef Documentation

◆ GCG_DIVINGDATA

locally defined diving data

Definition at line 47 of file type_origdiving.h.