#include <scipParaInstance.h>
Public Member Functions | |
ScipParaInstance () | |
ScipParaInstance (SCIP *scip, int method) | |
virtual | ~ScipParaInstance () |
double | convertToExternalValue (double internalValue) |
double | convertToInternalValue (double externalValue) |
void | getSolValuesForOriginalProblem (ScipParaSolution *sol, SCIP_Real *vals) |
void | createProblem (SCIP *scip, int method, bool noPreprocessingInLC, bool usetRootNodeCuts, ScipDiffParamSet *scipDiffParamSetRoot, ScipDiffParamSet *scipDiffParamSet, char *settingsNameLC, char *isolname) |
const std::string | toString () |
bool | isOriginalIndeciesMap () |
bool | isSolverLocalIndeciesMap () |
int | getOrigProbIndex (int index) |
const char * | getProbName () |
void | freeMemory () |
int | getNVars () |
int | getVarIndexRange () |
SCIP_Real | getVarLb (int i) |
SCIP_Real | getVarUb (int i) |
SCIP_Real | getObjCoef (int i) |
int | getVarType (int i) |
const char * | getVarName (int i) |
int | getNConss () |
SCIP_Real | getLhsLinear (int i) |
SCIP_Real | getRhsLinear (int i) |
int | getNVarsLinear (int i) |
int | getIdxLinearCoefVar (int i, int j) |
SCIP_Real * | getLinearCoefs (int i) |
const char * | getConsName (int i) |
SCIP * | getScip () |
void | setUserPlugins (ScipUserPlugins *inUi) |
void | includeUserPlugins (SCIP *inScip) |
virtual void | setFileName (const char *fileName)=0 |
int * | extractOrigProbIndexMap () |
int * | extractSolverLocalIndexMap () |
SCIP * | getParaInstanceScip () |
int | getOrigObjSense () |
virtual bool | isCopyIncreasedVariables ()=0 |
virtual void | copyIncrasedVariables ()=0 |
ScipParaInstance () | |
ScipParaInstance (SCIP *inScip) | |
virtual | ~ScipParaInstance () |
double | convertToExternalValue (double internalValue) |
double | convertToInternalValue (double externalValue) |
void | getSolValuesForOriginalProblem (ScipParaSolution *sol, SCIP_Real *vals) |
void | copyScipEnvironment (SCIP **scip) |
SCIP * | getScip () |
void | createProblem (SCIP *scip, int method, bool noPreprocessingInLC, bool usetRootNodeCuts, ScipDiffParamSet *scipDiffParamSetRoot, ScipDiffParamSet *scipDiffParamSet, char *settingsNameLC, char *isolname) |
const std::string | toString () |
const char * | getProbName () |
int | getNVars () |
int | getVarIndexRange () |
SCIP_Real | getVarLb (int i) |
SCIP_Real | getVarUb (int i) |
int | getVarType (int i) |
SCIP_Real | getObjCoef (int i) |
const char * | getVarName (int i) |
int | getNConss () |
SCIP_Real | getLhsLinear (int i) |
SCIP_Real | getRhsLinear (int i) |
int | getNVarsLinear (int i) |
int | getIdxLinearCoefVar (int i, int j) |
SCIP_Real * | getLinearCoefs (int i) |
const char * | getConsName (int i) |
void | setUserPlugins (ScipUserPlugins *inUi) |
void | includeUserPlugins (SCIP *inScip) |
virtual void | setFileName (const char *file)=0 |
bool | isOriginalIndeciesMap () |
bool | isSolverLocalIndeciesMap () |
int | getOrigProbIndex (int index) |
int * | extractOrigProbIndexMap () |
int * | extractSolverLocalIndexMap () |
SCIP * | getParaInstanceScip () |
int | getOrigObjSense () |
bool | isCopyIncreasedVariables () |
void | copyIncrasedVariables () |
Public Member Functions inherited from BbParaInstance | |
BbParaInstance () | |
DO NOT HAVE DATA MEMBER!! More... | |
virtual | ~BbParaInstance () |
destructor More... | |
virtual int | getVarIndexRange ()=0 |
get variable index range TODO: this function should be in inherited class More... | |
Public Member Functions inherited from ParaInstance | |
ParaInstance () | |
DO NOT HAVE DATA MEMBER!! More... | |
virtual | ~ParaInstance () |
destructor More... | |
virtual const char * | getProbName ()=0 |
get problem name More... | |
virtual int | bcast (ParaComm *comm, int rank, int method)=0 |
broadcast function to all solvers More... | |
virtual const std::string | toString ()=0 |
Stringfy this object. More... | |
Protected Member Functions | |
void | allocateMemoryForOrdinaryConstraints () |
void | addOrdinaryConstraintName (int c, SCIP_CONS *cons) |
void | setLinearConstraint (SCIP *scip, int c, SCIP_CONS *cons) |
void | createLinearConstraintsInSCIP (SCIP *scip) |
void | setSetppcConstraint (SCIP *scip, int c, SCIP_CONS *cons) |
void | createSetppcConstraintsInSCIP (SCIP *scip) |
void | setLogicorConstraint (SCIP *scip, int c, SCIP_CONS *cons) |
void | createLogicorConstraintsInSCIP (SCIP *scip) |
void | setKnapsackConstraint (SCIP *scip, int c, SCIP_CONS *cons) |
void | createKnapsackConstraintsInSCIP (SCIP *scip) |
void | setVarboundConstraint (SCIP *scip, int c, SCIP_CONS *cons) |
void | createVarboundConstraintsInSCIP (SCIP *scip) |
void | setBoundDisjunctionConstraint (SCIP *scip, int c, SCIP_CONS *cons) |
void | createBoundDisjunctionConstraintInSCIP (SCIP *scip) |
void | setSos1Constraint (SCIP *scip, int c, SCIP_CONS *cons, SCIP_CONS **consSOS1) |
void | createSos1ConstraintsInSCIP (SCIP *scip) |
void | setSos2Constraint (SCIP *scip, int c, SCIP_CONS *cons, SCIP_CONS **consSOS2) |
void | createSos2ConstraintsInSCIP (SCIP *scip) |
void | getActiveVariables (SCIP *scip, SCIP_VAR **vars, SCIP_Real *scalars, int *nvars, SCIP_Real *constant, SCIP_Bool transformed) |
void | collectAggregatedVars (SCIP *scip, int nvars, SCIP_VAR **vars, int *nAggregatedVars, SCIP_VAR ***aggregatedVars, SCIP_HASHTABLE **varAggregated) |
void | setAggregatedConstraint (SCIP *scip, int c, const char *constName, SCIP_VAR **vars, SCIP_Real *vals, int nvars, SCIP_Real lhsAndrhs) |
void | setAggregatedConstrains (SCIP *scip, int nvars, int nAggregatedVars, SCIP_VAR **aggregatedVars) |
void | createAggregatedVarsAndConstrainsInSCIP (SCIP *scip) |
virtual const char * | getFileName ()=0 |
bool | addRootNodeCuts (SCIP *scip, ScipDiffParamSet *scipDiffParamSetRoot) |
virtual const char * | getFileName ()=0 |
ScipInstance
Definition at line 51 of file scipParaInstance.h.
ScipParaInstance | ( | ) |
constructor
Definition at line 224 of file scipParaInstance.h.
ScipParaInstance | ( | SCIP * | scip, |
int | method | ||
) |
constractor : only called from ScipInitiator
set objsen
collect SOS constraints in array for later output
count number of each constraint
re-initialize counters for ordinary constraints
initialize length of constraint names area
Definition at line 820 of file scipParaInstance.cpp.
References ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstance::collectAggregatedVars(), ScipParaInstance::consNames, ScipParaInstance::lConsNames, ScipParaInstance::lProbName, ScipParaInstance::lVarNames, ScipParaInstance::nConss, ScipParaInstance::nKnapsackConss, ScipParaInstance::nLinearConss, ScipParaInstance::nLogicorConss, ScipParaInstance::nSetppcConss, ScipParaInstance::nSos1Conss, ScipParaInstance::nSos2Conss, ScipParaInstance::nVarboundConss, ScipParaInstance::nVarBoundDisjunctionConss, ScipParaInstance::nVars, ScipParaInstance::objCoefs, ScipParaInstance::objOffset, ScipParaInstance::objScale, ScipParaInstance::origObjSense, ScipParaInstance::paraInstanceScip, ScipParaInstance::posConsNames, ScipParaInstance::posVarNames, PRESOLVED_INSTANCE, ScipParaInstance::probName, ScipParaInstance::scip, ScipParaInstance::setAggregatedConstrains(), ScipParaInstance::setBoundDisjunctionConstraint(), ScipParaInstance::setKnapsackConstraint(), ScipParaInstance::setLinearConstraint(), ScipParaInstance::setLogicorConstraint(), ScipParaInstance::setSetppcConstraint(), ScipParaInstance::setSos1Constraint(), ScipParaInstance::setSos2Constraint(), ScipParaInstance::setVarboundConstraint(), THROW_LOGICAL_ERROR3, ScipParaInstance::varIndexRange, ScipParaInstance::varLbs, ScipParaInstance::varNames, ScipParaInstance::varTypes, and ScipParaInstance::varUbs.
|
virtual |
destractor
for linear constraints
for setppc constraints
for logical constraints
for knapsack constraints
for varbound constraints
for bounddisjunction constraints
for SOS1 constraints
for SOS2 constraints
for agrregated constraints
Definition at line 1127 of file scipParaInstance.cpp.
References ScipParaInstance::aggregatedCoefs, ScipParaInstance::aggregatedConsNames, ScipParaInstance::aggregatedLhsAndLhss, ScipParaInstance::aggregatedVarNames, ScipParaInstance::boundsBoundDisjunction, ScipParaInstance::boundTypesBoundDisjunction, ScipParaInstance::capacities, ScipParaInstance::consNames, ScipParaInstance::idxAggregatedCoefsVars, ScipParaInstance::idxBoundDisjunctionConsNames, ScipParaInstance::idxKnapsackCoefsVars, ScipParaInstance::idxKnapsackConsNames, ScipParaInstance::idxLinearCoefsVars, ScipParaInstance::idxLinearConsNames, ScipParaInstance::idxLogicorConsNames, ScipParaInstance::idxLogicorVars, ScipParaInstance::idxSetppcConsNames, ScipParaInstance::idxSetppcVars, ScipParaInstance::idxSos1CoefsVars, ScipParaInstance::idxSos2CoefsVars, ScipParaInstance::idxVarboundCoefVar1s, ScipParaInstance::idxVarboundCoefVar2s, ScipParaInstance::idxVarboundConsNames, ScipParaInstance::idxVarBoundDisjunction, ScipParaInstance::knapsackCoefs, ScipParaInstance::linearCoefs, ScipParaInstance::linearLhss, ScipParaInstance::linearRhss, ScipParaInstance::mapToOriginalIndecies, ScipParaInstance::mapToSolverLocalIndecies, ScipParaInstance::nAggregatedConss, ScipParaInstance::nIdxLogicorVars, ScipParaInstance::nIdxSetppcVars, ScipParaInstance::nKnapsackConss, ScipParaInstance::nLinearCoefs, ScipParaInstance::nLinearConss, ScipParaInstance::nLKnapsackCoefs, ScipParaInstance::nLogicorConss, ScipParaInstance::nSetppcConss, ScipParaInstance::nSos1Coefs, ScipParaInstance::nSos1Conss, ScipParaInstance::nSos2Coefs, ScipParaInstance::nSos2Conss, ScipParaInstance::nVarboundConss, ScipParaInstance::nVarBoundDisjunctionConss, ScipParaInstance::nVarsBoundDisjunction, ScipParaInstance::objCoefs, ScipParaInstance::posAggregatedConsNames, ScipParaInstance::posAggregatedVarNames, ScipParaInstance::posConsNames, ScipParaInstance::posVarNames, ScipParaInstance::probName, ScipParaInstance::setppcTypes, ScipParaInstance::sos1Coefs, ScipParaInstance::sos2Coefs, ScipParaInstance::userPlugins, ScipParaInstance::varboundCoef2s, ScipParaInstance::varLbs, ScipParaInstance::varNames, ScipParaInstance::varTypes, and ScipParaInstance::varUbs.
ScipParaInstance | ( | ) |
constructor
Definition at line 69 of file scipParaInstanceTh.h.
ScipParaInstance | ( | SCIP * | inScip | ) |
Definition at line 75 of file scipParaInstanceTh.h.
|
virtual |
destractor
Definition at line 82 of file scipParaInstanceTh.h.
References ScipParaInstance::mapToOriginalIndecies, ScipParaInstance::mapToSolverLocalIndecies, ScipParaInstance::orgScip, and ScipParaInstance::scip.
|
protected |
Definition at line 163 of file scipParaInstance.cpp.
References ScipParaInstance::consNames, ScipParaInstance::lConsNames, and ScipParaInstance::posConsNames.
Referenced by ScipParaInstance::setBoundDisjunctionConstraint(), ScipParaInstance::setKnapsackConstraint(), ScipParaInstance::setLinearConstraint(), ScipParaInstance::setLogicorConstraint(), ScipParaInstance::setSetppcConstraint(), ScipParaInstance::setSos1Constraint(), ScipParaInstance::setSos2Constraint(), and ScipParaInstance::setVarboundConstraint().
|
protected |
Definition at line 1283 of file scipParaInstance.cpp.
References ScipDiffParamSet::setParametersInScip().
Referenced by ScipParaInstance::createProblem().
|
protected |
for linear constraints
for setppc constraints
for logical constraints
for knapsack constraints
for varbound constraints
for bounddisjunction constraints
for SOS1 constraints
for SOS2 constraints
Definition at line 91 of file scipParaInstance.cpp.
References ScipParaInstance::boundsBoundDisjunction, ScipParaInstance::boundTypesBoundDisjunction, ScipParaInstance::capacities, ScipParaInstance::idxBoundDisjunctionConsNames, ScipParaInstance::idxKnapsackCoefsVars, ScipParaInstance::idxKnapsackConsNames, ScipParaInstance::idxLinearCoefsVars, ScipParaInstance::idxLinearConsNames, ScipParaInstance::idxLogicorConsNames, ScipParaInstance::idxLogicorVars, ScipParaInstance::idxSetppcConsNames, ScipParaInstance::idxSetppcVars, ScipParaInstance::idxSos1CoefsVars, ScipParaInstance::idxSos1ConsNames, ScipParaInstance::idxSos2CoefsVars, ScipParaInstance::idxSos2ConsNames, ScipParaInstance::idxVarboundCoefVar1s, ScipParaInstance::idxVarboundCoefVar2s, ScipParaInstance::idxVarboundConsNames, ScipParaInstance::idxVarBoundDisjunction, ScipParaInstance::knapsackCoefs, ScipParaInstance::linearCoefs, ScipParaInstance::linearLhss, ScipParaInstance::linearRhss, ScipParaInstance::nIdxLogicorVars, ScipParaInstance::nIdxSetppcVars, ScipParaInstance::nKnapsackConss, ScipParaInstance::nLinearCoefs, ScipParaInstance::nLinearConss, ScipParaInstance::nLKnapsackCoefs, ScipParaInstance::nLogicorConss, ScipParaInstance::nSetppcConss, ScipParaInstance::nSos1Coefs, ScipParaInstance::nSos1Conss, ScipParaInstance::nSos2Coefs, ScipParaInstance::nSos2Conss, ScipParaInstance::nVarboundConss, ScipParaInstance::nVarBoundDisjunctionConss, ScipParaInstance::nVarsBoundDisjunction, ScipParaInstance::setppcTypes, ScipParaInstance::sos1Coefs, ScipParaInstance::sos2Coefs, ScipParaInstance::varboundCoef2s, ScipParaInstance::varboundLhss, and ScipParaInstance::varboundRhss.
Referenced by ScipParaInstance::ScipParaInstance().
|
protected |
scip | SCIP data structure |
nvars | number of mutable variables in the problem |
vars | variable array |
nAggregatedVars | number of aggregated variables on output |
aggregatedVars | array storing the aggregated variables on output |
varAggregated | hashtable for checking duplicates |
Definition at line 646 of file scipParaInstance.cpp.
Referenced by ScipParaInstance::ScipParaInstance().
double convertToExternalValue | ( | double | internalValue | ) |
convert an internal value to external value double convertToExternalValue(double internalValue) { return ( (internalValue + objOffset) * objScale * origObjSense ); }
convert an external value to internal value double convertToInternalValue(double exteranlValue) { return ( ( exteranlValue / ( objScale * origObjSense ) ) - objOffset ); } convert an internal value to external value
Definition at line 274 of file scipParaInstance.h.
References ScipParaInstance::orgScip, and ScipParaInstance::paraInstanceScip.
Referenced by ScipParaInitiator::convertToExternalValue(), ScipParaInitiator::getAbsgap(), ScipParaInitiator::getGap(), and ScipParaInitiator::outputFinalSolverStatistics().
double convertToExternalValue | ( | double | internalValue | ) |
convert an internal value to external value
Definition at line 106 of file scipParaInstanceTh.h.
References ScipParaInstance::orgScip, and ScipParaInstance::scip.
double convertToInternalValue | ( | double | externalValue | ) |
convert an external value to internal value
Definition at line 287 of file scipParaInstance.h.
References ScipParaInstance::orgScip, and ScipParaInstance::paraInstanceScip.
Referenced by ScipParaInitiator::convertToInternalValue(), ScipParaInitiator::init(), and ScipParaInitiator::reInit().
double convertToInternalValue | ( | double | externalValue | ) |
convert an external value to internal value
Definition at line 119 of file scipParaInstanceTh.h.
References ScipParaInstance::orgScip, and ScipParaInstance::scip.
void copyIncrasedVariables | ( | ) |
Definition at line 369 of file scipParaInstanceTh.h.
References ScipParaInstance::copyIncreasedVariables.
|
pure virtual |
Implemented in ScipParaInstanceMpi.
void copyScipEnvironment | ( | SCIP ** | scip | ) |
create presolved problem instance that is solved by ParaSCIP form scip environment in this object
Definition at line 57 of file scipParaInstanceTh.cpp.
References ScipParaInstance::scip.
Referenced by ScipParaInstanceTh::bcast().
|
protected |
Definition at line 783 of file scipParaInstance.cpp.
References ScipParaInstance::aggregatedCoefs, ScipParaInstance::aggregatedConsNames, ScipParaInstance::aggregatedLhsAndLhss, ScipParaInstance::aggregatedVarNames, ScipParaInstance::idxAggregatedCoefsVars, ScipParaInstance::nAggregatedCoefs, ScipParaInstance::nAggregatedConss, ScipParaInstance::nVars, ScipParaInstance::posAggregatedConsNames, ScipParaInstance::posAggregatedVarNames, and ScipParaInstance::scip.
Referenced by ScipParaInstance::createProblem().
|
protected |
Definition at line 473 of file scipParaInstance.cpp.
References ScipParaInstance::boundsBoundDisjunction, ScipParaInstance::boundTypesBoundDisjunction, ScipParaInstance::consNames, ScipParaInstance::idxBoundDisjunctionConsNames, ScipParaInstance::idxVarBoundDisjunction, ScipParaInstance::nVarBoundDisjunctionConss, ScipParaInstance::nVarsBoundDisjunction, ScipParaInstance::posConsNames, and ScipParaInstance::scip.
Referenced by ScipParaInstance::createProblem().
|
protected |
Definition at line 381 of file scipParaInstance.cpp.
References ScipParaInstance::capacities, ScipParaInstance::consNames, ScipParaInstance::idxKnapsackCoefsVars, ScipParaInstance::idxKnapsackConsNames, ScipParaInstance::knapsackCoefs, ScipParaInstance::nKnapsackConss, ScipParaInstance::nLKnapsackCoefs, ScipParaInstance::posConsNames, and ScipParaInstance::scip.
Referenced by ScipParaInstance::createProblem().
|
protected |
Definition at line 199 of file scipParaInstance.cpp.
References ScipParaInstance::consNames, ScipParaInstance::idxLinearCoefsVars, ScipParaInstance::idxLinearConsNames, ScipParaInstance::linearCoefs, ScipParaInstance::linearLhss, ScipParaInstance::linearRhss, ScipParaInstance::nLinearCoefs, ScipParaInstance::nLinearConss, ScipParaInstance::posConsNames, and ScipParaInstance::scip.
Referenced by ScipParaInstance::createProblem().
|
protected |
Definition at line 317 of file scipParaInstance.cpp.
References ScipParaInstance::consNames, ScipParaInstance::idxLogicorConsNames, ScipParaInstance::idxLogicorVars, ScipParaInstance::nIdxLogicorVars, ScipParaInstance::nLogicorConss, ScipParaInstance::posConsNames, and ScipParaInstance::scip.
Referenced by ScipParaInstance::createProblem().
void createProblem | ( | SCIP * | inScip, |
int | method, | ||
bool | noPreprocessingInLC, | ||
bool | usetRootNodeCuts, | ||
ScipDiffParamSet * | scipDiffParamSetRoot, | ||
ScipDiffParamSet * | scipDiffParamSet, | ||
char * | settingsNameLC, | ||
char * | isolname | ||
) |
create presolved problem instance that is solved by ParaSCIP
user include plugins
user include plugins
Definition at line 1361 of file scipParaInstance.cpp.
References ScipParaInstance::addRootNodeCuts(), ScipParaInstance::copyIncreasedVariables, ScipParaInstance::createAggregatedVarsAndConstrainsInSCIP(), ScipParaInstance::createBoundDisjunctionConstraintInSCIP(), ScipParaInstance::createKnapsackConstraintsInSCIP(), ScipParaInstance::createLinearConstraintsInSCIP(), ScipParaInstance::createLogicorConstraintsInSCIP(), ScipParaInstance::createSetppcConstraintsInSCIP(), ScipParaInstance::createSos1ConstraintsInSCIP(), ScipParaInstance::createSos2ConstraintsInSCIP(), ScipParaInstance::createVarboundConstraintsInSCIP(), ScipParaInstance::getFileName(), ScipParaInstance::includeUserPlugins(), ScipParaInstance::mapToOriginalIndecies, ScipParaInstance::mapToSolverLocalIndecies, ScipParaInstance::nAggregatedConss, ScipParaInstance::nCopies, ScipParaInstance::nKnapsackConss, ScipParaInstance::nLinearConss, ScipParaInstance::nLogicorConss, ScipParaInstance::nSetppcConss, ScipParaInstance::nSos1Conss, ScipParaInstance::nSos2Conss, ScipParaInstance::nVarboundConss, ScipParaInstance::nVarBoundDisjunctionConss, ScipParaInstance::nVars, ScipParaInstance::objCoefs, ScipParaInstance::posVarNames, PRESOLVED_INSTANCE, ScipParaInstance::probName, ScipParaInstance::scip, ScipDiffParamSet::setParametersInScip(), THROW_LOGICAL_ERROR1, ScipParaInstance::varIndexRange, ScipParaInstance::varLbs, ScipParaInstance::varNames, ScipParaInstance::varTypes, and ScipParaInstance::varUbs.
Referenced by ScipParaSolver::reinitialize(), ScipParaObjCommPointHdlr::ScipParaObjCommPointHdlr(), and ScipParaSolver::ScipParaSolver().
void createProblem | ( | SCIP * | scip, |
int | method, | ||
bool | noPreprocessingInLC, | ||
bool | usetRootNodeCuts, | ||
ScipDiffParamSet * | scipDiffParamSetRoot, | ||
ScipDiffParamSet * | scipDiffParamSet, | ||
char * | settingsNameLC, | ||
char * | isolname | ||
) |
create presolved problem instance that is solved by ParaSCIP
|
protected |
Definition at line 247 of file scipParaInstance.cpp.
References ScipParaInstance::consNames, ScipParaInstance::idxSetppcConsNames, ScipParaInstance::idxSetppcVars, ScipParaInstance::nIdxSetppcVars, ScipParaInstance::nSetppcConss, ScipParaInstance::posConsNames, ScipParaInstance::scip, ScipParaInstance::setppcTypes, and THROW_LOGICAL_ERROR2.
Referenced by ScipParaInstance::createProblem().
|
protected |
Definition at line 527 of file scipParaInstance.cpp.
References ScipParaInstance::consNames, ScipParaInstance::idxSos1CoefsVars, ScipParaInstance::idxSos1ConsNames, ScipParaInstance::nSos1Coefs, ScipParaInstance::nSos1Conss, ScipParaInstance::posConsNames, ScipParaInstance::scip, and ScipParaInstance::sos1Coefs.
Referenced by ScipParaInstance::createProblem().
|
protected |
Definition at line 576 of file scipParaInstance.cpp.
References ScipParaInstance::consNames, ScipParaInstance::idxSos2CoefsVars, ScipParaInstance::idxSos2ConsNames, ScipParaInstance::nSos2Coefs, ScipParaInstance::nSos2Conss, ScipParaInstance::posConsNames, ScipParaInstance::scip, and ScipParaInstance::sos2Coefs.
Referenced by ScipParaInstance::createProblem().
|
protected |
Definition at line 425 of file scipParaInstance.cpp.
References ScipParaInstance::consNames, ScipParaInstance::idxVarboundCoefVar1s, ScipParaInstance::idxVarboundCoefVar2s, ScipParaInstance::idxVarboundConsNames, ScipParaInstance::nVarboundConss, ScipParaInstance::posConsNames, ScipParaInstance::scip, ScipParaInstance::varboundCoef2s, ScipParaInstance::varboundLhss, and ScipParaInstance::varboundRhss.
Referenced by ScipParaInstance::createProblem().
int * extractOrigProbIndexMap | ( | ) |
Definition at line 412 of file scipParaInstance.h.
References ScipParaInstance::mapToOriginalIndecies.
Referenced by ScipParaSolver::saveOrgProblemBounds().
int * extractOrigProbIndexMap | ( | ) |
Definition at line 327 of file scipParaInstanceTh.h.
References ScipParaInstance::mapToOriginalIndecies.
int * extractSolverLocalIndexMap | ( | ) |
Definition at line 420 of file scipParaInstance.h.
References ScipParaInstance::mapToSolverLocalIndecies.
Referenced by ScipParaSolver::saveOrgProblemBounds().
int * extractSolverLocalIndexMap | ( | ) |
Definition at line 335 of file scipParaInstanceTh.h.
References ScipParaInstance::mapToSolverLocalIndecies.
void freeMemory | ( | ) |
free memory for ParaInstance to save memory
Definition at line 1708 of file scipParaInstance.cpp.
References ScipParaInstance::aggregatedCoefs, ScipParaInstance::aggregatedLhsAndLhss, ScipParaInstance::capacities, ScipParaInstance::idxAggregatedCoefsVars, ScipParaInstance::idxKnapsackCoefsVars, ScipParaInstance::idxKnapsackConsNames, ScipParaInstance::idxLinearCoefsVars, ScipParaInstance::idxLinearConsNames, ScipParaInstance::idxLogicorConsNames, ScipParaInstance::idxLogicorVars, ScipParaInstance::idxSetppcConsNames, ScipParaInstance::idxSetppcVars, ScipParaInstance::idxSos1CoefsVars, ScipParaInstance::idxSos2CoefsVars, ScipParaInstance::knapsackCoefs, ScipParaInstance::linearCoefs, ScipParaInstance::linearLhss, ScipParaInstance::linearRhss, ScipParaInstance::nAggregatedConss, ScipParaInstance::nIdxLogicorVars, ScipParaInstance::nIdxSetppcVars, ScipParaInstance::nKnapsackConss, ScipParaInstance::nLinearCoefs, ScipParaInstance::nLinearConss, ScipParaInstance::nLKnapsackCoefs, ScipParaInstance::nLogicorConss, ScipParaInstance::nSetppcConss, ScipParaInstance::nSos1Coefs, ScipParaInstance::nSos1Conss, ScipParaInstance::nSos2Coefs, ScipParaInstance::nSos2Conss, ScipParaInstance::objCoefs, ScipParaInstance::posVarNames, ScipParaInstance::setppcTypes, ScipParaInstance::sos1Coefs, ScipParaInstance::sos2Coefs, ScipParaInstance::varLbs, ScipParaInstance::varTypes, and ScipParaInstance::varUbs.
|
protected |
scip | SCIP data structure |
vars | vars array to get active variables for |
scalars | scalars a_1, ..., a_n in linear sum a_1*x_1 + ... + a_n*x_n + c |
nvars | pointer to number of variables and values in vars and vals array |
constant | pointer to constant c in linear sum a_1*x_1 + ... + a_n*x_n + c |
transformed | transformed constraint? |
Definition at line 603 of file scipParaInstance.cpp.
References ScipParaInstance::scip.
Referenced by ScipParaInstance::setAggregatedConstrains().
const char * getConsName | ( | int | i | ) |
Definition at line 391 of file scipParaInstance.h.
References ScipParaInstance::consNames, and ScipParaInstance::posConsNames.
const char * getConsName | ( | int | i | ) |
Definition at line 303 of file scipParaInstanceTh.h.
References ScipParaInstance::scip.
|
protectedpure virtual |
Implemented in ScipParaInstanceMpi, and ScipParaInstanceTh.
Referenced by ScipParaInstance::createProblem().
|
protectedpure virtual |
Implemented in ScipParaInstanceMpi, and ScipParaInstanceTh.
int getIdxLinearCoefVar | ( | int | i, |
int | j | ||
) |
Definition at line 383 of file scipParaInstance.h.
References ScipParaInstance::idxLinearCoefsVars.
int getIdxLinearCoefVar | ( | int | i, |
int | j | ||
) |
Definition at line 290 of file scipParaInstanceTh.h.
References ScipParaInstance::scip.
SCIP_Real getLhsLinear | ( | int | i | ) |
Definition at line 380 of file scipParaInstance.h.
References ScipParaInstance::linearLhss.
SCIP_Real getLhsLinear | ( | int | i | ) |
Definition at line 254 of file scipParaInstanceTh.h.
References ScipParaInstance::scip, and THROW_LOGICAL_ERROR2.
SCIP_Real * getLinearCoefs | ( | int | i | ) |
Definition at line 387 of file scipParaInstance.h.
References ScipParaInstance::linearCoefs.
SCIP_Real * getLinearCoefs | ( | int | i | ) |
Definition at line 297 of file scipParaInstanceTh.h.
References ScipParaInstance::scip.
int getNConss | ( | ) |
Definition at line 379 of file scipParaInstance.h.
References ScipParaInstance::nLinearConss.
int getNConss | ( | ) |
Definition at line 249 of file scipParaInstanceTh.h.
References ScipParaInstance::scip.
int getNVars | ( | ) |
Definition at line 371 of file scipParaInstance.h.
References ScipParaInstance::nVars.
Referenced by ScipParaSolver::saveOrgProblemBounds(), and ScipParaInitiator::sendSolverInitializationMessage().
int getNVars | ( | ) |
Definition at line 220 of file scipParaInstanceTh.h.
References ScipParaInstance::nVars.
int getNVarsLinear | ( | int | i | ) |
Definition at line 382 of file scipParaInstance.h.
References ScipParaInstance::nLinearCoefs.
int getNVarsLinear | ( | int | i | ) |
Definition at line 278 of file scipParaInstanceTh.h.
References ScipParaInstance::scip, and THROW_LOGICAL_ERROR2.
SCIP_Real getObjCoef | ( | int | i | ) |
Definition at line 375 of file scipParaInstance.h.
References ScipParaInstance::objCoefs.
SCIP_Real getObjCoef | ( | int | i | ) |
Definition at line 237 of file scipParaInstanceTh.h.
References ScipParaInstance::scip.
int getOrigObjSense | ( | ) |
Definition at line 434 of file scipParaInstance.h.
References ScipParaInstance::origObjSense.
int getOrigObjSense | ( | ) |
Definition at line 359 of file scipParaInstanceTh.h.
References ScipParaInstance::scip.
int getOrigProbIndex | ( | int | index | ) |
Definition at line 361 of file scipParaInstance.h.
References ScipParaInstance::mapToOriginalIndecies.
Referenced by ScipParaDiffSubproblem::getFixedVariables(), and ScipParaInitiator::tryToSetIncumbentSolution().
int getOrigProbIndex | ( | int | index | ) |
Definition at line 321 of file scipParaInstanceTh.h.
References ScipParaInstance::mapToOriginalIndecies.
SCIP * getParaInstanceScip | ( | ) |
Definition at line 428 of file scipParaInstance.h.
References ScipParaInstance::orgScip, and ScipParaInstance::paraInstanceScip.
Referenced by ScipParaInitiator::accumulateInitialStat(), ScipParaInitiator::setInitialStatOnDiffSubproblem(), ScipParaInitiator::writeParaInstance(), and ScipParaInitiator::writeSolution().
SCIP * getParaInstanceScip | ( | ) |
Definition at line 353 of file scipParaInstanceTh.h.
References ScipParaInstance::orgScip, and ScipParaInstance::scip.
|
virtual |
Implements ParaInstance.
Definition at line 367 of file scipParaInstance.h.
References ScipParaInstance::probName.
Referenced by ScipParaInitiator::init(), ScipParaInitiator::reInit(), and ScipParaInitiator::writeSolution().
|
virtual |
Implements ParaInstance.
Definition at line 208 of file scipParaInstanceTh.h.
References ScipParaInstance::orgScip, and ScipParaInstance::scip.
SCIP_Real getRhsLinear | ( | int | i | ) |
Definition at line 381 of file scipParaInstance.h.
References ScipParaInstance::linearRhss.
SCIP_Real getRhsLinear | ( | int | i | ) |
Definition at line 266 of file scipParaInstanceTh.h.
References ScipParaInstance::scip, and THROW_LOGICAL_ERROR2.
SCIP * getScip | ( | ) |
Definition at line 396 of file scipParaInstance.h.
References THROW_LOGICAL_ERROR1.
Referenced by ScipParaSolver::reinitialize(), and ScipParaSolver::ScipParaSolver().
SCIP * getScip | ( | ) |
Definition at line 182 of file scipParaInstanceTh.h.
References ScipParaInstance::scip.
void getSolValuesForOriginalProblem | ( | ScipParaSolution * | sol, |
SCIP_Real * | vals | ||
) |
get solution values for the original problem
Definition at line 301 of file scipParaInstance.h.
References ScipParaSolution::getNVars(), ScipParaSolution::getValues(), ScipParaSolution::indexAmongSolvers(), ScipParaInstance::mapToOriginalIndecies, ScipParaInstance::orgScip, and ScipParaInstance::paraInstanceScip.
Referenced by ScipParaInitiator::tryToSetIncumbentSolution().
void getSolValuesForOriginalProblem | ( | ScipParaSolution * | sol, |
SCIP_Real * | vals | ||
) |
get solution values for the original problem
Definition at line 132 of file scipParaInstanceTh.h.
References ScipParaSolution::getNVars(), ScipParaSolution::getValues(), ScipParaSolution::indexAmongSolvers(), ScipParaInstance::mapToOriginalIndecies, ScipParaInstance::orgScip, ScipParaInstance::scip, and ScipParaInstance::varIndexRange.
|
virtual |
Implements BbParaInstance.
Reimplemented in ScipParaInstanceMpi.
Definition at line 372 of file scipParaInstance.h.
References ScipParaInstance::varIndexRange.
Referenced by ScipParaSolver::saveOrgProblemBounds(), and ScipParaInitiator::sendSolverInitializationMessage().
|
virtual |
Implements BbParaInstance.
Definition at line 221 of file scipParaInstanceTh.h.
References ScipParaInstance::varIndexRange.
SCIP_Real getVarLb | ( | int | i | ) |
Definition at line 373 of file scipParaInstance.h.
References ScipParaInstance::varLbs.
Referenced by ScipParaDiffSubproblem::getFixedVariables(), and ScipParaSolver::saveOrgProblemBounds().
SCIP_Real getVarLb | ( | int | i | ) |
Definition at line 222 of file scipParaInstanceTh.h.
References ScipParaInstance::scip.
const char * getVarName | ( | int | i | ) |
Definition at line 377 of file scipParaInstance.h.
References ScipParaInstance::posVarNames, and ScipParaInstance::varNames.
const char * getVarName | ( | int | i | ) |
Definition at line 243 of file scipParaInstanceTh.h.
References ScipParaInstance::scip.
int getVarType | ( | int | i | ) |
Definition at line 376 of file scipParaInstance.h.
References ScipParaInstance::varTypes.
Referenced by ScipParaDiffSubproblem::getFixedVariables().
int getVarType | ( | int | i | ) |
Definition at line 232 of file scipParaInstanceTh.h.
References ScipParaInstance::scip.
SCIP_Real getVarUb | ( | int | i | ) |
Definition at line 374 of file scipParaInstance.h.
References ScipParaInstance::varUbs.
Referenced by ScipParaDiffSubproblem::getFixedVariables(), and ScipParaSolver::saveOrgProblemBounds().
SCIP_Real getVarUb | ( | int | i | ) |
Definition at line 227 of file scipParaInstanceTh.h.
References ScipParaInstance::scip.
void includeUserPlugins | ( | SCIP * | inScip | ) |
include user plugins
Definition at line 402 of file scipParaInstance.h.
References ScipParaInstance::userPlugins.
Referenced by ScipParaInstance::createProblem().
void includeUserPlugins | ( | SCIP * | inScip | ) |
bool isCopyIncreasedVariables | ( | ) |
Definition at line 364 of file scipParaInstanceTh.h.
References ScipParaInstance::copyIncreasedVariables.
|
pure virtual |
Implemented in ScipParaInstanceMpi.
bool isOriginalIndeciesMap | ( | ) |
Definition at line 357 of file scipParaInstance.h.
References ScipParaInstance::mapToOriginalIndecies.
Referenced by ScipParaInitiator::accumulateInitialStat(), ScipParaDiffSubproblem::getFixedVariables(), ScipParaSolver::saveOrgProblemBounds(), ScipParaInitiator::setInitialStatOnDiffSubproblem(), ScipParaInitiator::tryToSetIncumbentSolution(), ScipParaInitiator::writeParaInstance(), and ScipParaInitiator::writeSolution().
bool isOriginalIndeciesMap | ( | ) |
Definition at line 317 of file scipParaInstanceTh.h.
References ScipParaInstance::mapToOriginalIndecies.
bool isSolverLocalIndeciesMap | ( | ) |
Definition at line 359 of file scipParaInstance.h.
References ScipParaInstance::mapToSolverLocalIndecies.
bool isSolverLocalIndeciesMap | ( | ) |
Definition at line 319 of file scipParaInstanceTh.h.
References ScipParaInstance::mapToSolverLocalIndecies.
|
protected |
scip | SCIP data structure |
nvars | number of mutable variables in the problem |
nAggregatedVars | number of aggregated variables |
aggregatedVars | array storing the aggregated variables |
Definition at line 715 of file scipParaInstance.cpp.
References ScipParaInstance::aggregatedConsNames, ScipParaInstance::aggregatedVarNames, ScipParaInstance::getActiveVariables(), ScipParaInstance::lAggregatedConsNames, ScipParaInstance::lAggregatedVarNames, UG::LpMaxNamelen, ScipParaInstance::nAggregatedConss, ScipParaInstance::scip, and ScipParaInstance::setAggregatedConstraint().
Referenced by ScipParaInstance::ScipParaInstance().
|
protected |
scip | SCIP data structure |
c | aggregated constraint number |
constName | constraint name |
vars | array of variables |
vals | array of values |
nvars | number of variables |
lhsAndrhs | right hand side = left hand side |
Definition at line 683 of file scipParaInstance.cpp.
References ScipParaInstance::aggregatedCoefs, ScipParaInstance::aggregatedConsNames, ScipParaInstance::aggregatedLhsAndLhss, ScipParaInstance::aggregatedVarNames, ScipParaInstance::idxLinearCoefsVars, ScipParaInstance::lAggregatedConsNames, ScipParaInstance::lAggregatedVarNames, ScipParaInstance::nAggregatedCoefs, ScipParaInstance::nAggregatedConss, ScipParaInstance::nLinearConss, ScipParaInstance::posAggregatedConsNames, and ScipParaInstance::posAggregatedVarNames.
Referenced by ScipParaInstance::setAggregatedConstrains().
|
protected |
Definition at line 448 of file scipParaInstance.cpp.
References ScipParaInstance::addOrdinaryConstraintName(), ScipParaInstance::boundsBoundDisjunction, ScipParaInstance::boundTypesBoundDisjunction, ScipParaInstance::idxBoundDisjunctionConsNames, ScipParaInstance::idxVarBoundDisjunction, ScipParaInstance::nVarBoundDisjunctionConss, ScipParaInstance::nVarsBoundDisjunction, and ScipParaInstance::scip.
Referenced by ScipParaInstance::ScipParaInstance().
|
pure virtual |
Implemented in ScipParaInstanceTh, and ScipParaInstanceMpi.
|
pure virtual |
Implemented in ScipParaInstanceTh, and ScipParaInstanceMpi.
Referenced by ScipParaSolver::reinitialize().
|
protected |
Definition at line 356 of file scipParaInstance.cpp.
References ScipParaInstance::addOrdinaryConstraintName(), ScipParaInstance::capacities, ScipParaInstance::idxKnapsackCoefsVars, ScipParaInstance::idxKnapsackConsNames, ScipParaInstance::knapsackCoefs, ScipParaInstance::nKnapsackConss, ScipParaInstance::nLKnapsackCoefs, and ScipParaInstance::scip.
Referenced by ScipParaInstance::ScipParaInstance().
|
protected |
Definition at line 174 of file scipParaInstance.cpp.
References ScipParaInstance::addOrdinaryConstraintName(), ScipParaInstance::idxLinearCoefsVars, ScipParaInstance::idxLinearConsNames, ScipParaInstance::linearCoefs, ScipParaInstance::linearLhss, ScipParaInstance::linearRhss, ScipParaInstance::nLinearCoefs, ScipParaInstance::nLinearConss, and ScipParaInstance::scip.
Referenced by ScipParaInstance::ScipParaInstance().
|
protected |
Definition at line 291 of file scipParaInstance.cpp.
References ScipParaInstance::addOrdinaryConstraintName(), ScipParaInstance::idxLogicorConsNames, ScipParaInstance::idxLogicorVars, ScipParaInstance::nIdxLogicorVars, ScipParaInstance::nLogicorConss, and ScipParaInstance::scip.
Referenced by ScipParaInstance::ScipParaInstance().
|
protected |
Definition at line 226 of file scipParaInstance.cpp.
References ScipParaInstance::addOrdinaryConstraintName(), ScipParaInstance::idxSetppcConsNames, ScipParaInstance::idxSetppcVars, ScipParaInstance::nIdxSetppcVars, ScipParaInstance::nSetppcConss, ScipParaInstance::scip, and ScipParaInstance::setppcTypes.
Referenced by ScipParaInstance::ScipParaInstance().
|
protected |
Definition at line 502 of file scipParaInstance.cpp.
References ScipParaInstance::addOrdinaryConstraintName(), ScipParaInstance::idxSos1CoefsVars, ScipParaInstance::idxSos1ConsNames, ScipParaInstance::nSos1Coefs, ScipParaInstance::nSos1Conss, ScipParaInstance::scip, and ScipParaInstance::sos1Coefs.
Referenced by ScipParaInstance::ScipParaInstance().
|
protected |
Definition at line 551 of file scipParaInstance.cpp.
References ScipParaInstance::addOrdinaryConstraintName(), ScipParaInstance::idxSos2CoefsVars, ScipParaInstance::idxSos2ConsNames, ScipParaInstance::nSos2Coefs, ScipParaInstance::nSos2Conss, ScipParaInstance::scip, and ScipParaInstance::sos2Coefs.
Referenced by ScipParaInstance::ScipParaInstance().
void setUserPlugins | ( | ScipUserPlugins * | inUi | ) |
set user plugins
Definition at line 399 of file scipParaInstance.h.
References ScipParaInstance::userPlugins.
Referenced by setUserPlugins().
void setUserPlugins | ( | ScipUserPlugins * | inUi | ) |
set user plugins
maybe called, no need to do anything
Definition at line 310 of file scipParaInstanceTh.h.
|
protected |
Definition at line 408 of file scipParaInstance.cpp.
References ScipParaInstance::addOrdinaryConstraintName(), ScipParaInstance::idxVarboundCoefVar1s, ScipParaInstance::idxVarboundCoefVar2s, ScipParaInstance::idxVarboundConsNames, ScipParaInstance::nVarboundConss, ScipParaInstance::scip, ScipParaInstance::varboundCoef2s, ScipParaInstance::varboundLhss, and ScipParaInstance::varboundRhss.
Referenced by ScipParaInstance::ScipParaInstance().
|
virtual |
stringfy ParaCalculationState
stringfy ScipParaInstance: for debug
Implements ParaInstance.
Definition at line 1849 of file scipParaInstance.cpp.
References ScipParaInstance::aggregatedCoefs, ScipParaInstance::aggregatedConsNames, ScipParaInstance::aggregatedLhsAndLhss, ScipParaInstance::aggregatedVarNames, ScipParaInstance::capacities, ScipParaInstance::consNames, ScipParaInstance::idxAggregatedCoefsVars, ScipParaInstance::idxKnapsackCoefsVars, ScipParaInstance::idxKnapsackConsNames, ScipParaInstance::idxLinearCoefsVars, ScipParaInstance::idxLinearConsNames, ScipParaInstance::idxLogicorConsNames, ScipParaInstance::idxLogicorVars, ScipParaInstance::idxSetppcConsNames, ScipParaInstance::idxSetppcVars, ScipParaInstance::idxSos1CoefsVars, ScipParaInstance::idxSos1ConsNames, ScipParaInstance::idxSos2CoefsVars, ScipParaInstance::idxSos2ConsNames, ScipParaInstance::idxVarboundCoefVar1s, ScipParaInstance::idxVarboundCoefVar2s, ScipParaInstance::idxVarboundConsNames, ScipParaInstance::knapsackCoefs, ScipParaInstance::lAggregatedConsNames, ScipParaInstance::lAggregatedVarNames, ScipParaInstance::lConsNames, ScipParaInstance::linearCoefs, ScipParaInstance::linearLhss, ScipParaInstance::linearRhss, ScipParaInstance::lProbName, ScipParaInstance::lVarNames, ScipParaInstance::mapToOriginalIndecies, ScipParaInstance::mapToSolverLocalIndecies, ScipParaInstance::nAggregatedCoefs, ScipParaInstance::nAggregatedConss, ScipParaInstance::nConss, ScipParaInstance::nIdxLogicorVars, ScipParaInstance::nIdxSetppcVars, ScipParaInstance::nKnapsackConss, ScipParaInstance::nLinearCoefs, ScipParaInstance::nLinearConss, ScipParaInstance::nLKnapsackCoefs, ScipParaInstance::nLogicorConss, ScipParaInstance::nSetppcConss, ScipParaInstance::nSos1Coefs, ScipParaInstance::nSos1Conss, ScipParaInstance::nSos2Coefs, ScipParaInstance::nSos2Conss, ScipParaInstance::nVarboundConss, ScipParaInstance::nVars, ScipParaInstance::objCoefs, ScipParaInstance::objOffset, ScipParaInstance::objScale, ScipParaInstance::origObjSense, ScipParaInstance::posAggregatedConsNames, ScipParaInstance::posAggregatedVarNames, ScipParaInstance::posConsNames, ScipParaInstance::posVarNames, ScipParaInstance::probName, ScipParaInstance::setppcTypes, ScipParaInstance::sos1Coefs, ScipParaInstance::sos2Coefs, ScipParaInstance::varboundCoef2s, ScipParaInstance::varboundLhss, ScipParaInstance::varboundRhss, ScipParaInstance::varLbs, ScipParaInstance::varNames, ScipParaInstance::varTypes, and ScipParaInstance::varUbs.
|
virtual |
stringfy ParaCalculationState
Implements ParaInstance.
Definition at line 201 of file scipParaInstanceTh.h.
|
protected |
array of non-zero coefficient values of aggregated constrains
Definition at line 174 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::createAggregatedVarsAndConstrainsInSCIP(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::freeMemory(), ScipParaInstance::setAggregatedConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
aggregated cons names: names are concatenated
Definition at line 170 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::createAggregatedVarsAndConstrainsInSCIP(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::setAggregatedConstrains(), ScipParaInstance::setAggregatedConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of lhs and rhs (lhs = rhs)
Definition at line 172 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::createAggregatedVarsAndConstrainsInSCIP(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::freeMemory(), ScipParaInstance::setAggregatedConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
aggregated var names: names are concatenated
Definition at line 166 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::createAggregatedVarsAndConstrainsInSCIP(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::setAggregatedConstrains(), ScipParaInstance::setAggregatedConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of bounds
Definition at line 141 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstance::createBoundDisjunctionConstraintInSCIP(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::setBoundDisjunctionConstraint(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of bound types
Definition at line 140 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstance::createBoundDisjunctionConstraintInSCIP(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::setBoundDisjunctionConstraint(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of capacities(rhs)
Definition at line 117 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createKnapsackConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setKnapsackConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
constraint names : names are concatenated
Definition at line 78 of file scipParaInstance.h.
Referenced by ScipParaInstance::addOrdinaryConstraintName(), ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::createBoundDisjunctionConstraintInSCIP(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createKnapsackConstraintsInSCIP(), ScipParaInstance::createLinearConstraintsInSCIP(), ScipParaInstance::createLogicorConstraintsInSCIP(), ScipParaInstance::createSetppcConstraintsInSCIP(), ScipParaInstance::createSos1ConstraintsInSCIP(), ScipParaInstance::createSos2ConstraintsInSCIP(), ScipParaInstance::createVarboundConstraintsInSCIP(), ScipParaInstance::getConsName(), ScipParaInstance::ScipParaInstance(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
indicate if SCIP copy increase the number of veariables or not
Definition at line 81 of file scipParaInstance.h.
Referenced by ScipParaInstanceTh::bcast(), ScipParaInstanceMpi::copyIncrasedVariables(), ScipParaInstance::copyIncrasedVariables(), ScipParaInstance::createProblem(), ScipParaInstanceMpi::isCopyIncreasedVariables(), ScipParaInstance::isCopyIncreasedVariables(), and ScipParaInstanceMpi::ScipParaInstanceMpi().
|
protected |
array of indices of on-zero coefficient values of aggregated constrains
Definition at line 175 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::createAggregatedVarsAndConstrainsInSCIP(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::freeMemory(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices to consName
Definition at line 137 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstance::createBoundDisjunctionConstraintInSCIP(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::setBoundDisjunctionConstraint(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices of on-zero coefficient values of knapsack constrains
Definition at line 120 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createKnapsackConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setKnapsackConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices to consName
Definition at line 116 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createKnapsackConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setKnapsackConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices of on-zero coefficient values of linear constrains
Definition at line 93 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createLinearConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::getIdxLinearCoefVar(), ScipParaInstance::setAggregatedConstraint(), ScipParaInstance::setLinearConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices to consName
Definition at line 88 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createLinearConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setLinearConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices to consName
Definition at line 108 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createLogicorConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setLogicorConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices of of variables for logicor constrains
Definition at line 110 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createLogicorConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setLogicorConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices to consName
Definition at line 99 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createSetppcConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setSetppcConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices of variables for setppc constrains
Definition at line 102 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createSetppcConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setSetppcConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices of on-zero coefficient values of SOS1 constrains
Definition at line 150 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createSos1ConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setSos1Constraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices to consName
Definition at line 147 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createSos1ConstraintsInSCIP(), ScipParaInstance::setSos1Constraint(), and ScipParaInstance::toString().
|
protected |
array of indices of on-zero coefficient values of SOS2 constrains
Definition at line 159 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createSos2ConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setSos2Constraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices to consName
Definition at line 156 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createSos2ConstraintsInSCIP(), ScipParaInstance::setSos2Constraint(), and ScipParaInstance::toString().
|
protected |
array of indices of variable 1
Definition at line 129 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createVarboundConstraintsInSCIP(), ScipParaInstance::setVarboundConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices of variable 2
Definition at line 131 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createVarboundConstraintsInSCIP(), ScipParaInstance::setVarboundConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of indices to consName
Definition at line 126 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createVarboundConstraintsInSCIP(), ScipParaInstance::setVarboundConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of the number of variables array of indices of variables
Definition at line 139 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstance::createBoundDisjunctionConstraintInSCIP(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::setBoundDisjunctionConstraint(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of non-zero coefficient values of knapsack constrains
Definition at line 119 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createKnapsackConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setKnapsackConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
no need lower bound and upper bound: always free length of aggregatedConsNames area
Definition at line 169 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::setAggregatedConstrains(), ScipParaInstance::setAggregatedConstraint(), and ScipParaInstance::toString().
|
protected |
length of aggregatedVarNames area
Definition at line 165 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::setAggregatedConstrains(), ScipParaInstance::setAggregatedConstraint(), and ScipParaInstance::toString().
|
protected |
length of consNames area
Definition at line 77 of file scipParaInstance.h.
Referenced by ScipParaInstance::addOrdinaryConstraintName(), ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::ScipParaInstance(), and ScipParaInstance::toString().
|
protected |
array of non-zero coefficient values of linear constrains
Definition at line 92 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createLinearConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::getLinearCoefs(), ScipParaInstance::setLinearConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of lhs
Definition at line 89 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createLinearConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::getLhsLinear(), ScipParaInstance::setLinearConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of rhs
Definition at line 90 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createLinearConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::getRhsLinear(), ScipParaInstance::setLinearConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
length of problem name
Definition at line 56 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::bcast(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::ScipParaInstance(), and ScipParaInstance::toString().
|
protected |
length of varNames area
Definition at line 69 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::ScipParaInstance(), ScipParaInstanceMpi::ScipParaInstanceMpi(), and ScipParaInstance::toString().
|
protected |
array of indices to map to original problem's probindices NOTE: these indices are not transferred. Only valid for Initiator object
array of indices to map to original problem's probindices LC does not have this map in general, it is in the transformed prob. in scip
Definition at line 72 of file scipParaInstance.h.
Referenced by ScipParaInstanceTh::bcast(), ScipParaInstance::createProblem(), ScipParaInstance::extractOrigProbIndexMap(), ScipParaInstance::getOrigProbIndex(), ScipParaInstance::getSolValuesForOriginalProblem(), ScipParaInstance::isOriginalIndeciesMap(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of reverse indices mapToOriginalIndecies
Definition at line 74 of file scipParaInstance.h.
Referenced by ScipParaInstanceTh::bcast(), ScipParaInstance::createProblem(), ScipParaInstance::extractSolverLocalIndexMap(), ScipParaInstance::isSolverLocalIndeciesMap(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of number of coefficient values for aggregated constrains
Definition at line 173 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::createAggregatedVarsAndConstrainsInSCIP(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::setAggregatedConstraint(), and ScipParaInstance::toString().
|
protected |
number of aggregated constrains = number of aggregated vars
Definition at line 164 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::createAggregatedVarsAndConstrainsInSCIP(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createProblem(), ScipParaInstance::freeMemory(), ScipParaInstance::setAggregatedConstrains(), ScipParaInstance::setAggregatedConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
number of constraints
Definition at line 76 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::ScipParaInstance(), and ScipParaInstance::toString().
|
protected |
the number of copies in Solver side
Definition at line 58 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::createDatatype1(), ScipParaInstance::createProblem(), and ScipParaInstanceMpi::ScipParaInstanceMpi().
|
protected |
array of number of indices of variables for logicor constrains
Definition at line 109 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createLogicorConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setLogicorConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of numbers of indices of variables for setppc constrains
Definition at line 100 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createSetppcConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setSetppcConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
number of knapsack constrains
Definition at line 115 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createKnapsackConstraintsInSCIP(), ScipParaInstance::createProblem(), ScipParaInstance::freeMemory(), ScipParaInstance::ScipParaInstance(), ScipParaInstance::setKnapsackConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of number of coefficient values for linear constrains
Definition at line 91 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createLinearConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::getNVarsLinear(), ScipParaInstance::setLinearConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
number of linear constrains
Definition at line 87 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createLinearConstraintsInSCIP(), ScipParaInstance::createProblem(), ScipParaInstance::freeMemory(), ScipParaInstance::getNConss(), ScipParaInstance::ScipParaInstance(), ScipParaInstance::setAggregatedConstraint(), ScipParaInstance::setLinearConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of number of coefficient values for knapsack constrains
Definition at line 118 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createKnapsackConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setKnapsackConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
number of logical constrains
Definition at line 107 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createLogicorConstraintsInSCIP(), ScipParaInstance::createProblem(), ScipParaInstance::freeMemory(), ScipParaInstance::ScipParaInstance(), ScipParaInstance::setLogicorConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
number of setppc constrains
Definition at line 98 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createProblem(), ScipParaInstance::createSetppcConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::ScipParaInstance(), ScipParaInstance::setSetppcConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of number of coefficient values for SOS1 constrains
Definition at line 148 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createSos1ConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setSos1Constraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
number of SOS1 constraints
Definition at line 146 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createProblem(), ScipParaInstance::createSos1ConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::ScipParaInstance(), ScipParaInstance::setSos1Constraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of number of coefficient values for SOS2 constrains
Definition at line 157 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createSos2ConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setSos2Constraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
number of SOS1 constraints
Definition at line 155 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createProblem(), ScipParaInstance::createSos2ConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::ScipParaInstance(), ScipParaInstance::setSos2Constraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
number of varbound constrains
Definition at line 125 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createProblem(), ScipParaInstance::createVarboundConstraintsInSCIP(), ScipParaInstance::ScipParaInstance(), ScipParaInstance::setVarboundConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
number of bounddisjunction constrains
Definition at line 136 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstance::createBoundDisjunctionConstraintInSCIP(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createProblem(), ScipParaInstance::ScipParaInstance(), ScipParaInstance::setBoundDisjunctionConstraint(), and ScipParaInstance::~ScipParaInstance().
|
protected |
number of variables
Definition at line 63 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceTh::bcast(), ScipParaInstance::createAggregatedVarsAndConstrainsInSCIP(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createProblem(), ScipParaInstance::getNVars(), ScipParaInstance::ScipParaInstance(), ScipParaInstanceMpi::ScipParaInstanceMpi(), and ScipParaInstance::toString().
|
protected |
Definition at line 138 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstance::createBoundDisjunctionConstraintInSCIP(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::setBoundDisjunctionConstraint(), and ScipParaInstance::~ScipParaInstance().
|
protected |
coefficient values: allocation size = nVars
Definition at line 67 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createProblem(), ScipParaInstance::freeMemory(), ScipParaInstance::getObjCoef(), ScipParaInstance::ScipParaInstance(), ScipParaInstanceMpi::ScipParaInstanceMpi(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
objective offset from bound shifting and fixing
Definition at line 62 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::createDatatype1(), ScipParaInstance::ScipParaInstance(), and ScipParaInstance::toString().
|
protected |
Do not set objScale and objOffset in SCIP scalar applied to objective function; original objective value is extobj = objsense * objscale * (intobj + objoffset)
Definition at line 61 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::createDatatype1(), ScipParaInstance::ScipParaInstance(), and ScipParaInstance::toString().
|
protected |
original scip enverionemt
if LC has the above MAP, variables need to be converted to this scip
Definition at line 54 of file scipParaInstance.h.
Referenced by ScipParaInstance::convertToExternalValue(), ScipParaInstance::convertToInternalValue(), ScipParaInstance::getParaInstanceScip(), ScipParaInstance::getProbName(), ScipParaInstance::getSolValuesForOriginalProblem(), ScipParaInstance::~ScipParaInstance(), and ScipParaInstanceMpi::~ScipParaInstanceMpi().
|
protected |
objective sense : SCIP_OBJSENSE_MAXIMIZE = -1, SCIP_OBJSENSE_MINIMIZE = +1
Definition at line 59 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::createDatatype1(), ScipParaInstance::getOrigObjSense(), ScipParaInstance::ScipParaInstance(), and ScipParaInstance::toString().
|
protected |
scip shared by all solvers
Definition at line 55 of file scipParaInstance.h.
Referenced by ScipParaInstance::convertToExternalValue(), ScipParaInstance::convertToInternalValue(), ScipParaInstance::getParaInstanceScip(), ScipParaInstance::getSolValuesForOriginalProblem(), ScipParaInstance::ScipParaInstance(), ScipParaInstanceMpi::ScipParaInstanceMpi(), and ScipParaInstanceMpi::~ScipParaInstanceMpi().
|
protected |
positions of aggregatedConsNames
Definition at line 171 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::createAggregatedVarsAndConstrainsInSCIP(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::setAggregatedConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
positions of aggregatedVarNames
Definition at line 167 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::createAggregatedVarsAndConstrainsInSCIP(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::setAggregatedConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
positions of consNames
Definition at line 79 of file scipParaInstance.h.
Referenced by ScipParaInstance::addOrdinaryConstraintName(), ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::createBoundDisjunctionConstraintInSCIP(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createKnapsackConstraintsInSCIP(), ScipParaInstance::createLinearConstraintsInSCIP(), ScipParaInstance::createLogicorConstraintsInSCIP(), ScipParaInstance::createSetppcConstraintsInSCIP(), ScipParaInstance::createSos1ConstraintsInSCIP(), ScipParaInstance::createSos2ConstraintsInSCIP(), ScipParaInstance::createVarboundConstraintsInSCIP(), ScipParaInstance::getConsName(), ScipParaInstance::ScipParaInstance(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
positions of varNames
Definition at line 71 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createProblem(), ScipParaInstance::freeMemory(), ScipParaInstance::getVarName(), ScipParaInstance::ScipParaInstance(), ScipParaInstanceMpi::ScipParaInstanceMpi(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
problem name
Definition at line 57 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::bcast(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createProblem(), ScipParaInstance::getProbName(), ScipParaInstance::ScipParaInstance(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
Definition at line 56 of file scipParaInstanceTh.h.
Referenced by ScipParaInstanceTh::bcast(), ScipParaInstance::convertToExternalValue(), ScipParaInstance::convertToInternalValue(), ScipParaInstance::copyScipEnvironment(), ScipParaInstance::createAggregatedVarsAndConstrainsInSCIP(), ScipParaInstance::createBoundDisjunctionConstraintInSCIP(), ScipParaInstance::createKnapsackConstraintsInSCIP(), ScipParaInstance::createLinearConstraintsInSCIP(), ScipParaInstance::createLogicorConstraintsInSCIP(), ScipParaInstance::createProblem(), ScipParaInstance::createSetppcConstraintsInSCIP(), ScipParaInstance::createSos1ConstraintsInSCIP(), ScipParaInstance::createSos2ConstraintsInSCIP(), ScipParaInstance::createVarboundConstraintsInSCIP(), ScipParaInstance::getActiveVariables(), ScipParaInstance::getConsName(), ScipParaInstance::getIdxLinearCoefVar(), ScipParaInstance::getLhsLinear(), ScipParaInstance::getLinearCoefs(), ScipParaInstance::getNConss(), ScipParaInstance::getNVarsLinear(), ScipParaInstance::getObjCoef(), ScipParaInstance::getOrigObjSense(), ScipParaInstance::getParaInstanceScip(), ScipParaInstance::getProbName(), ScipParaInstance::getRhsLinear(), ScipParaInstance::getScip(), ScipParaInstance::getSolValuesForOriginalProblem(), ScipParaInstance::getVarLb(), ScipParaInstance::getVarName(), ScipParaInstance::getVarType(), ScipParaInstance::getVarUb(), ScipParaInstance::ScipParaInstance(), ScipParaInstanceMpi::ScipParaInstanceMpi(), ScipParaInstanceTh::ScipParaInstanceTh(), ScipParaInstance::setAggregatedConstrains(), ScipParaInstance::setBoundDisjunctionConstraint(), ScipParaInstance::setKnapsackConstraint(), ScipParaInstance::setLinearConstraint(), ScipParaInstance::setLogicorConstraint(), ScipParaInstance::setSetppcConstraint(), ScipParaInstance::setSos1Constraint(), ScipParaInstance::setSos2Constraint(), ScipParaInstance::setVarboundConstraint(), and ScipParaInstance::~ScipParaInstance().
|
protected |
setppc Types
Definition at line 101 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createSetppcConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setSetppcConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of non-zero coefficient values of SOS1 constrains
Definition at line 149 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createSos1ConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setSos1Constraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of non-zero coefficient values of SOS2 constrains
Definition at line 158 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype3(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype3(), ScipParaInstance::createSos2ConstraintsInSCIP(), ScipParaInstance::freeMemory(), ScipParaInstance::setSos2Constraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
user plugins
Definition at line 177 of file scipParaInstance.h.
Referenced by ScipParaInstance::includeUserPlugins(), ScipParaInstance::setUserPlugins(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of coefficient of variable 2
Definition at line 130 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createVarboundConstraintsInSCIP(), ScipParaInstance::setVarboundConstraint(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of lhs
Definition at line 127 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createVarboundConstraintsInSCIP(), ScipParaInstance::setVarboundConstraint(), and ScipParaInstance::toString().
|
protected |
array of rhs
Definition at line 128 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstance::allocateMemoryForOrdinaryConstraints(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createVarboundConstraintsInSCIP(), ScipParaInstance::setVarboundConstraint(), and ScipParaInstance::toString().
|
protected |
index ragne of variables
Definition at line 64 of file scipParaInstance.h.
Referenced by ScipParaInstanceTh::bcast(), ScipParaInstanceMpi::createDatatype1(), ScipParaInstance::createProblem(), ScipParaInstance::getSolValuesForOriginalProblem(), ScipParaInstance::getVarIndexRange(), ScipParaInstanceMpi::getVarIndexRange(), ScipParaInstance::ScipParaInstance(), and ScipParaInstanceMpi::ScipParaInstanceMpi().
|
protected |
array of current lower bound of variable
Definition at line 65 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createProblem(), ScipParaInstance::freeMemory(), ScipParaInstance::getVarLb(), ScipParaInstance::ScipParaInstance(), ScipParaInstanceMpi::ScipParaInstanceMpi(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
variable names : names are concatenated
Definition at line 70 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createProblem(), ScipParaInstance::getVarName(), ScipParaInstance::ScipParaInstance(), ScipParaInstanceMpi::ScipParaInstanceMpi(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of variable type
Definition at line 68 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createProblem(), ScipParaInstance::freeMemory(), ScipParaInstance::getVarType(), ScipParaInstance::ScipParaInstance(), ScipParaInstanceMpi::ScipParaInstanceMpi(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().
|
protected |
array of current upper bound of variable
Definition at line 66 of file scipParaInstance.h.
Referenced by ScipParaInstanceMpi::allocateMemoryForDatatype2(), ScipParaInstanceMpi::createDatatype2(), ScipParaInstance::createProblem(), ScipParaInstance::freeMemory(), ScipParaInstance::getVarUb(), ScipParaInstance::ScipParaInstance(), ScipParaInstanceMpi::ScipParaInstanceMpi(), ScipParaInstance::toString(), and ScipParaInstance::~ScipParaInstance().