Detailed Description
node selector for coordination of master and original formulation
Definition in file nodesel_master.c.
#include <assert.h>
#include <string.h>
#include "nodesel_master.h"
#include "cons_origbranch.h"
#include "cons_masterbranch.h"
#include "pricer_gcg.h"
Go to the source code of this file.
Data Structures | |
struct | SCIP_NodeselData |
Macros | |
#define | NODESEL_NAME "master" |
#define | NODESEL_DESC "orig master coordination" |
#define | NODESEL_STDPRIORITY 0 |
#define | NODESEL_MEMSAVEPRIORITY 100000 |
#define | nodeselCopyMaster NULL |
#define | nodeselInitMaster NULL |
#define | nodeselExitMaster NULL |
#define | nodeselInitsolMaster NULL |
#define | nodeselExitsolMaster NULL |
Functions | |
static | SCIP_DECL_NODESELFREE (nodeselFreeMaster) |
static | SCIP_DECL_NODESELSELECT (nodeselSelectMaster) |
static | SCIP_DECL_NODESELCOMP (nodeselCompMaster) |
SCIP_RETCODE | SCIPincludeNodeselMaster (SCIP *scip) |
Macro Definition Documentation
◆ NODESEL_NAME
#define NODESEL_NAME "master" |
Definition at line 44 of file nodesel_master.c.
◆ NODESEL_DESC
#define NODESEL_DESC "orig master coordination" |
Definition at line 45 of file nodesel_master.c.
◆ NODESEL_STDPRIORITY
#define NODESEL_STDPRIORITY 0 |
Definition at line 46 of file nodesel_master.c.
◆ NODESEL_MEMSAVEPRIORITY
#define NODESEL_MEMSAVEPRIORITY 100000 |
Definition at line 47 of file nodesel_master.c.
◆ nodeselCopyMaster
#define nodeselCopyMaster NULL |
Definition at line 60 of file nodesel_master.c.
◆ nodeselInitMaster
#define nodeselInitMaster NULL |
initialization method of node selector (called after problem was transformed)
Definition at line 80 of file nodesel_master.c.
◆ nodeselExitMaster
#define nodeselExitMaster NULL |
deinitialization method of node selector (called before transformed problem is freed)
Definition at line 84 of file nodesel_master.c.
◆ nodeselInitsolMaster
#define nodeselInitsolMaster NULL |
solving process initialization method of node selector (called when branch and bound process is about to begin)
Definition at line 88 of file nodesel_master.c.
◆ nodeselExitsolMaster
#define nodeselExitsolMaster NULL |
solving process deinitialization method of node selector (called before branch and bound process data is freed)
Definition at line 92 of file nodesel_master.c.
Function Documentation
◆ SCIP_DECL_NODESELFREE()
|
static |
destructor of node selector to free user data (called when SCIP is exiting)
Definition at line 64 of file nodesel_master.c.
◆ SCIP_DECL_NODESELSELECT()
|
static |
node selection method of node selector
Definition at line 97 of file nodesel_master.c.
References GCGconsMasterbranchCheckConsistency(), GCGconsMasterbranchGetNode(), GCGconsOrigbranchCheckConsistency(), GCGconsOrigbranchGetActiveCons(), GCGconsOrigbranchGetMastercons(), GCGconsOrigbranchGetNode(), GCGconsOrigbranchGetParentcons(), GCGmasterGetOrigprob(), and NODESEL_NAME.
◆ SCIP_DECL_NODESELCOMP()
|
static |
node comparison method of node selector
Definition at line 187 of file nodesel_master.c.
References NODESEL_NAME.
◆ SCIPincludeNodeselMaster()
SCIP_RETCODE SCIPincludeNodeselMaster | ( | SCIP * | scip | ) |
creates the node selector for depth first search and includes it in SCIP
- Parameters
-
scip SCIP data structure
Definition at line 204 of file nodesel_master.c.
References NODESEL_DESC, NODESEL_MEMSAVEPRIORITY, NODESEL_NAME, NODESEL_STDPRIORITY, nodeselCopyMaster, nodeselExitMaster, nodeselExitsolMaster, nodeselInitMaster, and nodeselInitsolMaster.
Referenced by GCGincludeMasterPlugins().