37#ifndef __SCIP_PARA_INSTANCE_H__
38#define __SCIP_PARA_INSTANCE_H__
40#if defined(_COMM_MPI_WORLD)
201 SCIP_Real *constant, SCIP_Bool transformed );
203 SCIP_VAR*** aggregatedVars, SCIP_HASHTABLE** varAggregated );
207 const char* constName,
217 SCIP_VAR** aggregatedVars
310 for(
int i = 0; i < sol->
getNVars(); i++ )
345 bool noPreprocessingInLC,
346 bool usetRootNodeCuts,
349 char *settingsNameLC,
406 (*userPlugins)(inScip);
449#if defined(_COMM_PTH)
Base class for instance data.
int * nVarsBoundDisjunction
double convertToInternalValue(double externalValue)
SCIP_Real * varboundCoef2s
bool isSolverLocalIndeciesMap()
int ** idxAggregatedCoefsVars
const std::string toString()
int * idxBoundDisjunctionConsNames
void setLinearConstraint(SCIP *scip, int c, SCIP_CONS *cons)
SCIP * getParaInstanceScip()
virtual void setFileName(const char *fileName)=0
bool addRootNodeCuts(SCIP *scip, ScipDiffParamSet *scipDiffParamSetRoot)
SCIP_Longint ** knapsackCoefs
void setSos2Constraint(SCIP *scip, int c, SCIP_CONS *cons, SCIP_CONS **consSOS2)
const char * getVarName(int i)
void setAggregatedConstrains(SCIP *scip, int nvars, int nAggregatedVars, SCIP_VAR **aggregatedVars)
SCIP_Real * getLinearCoefs(int i)
int * extractOrigProbIndexMap()
char * aggregatedConsNames
void createVarboundConstraintsInSCIP(SCIP *scip)
const char * getConsName(int i)
int ** idxLinearCoefsVars
int * mapToSolverLocalIndecies
void setAggregatedConstraint(SCIP *scip, int c, const char *constName, SCIP_VAR **vars, SCIP_Real *vals, int nvars, SCIP_Real lhsAndrhs)
void setSos1Constraint(SCIP *scip, int c, SCIP_CONS *cons, SCIP_CONS **consSOS1)
SCIP_Real getVarLb(int i)
void getSolValuesForOriginalProblem(ScipParaSolution *sol, SCIP_Real *vals)
int * posAggregatedVarNames
virtual const char * getFileName()=0
void createSetppcConstraintsInSCIP(SCIP *scip)
int * idxLogicorConsNames
int * idxKnapsackConsNames
virtual bool isCopyIncreasedVariables()=0
int getOrigProbIndex(int index)
void createLinearConstraintsInSCIP(SCIP *scip)
void addOrdinaryConstraintName(int c, SCIP_CONS *cons)
SCIP_BOUNDTYPE ** boundTypesBoundDisjunction
int * extractSolverLocalIndexMap()
SCIP_Real ** boundsBoundDisjunction
double convertToExternalValue(double internalValue)
void setSetppcConstraint(SCIP *scip, int c, SCIP_CONS *cons)
ScipUserPlugins * userPlugins
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 createSos1ConstraintsInSCIP(SCIP *scip)
int getNVarsLinear(int i)
bool copyIncreasedVariables
const char * getProbName()
void allocateMemoryForOrdinaryConstraints()
void setKnapsackConstraint(SCIP *scip, int c, SCIP_CONS *cons)
void setBoundDisjunctionConstraint(SCIP *scip, int c, SCIP_CONS *cons)
int * posAggregatedConsNames
void createSos2ConstraintsInSCIP(SCIP *scip)
int * idxVarboundConsNames
void setUserPlugins(ScipUserPlugins *inUi)
void createBoundDisjunctionConstraintInSCIP(SCIP *scip)
void setVarboundConstraint(SCIP *scip, int c, SCIP_CONS *cons)
SCIP_Real getObjCoef(int i)
int * idxVarboundCoefVar1s
int ** idxKnapsackCoefsVars
SCIP_Real getRhsLinear(int i)
char * aggregatedVarNames
int nVarBoundDisjunctionConss
SCIP_Real getVarUb(int i)
virtual void copyIncrasedVariables()=0
SCIP_Real getLhsLinear(int i)
void setLogicorConstraint(SCIP *scip, int c, SCIP_CONS *cons)
int * mapToOriginalIndecies
SCIP_Longint * capacities
SCIP_Real * aggregatedLhsAndLhss
void createProblem(SCIP *scip, int method, bool noPreprocessingInLC, bool usetRootNodeCuts, ScipDiffParamSet *scipDiffParamSetRoot, ScipDiffParamSet *scipDiffParamSet, char *settingsNameLC, char *isolname)
int ** idxVarBoundDisjunction
int * idxVarboundCoefVar2s
bool isOriginalIndeciesMap()
void createLogicorConstraintsInSCIP(SCIP *scip)
void createKnapsackConstraintsInSCIP(SCIP *scip)
void createAggregatedVarsAndConstrainsInSCIP(SCIP *scip)
int getIdxLinearCoefVar(int i, int j)
virtual ~ScipParaInstance()
void includeUserPlugins(SCIP *inScip)
SCIP_Real ** aggregatedCoefs
int indexAmongSolvers(int index)
Defines for UG Framework.
#define THROW_LOGICAL_ERROR1(msg1)
SCIP parameter set to be transferred ( Only keep difference between default settings ).
ScipParaInstance extension for MPI communication.
ScipParaInstance extension for threads communication.
ParaSolution extension for SCIP solver.