Scippy

UG

Ubiquity Generator framework

ScipDiffParamSet Class Referenceabstract

#include <scipDiffParamSet.h>

Inheritance diagram for ScipDiffParamSet:
ScipDiffParamSetMpi ScipDiffParamSetTh

Public Member Functions

 ScipDiffParamSet ()
 
 ScipDiffParamSet (SCIP *scip)
 
virtual ~ScipDiffParamSet ()
 
void setParametersInScip (SCIP *scip)
 
int nDiffParams ()
 
bool doesContainRealParam (char *string)
 
std::string toString ()
 
virtual int bcast (UG::ParaComm *comm, int root)=0
 
virtual int send (UG::ParaComm *comm, int destination)=0
 
virtual int receive (UG::ParaComm *comm, int source)=0
 
void write (gzstream::ogzstream &out)
 
bool read (UG::ParaComm *comm, gzstream::igzstream &in)
 

Protected Member Functions

void allocateMemoty ()
 

Protected Attributes

int numBoolParams
 
size_t boolParamNamesSize
 
char * boolParamNames
 
unsigned int * boolParamValues
 
int numIntParams
 
size_t intParamNamesSize
 
char * intParamNames
 
int * intParamValues
 
int numLongintParams
 
size_t longintParamNamesSize
 
char * longintParamNames
 
long long * longintParamValues
 
int numRealParams
 
size_t realParamNamesSize
 
char * realParamNames
 
double * realParamValues
 
int numCharParams
 
size_t charParamNamesSize
 
char * charParamNames
 
char * charParamValues
 
int numStringParams
 
size_t stringParamNamesSize
 
char * stringParamNames
 
size_t stringParamValuesSize
 
char * stringParamValues
 

Detailed Description

ScipDiffParamSet class

Definition at line 51 of file scipDiffParamSet.h.

Constructor & Destructor Documentation

◆ ScipDiffParamSet() [1/2]

constructor

Definition at line 89 of file scipDiffParamSet.h.

◆ ScipDiffParamSet() [2/2]

◆ ~ScipDiffParamSet()

Member Function Documentation

◆ allocateMemoty()

◆ bcast()

virtual int bcast ( UG::ParaComm comm,
int  root 
)
pure virtual

◆ doesContainRealParam()

bool doesContainRealParam ( char *  string)

check if this parameter setting contains the argument name real parameter or not NOTE: this function is not tested

Definition at line 137 of file scipDiffParamSet.h.

References ScipDiffParamSet::numRealParams, and ScipDiffParamSet::realParamNames.

◆ nDiffParams()

◆ read()

◆ receive()

virtual int receive ( UG::ParaComm comm,
int  source 
)
pure virtual

receive scipDiffParamSet from the source rank

Implemented in ScipDiffParamSetMpi, and ScipDiffParamSetTh.

Referenced by ScipParaRacingRampUpParamSetMpi::receive().

◆ send()

virtual int send ( UG::ParaComm comm,
int  destination 
)
pure virtual

end scipDiffParamSet to the rank

Implemented in ScipDiffParamSetMpi, and ScipDiffParamSetTh.

Referenced by ScipParaRacingRampUpParamSetMpi::send().

◆ setParametersInScip()

void setParametersInScip ( SCIP *  scip)

set these parameter values in scip environment

set boolean parameter values in scip environment

set int parameter values in scip environment

set longint parameter values in scip environment

set real parameter values in scip environment

set char parameter values in scip environment

set string parameter values in scip environment

Definition at line 233 of file scipDiffParamSet.cpp.

References ScipDiffParamSet::boolParamNames, ScipDiffParamSet::boolParamNamesSize, ScipDiffParamSet::boolParamValues, ScipDiffParamSet::charParamNames, ScipDiffParamSet::charParamNamesSize, ScipDiffParamSet::charParamValues, ScipDiffParamSet::intParamNames, ScipDiffParamSet::intParamNamesSize, ScipDiffParamSet::intParamValues, ScipDiffParamSet::longintParamNames, ScipDiffParamSet::longintParamNamesSize, ScipDiffParamSet::longintParamValues, ScipDiffParamSet::numBoolParams, ScipDiffParamSet::numCharParams, ScipDiffParamSet::numIntParams, ScipDiffParamSet::numLongintParams, ScipDiffParamSet::numRealParams, ScipDiffParamSet::numStringParams, ScipDiffParamSet::realParamNames, ScipDiffParamSet::realParamNamesSize, ScipDiffParamSet::realParamValues, ScipDiffParamSet::stringParamNames, ScipDiffParamSet::stringParamNamesSize, ScipDiffParamSet::stringParamValues, and ScipDiffParamSet::stringParamValuesSize.

Referenced by ScipParaInitiator::addRootNodeCuts(), ScipParaInstance::addRootNodeCuts(), ScipParaInstance::createProblem(), ScipParaSolver::createSubproblem(), ScipParaSolver::reinitialize(), ScipParaSolver::ScipParaSolver(), ScipParaSolver::setOriginalNodeSelectionStrategy(), ScipParaSolver::setOriginalRootNodeProcess(), and ScipParaSolver::setRacingParams().

◆ toString()

◆ write()

Member Data Documentation

◆ boolParamNames

◆ boolParamNamesSize

◆ boolParamValues

◆ charParamNames

◆ charParamNamesSize

◆ charParamValues

◆ intParamNames

◆ intParamNamesSize

◆ intParamValues

◆ longintParamNames

◆ longintParamNamesSize

◆ longintParamValues

◆ numBoolParams

◆ numCharParams

◆ numIntParams

◆ numLongintParams

◆ numRealParams

◆ numStringParams

◆ realParamNames

◆ realParamNamesSize

◆ realParamValues

◆ stringParamNames

◆ stringParamNamesSize

◆ stringParamValues

◆ stringParamValuesSize