Scippy

UG

Ubiquity Generator framework

ScipParaObjLimitUpdator Class Reference

#include <scipParaObjLimitUpdator.h>

Inheritance diagram for ScipParaObjLimitUpdator:

Public Member Functions

 ScipParaObjLimitUpdator (SCIP *scip, ScipParaSolver *solver)
 
virtual ~ScipParaObjLimitUpdator ()
 
virtual SCIP_DECL_HEURFREE (scip_free)
 
virtual SCIP_DECL_HEURINIT (scip_init)
 
virtual SCIP_DECL_HEUREXIT (scip_exit)
 
virtual SCIP_DECL_HEURINITSOL (scip_initsol)
 
virtual SCIP_DECL_HEUREXITSOL (scip_exitsol)
 
virtual SCIP_DECL_HEUREXEC (scip_exec)
 
virtual SCIP_DECL_HEURCLONE (ObjCloneable *clone)
 
virtual SCIP_DECL_HEURISCLONEABLE (iscloneable)
 
void update ()
 

Private Attributes

ScipParaSolverscipParaSolver
 
bool updated
 

Detailed Description

C++ wrapper

Definition at line 43 of file scipParaObjLimitUpdator.h.

Constructor & Destructor Documentation

◆ ScipParaObjLimitUpdator()

ScipParaObjLimitUpdator ( SCIP *  scip,
ScipParaSolver solver 
)

default constructor

Definition at line 50 of file scipParaObjLimitUpdator.h.

◆ ~ScipParaObjLimitUpdator()

virtual ~ScipParaObjLimitUpdator ( )
virtual

destructor

Definition at line 63 of file scipParaObjLimitUpdator.h.

Member Function Documentation

◆ SCIP_DECL_HEURCLONE()

virtual SCIP_DECL_HEURCLONE ( ObjCloneable *  clone)
virtual

clone method which will be used to copy a objective plugin

◆ SCIP_DECL_HEUREXEC()

virtual SCIP_DECL_HEUREXEC ( scip_exec  )
virtual

execution method of primal heuristic

Searches for feasible primal solutions. The method is called in the node processing loop.

possible return values for *result:

  • SCIP_FOUNDSOL : at least one feasible primal solution was found
  • SCIP_DIDNOTFIND : the heuristic searched, but did not find a feasible solution
  • SCIP_DIDNOTRUN : the heuristic was skipped
  • SCIP_DELAYED : the heuristic was skipped, but should be called again as soon as possible, disregarding its frequency

◆ SCIP_DECL_HEUREXIT()

virtual SCIP_DECL_HEUREXIT ( scip_exit  )
virtual

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

◆ SCIP_DECL_HEUREXITSOL()

virtual SCIP_DECL_HEUREXITSOL ( scip_exitsol  )
virtual

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 primal heuristic should use this call to clean up its branch and bound data.

◆ SCIP_DECL_HEURFREE()

virtual SCIP_DECL_HEURFREE ( scip_free  )
virtual

destructor of primal heuristic to free user data (called when SCIP is exiting)

◆ SCIP_DECL_HEURINIT()

virtual SCIP_DECL_HEURINIT ( scip_init  )
virtual

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

◆ SCIP_DECL_HEURINITSOL()

virtual SCIP_DECL_HEURINITSOL ( scip_initsol  )
virtual

solving process initialization method of primal 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 primal heuristic may use this call to initialize its branch and bound specific data.

◆ SCIP_DECL_HEURISCLONEABLE()

virtual SCIP_DECL_HEURISCLONEABLE ( iscloneable  )
virtual

returns whether the objective plugin is copyable

Definition at line 108 of file scipParaObjLimitUpdator.h.

◆ update()

void update ( )

Member Data Documentation

◆ scipParaSolver

ScipParaSolver* scipParaSolver
private

Definition at line 45 of file scipParaObjLimitUpdator.h.

◆ updated

bool updated
private

Definition at line 46 of file scipParaObjLimitUpdator.h.

Referenced by ScipParaObjLimitUpdator::update().