Scippy

UG

Ubiquity Generator framework

ScipParaObjNodesel Class Reference

C++ wrapper for primal heuristics. More...

#include <scipParaObjNodesel.h>

+ Inheritance diagram for ScipParaObjNodesel:

Public Member Functions

 ScipParaObjNodesel (ScipParaSolver *solver)
 
virtual ~ScipParaObjNodesel ()
 
virtual SCIP_DECL_NODESELSELECT (scip_select)
 
virtual SCIP_DECL_NODESELCOMP (scip_comp)
 
void reset ()
 

Private Member Functions

int getNBoundChanges (SCIP_NODE *node)
 

Private Attributes

ScipParaSolverscipParaSolver
 

Detailed Description

C++ wrapper for primal heuristics.

This class defines the interface for node selectors implemented in C++. Note that there is a pure virtual function (this function has to be implemented). This function is: scip_comp().

  • Instructions for implementing a node selector
  • List of available node selectors
  • Corresponding C interface

Definition at line 56 of file scipParaObjNodesel.h.

Constructor & Destructor Documentation

◆ ScipParaObjNodesel()

default constructor

Definition at line 64 of file scipParaObjNodesel.h.

◆ ~ScipParaObjNodesel()

Member Function Documentation

◆ getNBoundChanges()

◆ reset()

void reset ( )

Definition at line 89 of file scipParaObjNodesel.h.

Referenced by ScipParaSolver::createSubproblem().

◆ SCIP_DECL_NODESELCOMP()

virtual SCIP_DECL_NODESELCOMP ( scip_comp  )
virtual

node comparison method of node selector

See also
SCIP_DECL_NODESELCOMP(x) in type_nodesel.h

Referenced by ScipParaObjNodesel::~ScipParaObjNodesel().

◆ SCIP_DECL_NODESELSELECT()

virtual SCIP_DECL_NODESELSELECT ( scip_select  )
virtual

node selection method of node selector

See also
SCIP_DECL_NODESELSELECT(x) in type_nodesel.h

Referenced by ScipParaObjNodesel::~ScipParaObjNodesel().

Member Data Documentation

◆ scipParaSolver

ScipParaSolver* scipParaSolver
private

Definition at line 58 of file scipParaObjNodesel.h.

Referenced by ScipParaObjNodesel::getNBoundChanges().