Scippy

UG

Ubiquity Generator framework

ScipParaRacingRampUpParamSet Class Reference

#include <scipParaRacingRampUpParamSet.h>

Inheritance diagram for ScipParaRacingRampUpParamSet:
BbParaRacingRampUpParamSet ParaRacingRampUpParamSet ScipParaRacingRampUpParamSetMpi ScipParaRacingRampUpParamSetTh

Public Member Functions

 ScipParaRacingRampUpParamSet ()
 
 ScipParaRacingRampUpParamSet (int inTerminationCriteria, int inNNodesLeft, double inTimeLimit, int inScipRacingParamSeed, int inPermuteProbSeed, int inGenerateBranchOrderSeed, ScipDiffParamSet *inScipDiffParamSet)
 
virtual ~ScipParaRacingRampUpParamSet ()
 
int getPermuteProbSeed ()
 
int getGenerateBranchOrderSeed ()
 
ScipDiffParamSetgetScipDiffParamSet ()
 
int getScipRacingParamSeed ()
 
void write (gzstream::ogzstream &out)
 
bool read (UG::ParaComm *comm, gzstream::igzstream &in)
 
const std::string toString ()
 
int getStrategy ()
 
- Public Member Functions inherited from BbParaRacingRampUpParamSet
 BbParaRacingRampUpParamSet ()
 default constructor More...
 
 BbParaRacingRampUpParamSet (int inTerminationCriteria, int inNNodesLeft, double inTimeLimit)
 constructor More...
 
virtual ~BbParaRacingRampUpParamSet ()
 destructor More...
 
int getTerminationCriteria ()
 get termination criteria More...
 
int getStopRacingNNodesLeft ()
 get stop racing number of nodes left More...
 
double getStopRacingTimeLimit ()
 get stop racing time limimt More...
 
virtual void setWinnerRank (int rank)
 set winner rank TODO: this function and also getWinnerRank should be removed More...
 
virtual int send (ParaComm *comm, int destination)=0
 send BbParaRacingRampUpParamSet More...
 
virtual int receive (ParaComm *comm, int source)=0
 receive BbParaRacingRampUpParamSet More...
 
virtual void write (gzstream::ogzstream &out)=0
 write to checkpoint file More...
 
virtual bool read (ParaComm *comm, gzstream::igzstream &in)=0
 read from checkpoint file More...
 
virtual const std::string toString ()=0
 stringfy BbParaRacingRampUpParamSet More...
 
virtual int getStrategy ()=0
 get strategy More...
 
- Public Member Functions inherited from ParaRacingRampUpParamSet
 ParaRacingRampUpParamSet ()
 default constructor More...
 
 ParaRacingRampUpParamSet (int inTerminationCriteria)
 constructor More...
 
virtual ~ParaRacingRampUpParamSet ()
 destructor More...
 
int getTerminationCriteria ()
 get termination criteria More...
 
virtual void setWinnerRank (int rank)
 set winner rank TODO: this function and also getWinnerRank should be removed More...
 
virtual int send (ParaComm *comm, int destination)=0
 send ParaRacingRampUpParamSet More...
 
virtual int receive (ParaComm *comm, int source)=0
 receive ParaRacingRampUpParamSet More...
 
virtual void write (gzstream::ogzstream &out)=0
 write to checkpoint file More...
 
virtual bool read (ParaComm *comm, gzstream::igzstream &in)=0
 read from checkpoint file More...
 
virtual const std::string toString ()=0
 stringfy ParaRacingRampUpParamSet More...
 
virtual int getStrategy ()=0
 get strategy More...
 

Protected Attributes

int scipRacingParamSeed
 
int permuteProbSeed
 
int generateBranchOrderSeed
 
int scipDiffParamSetInfo
 
ScipDiffParamSetscipDiffParamSet
 
- Protected Attributes inherited from BbParaRacingRampUpParamSet
int nNodesLeft
 stop racing number of nodes left More...
 
double timeLimit
 stop racing time limit More...
 
- Protected Attributes inherited from ParaRacingRampUpParamSet
int terminationCriteria
 termination criteria of racing ramp-up : 0: number of nodes left, 1: time limit meaning must be defined in a derived class More...
 

Detailed Description

The racing ramp-up parameter set for SCIP solver

Definition at line 49 of file scipParaRacingRampUpParamSet.h.

Constructor & Destructor Documentation

◆ ScipParaRacingRampUpParamSet() [1/2]

default constructor

Definition at line 59 of file scipParaRacingRampUpParamSet.h.

◆ ScipParaRacingRampUpParamSet() [2/2]

ScipParaRacingRampUpParamSet ( int  inTerminationCriteria,
int  inNNodesLeft,
double  inTimeLimit,
int  inScipRacingParamSeed,
int  inPermuteProbSeed,
int  inGenerateBranchOrderSeed,
ScipDiffParamSet inScipDiffParamSet 
)

◆ ~ScipParaRacingRampUpParamSet()

virtual ~ScipParaRacingRampUpParamSet ( )
virtual

destructor

Definition at line 83 of file scipParaRacingRampUpParamSet.h.

References ScipParaRacingRampUpParamSet::scipDiffParamSet.

Member Function Documentation

◆ getGenerateBranchOrderSeed()

int getGenerateBranchOrderSeed ( )

getter of generateBranchOrderSeed

Definition at line 97 of file scipParaRacingRampUpParamSet.h.

References ScipParaRacingRampUpParamSet::generateBranchOrderSeed.

Referenced by ScipParaSolver::setRacingParams().

◆ getPermuteProbSeed()

int getPermuteProbSeed ( )

◆ getScipDiffParamSet()

ScipDiffParamSet * getScipDiffParamSet ( )

◆ getScipRacingParamSeed()

int getScipRacingParamSeed ( )

◆ getStrategy()

int getStrategy ( )
virtual

◆ read()

◆ toString()

◆ write()

Member Data Documentation

◆ generateBranchOrderSeed

◆ permuteProbSeed

◆ scipDiffParamSet

◆ scipDiffParamSetInfo

◆ scipRacingParamSeed