main problem to solve
Definition at line 39 of file struct_prob.h.
#include <struct_prob.h>
Public Member Functions | |
SCIP_DECL_PROBCOPY ((*probcopy)) | |
SCIP_DECL_PROBDELORIG ((*probdelorig)) | |
SCIP_DECL_PROBTRANS ((*probtrans)) | |
SCIP_DECL_PROBDELTRANS ((*probdeltrans)) | |
SCIP_DECL_PROBINITSOL ((*probinitsol)) | |
SCIP_DECL_PROBEXITSOL ((*probexitsol)) | |
Data Fields | |
SCIP_Real | objoffset |
SCIP_Real | objscale |
SCIP_Real | objlim |
SCIP_Real | dualbound |
char * | name |
SCIP_PROBDATA * | probdata |
SCIP_HASHTABLE * | varnames |
SCIP_VAR ** | vars |
SCIP_VAR ** | fixedvars |
SCIP_VAR ** | deletedvars |
SCIP_HASHTABLE * | consnames |
SCIP_CONS ** | conss |
int | varssize |
int | nvars |
int | nbinvars |
int | nintvars |
int | nimplvars |
int | ncontvars |
int | ncolvars |
int | fixedvarssize |
int | nfixedvars |
int | deletedvarssize |
int | ndeletedvars |
int | nobjvars |
int | consssize |
int | nconss |
int | maxnconss |
int | startnvars |
int | startnconss |
SCIP_OBJSENSE | objsense |
SCIP_Bool | objisintegral |
SCIP_Bool | transformed |
SCIP_Bool | nlpenabled |
SCIP_Bool | permuted |
SCIP_Bool | conscompression |
SCIP_Prob::SCIP_DECL_PROBCOPY | ( | * | probcopy | ) |
copies user data if you want to copy it to a subscip, or NULL
SCIP_Prob::SCIP_DECL_PROBDELORIG | ( | * | probdelorig | ) |
frees user data of original problem
SCIP_Prob::SCIP_DECL_PROBTRANS | ( | * | probtrans | ) |
creates user data of transformed problem by transforming original user data
SCIP_Prob::SCIP_DECL_PROBDELTRANS | ( | * | probdeltrans | ) |
frees user data of transformed problem
SCIP_Prob::SCIP_DECL_PROBINITSOL | ( | * | probinitsol | ) |
solving process initialization method of transformed data
SCIP_Prob::SCIP_DECL_PROBEXITSOL | ( | * | probexitsol | ) |
solving process deinitialization method of transformed data
SCIP_Real SCIP_Prob::objoffset |
objective offset from bound shifting and fixing (fixed vars result)
Definition at line 41 of file struct_prob.h.
Referenced by SCIPaddOrigObjoffset(), SCIPchgReoptObjective(), SCIPgetOrigObjoffset(), SCIPgetTransObjoffset(), SCIPisObjIntegral(), SCIPprobAddObjoffset(), SCIPprobCheckObjIntegral(), SCIPprobExternObjval(), SCIPprobGetObjoffset(), SCIPprobInternObjval(), SCIPprobScaleObj(), SCIPreaderWrite(), SCIPsolCreateOriginal(), SCIPsolRetransform(), and SCIPwriteMIP().
SCIP_Real SCIP_Prob::objscale |
scalar applied to objective function; external objective value is extobj = objsense * objscale * (intobj + objoffset)
Definition at line 42 of file struct_prob.h.
Referenced by freeReoptSolve(), SCIPchgReoptObjective(), SCIPgetOrigObjscale(), SCIPgetTransObjscale(), SCIPpresolve(), SCIPprobExternObjval(), SCIPprobGetObjscale(), SCIPprobInternObjval(), SCIPprobScaleObj(), SCIPreaderWrite(), SCIPvarAddObj(), SCIPvarChgObj(), and SCIPwriteMIP().
SCIP_Real SCIP_Prob::objlim |
objective limit as external value (original problem space)
Definition at line 44 of file struct_prob.h.
Referenced by SCIPprobGetObjlim(), SCIPprobSetObjlim(), and SCIPprobTransform().
SCIP_Real SCIP_Prob::dualbound |
dual bound as external value (original problem space) which is given or update during presolving
Definition at line 45 of file struct_prob.h.
Referenced by exitPresolve(), getDualbound(), initSolve(), SCIPprobInvalidateDualbound(), SCIPprobSetDualbound(), SCIPprobTransform(), and SCIPprobUpdateDualbound().
char* SCIP_Prob::name |
problem name
Definition at line 46 of file struct_prob.h.
Referenced by SCIPprobGetName(), SCIPprobPrintStatistics(), SCIPprobSetName(), SCIPprobTransform(), and SCIPreaderWrite().
SCIP_PROBDATA* SCIP_Prob::probdata |
user problem data set by the reader
Definition at line 53 of file struct_prob.h.
Referenced by SCIPprobCopy(), SCIPprobExitSolve(), SCIPprobGetData(), SCIPprobInitSolve(), SCIPprobSetData(), SCIPprobTransform(), and SCIPreaderWrite().
SCIP_HASHTABLE* SCIP_Prob::varnames |
hash table storing variable's names
Definition at line 54 of file struct_prob.h.
Referenced by SCIPprobAddVarName(), SCIPprobFindVar(), and SCIPprobRemoveVarName().
SCIP_VAR** SCIP_Prob::vars |
array with active variables ordered binary, integer, implicit, continuous
Definition at line 55 of file struct_prob.h.
Referenced by applyMIR(), checkSolOrig(), conflictAnalyzeLP(), conflictAnalyzeRemainingBdchgs(), cutsCleanupMIRRow(), cutsRoundMIRRow(), cutsRoundStrongCGRow(), cutsTransformMIRRow(), cutsTransformStrongCGRow(), focusnodeCleanupVars(), freeTransform(), getFarkasProof(), getMIRMinActivity(), getMIRRowActivity(), initLP(), initSolve(), performDualRayAnalysis(), prepareReoptimization(), probEnsureVarsMem(), probInsertVar(), probRemoveVar(), readSolFile(), readXmlSolFile(), recomputeGlbPseudoObjectiveValue(), recomputeLooseObjectiveValue(), recomputePseudoObjectiveValue(), SCIPbranchcandGetPseudoCands(), SCIPcheckReoptRestart(), SCIPchgReoptObjective(), SCIPconflictAnalyzePseudo(), SCIPconflictInit(), SCIPendDive(), SCIPgetOrigVars(), SCIPgetOrigVarsData(), SCIPgetReoptSimilarity(), SCIPgetSolVarsData(), SCIPgetVars(), SCIPgetVarsData(), SCIPisObjIntegral(), SCIPlpRecomputeLocalAndGlobalPseudoObjval(), SCIPpricestoreAddProbVars(), SCIPprimalTransformSol(), SCIPprintBranchingStatistics(), SCIPprobCheckObjIntegral(), SCIPprobExitSolve(), SCIPprobGetNImplBinVars(), SCIPprobGetNObjVars(), SCIPprobGetVars(), SCIPprobInitSolve(), SCIPprobPrintPseudoSol(), SCIPprobResetBounds(), SCIPprobResortVars(), SCIPprobScaleObj(), SCIPprobStoreRootSol(), SCIPprobTransform(), SCIPprobUpdateBestRootSol(), SCIPreaderWrite(), SCIPsolCheck(), SCIPsolPrint(), SCIPsolPrintRay(), SCIPsolRecomputeObj(), SCIPsolRetransform(), SCIPsolRound(), SCIPsolsAreEqual(), SCIPsolUnlink(), SCIPsolUpdateVarsum(), SCIPsolve(), solveNode(), solveNodeRelax(), undoBdchgsDualsol(), undoBdchgsProof(), and updatePrimalRay().
SCIP_VAR** SCIP_Prob::fixedvars |
array with fixed and aggregated variables
Definition at line 56 of file struct_prob.h.
Referenced by probEnsureFixedvarsMem(), SCIPgetFixedVars(), SCIPprobVarChangedStatus(), SCIPreaderWrite(), SCIPsolPrint(), and SCIPsolPrintRay().
SCIP_VAR** SCIP_Prob::deletedvars |
array to temporarily store deleted variables
Definition at line 57 of file struct_prob.h.
Referenced by probEnsureDeletedvarsMem(), SCIPprobDelVar(), and SCIPprobPerformVarDeletions().
SCIP_HASHTABLE* SCIP_Prob::consnames |
hash table storing constraints' names
Definition at line 58 of file struct_prob.h.
Referenced by SCIPprobAddConsName(), SCIPprobFindCons(), and SCIPprobRemoveConsName().
SCIP_CONS** SCIP_Prob::conss |
array with constraints of the problem
Definition at line 59 of file struct_prob.h.
Referenced by checkSolOrig(), printDualSol(), probEnsureConssMem(), SCIPgetConss(), SCIPgetOrigConss(), SCIPisDualSolAvailable(), SCIPpermuteProb(), SCIPprobAddCons(), SCIPprobDelCons(), SCIPprobInitSolve(), SCIPprobTransform(), SCIPreaderWrite(), SCIPreadProb(), and SCIPreoptSaveActiveConss().
int SCIP_Prob::varssize |
available slots in vars array
Definition at line 60 of file struct_prob.h.
Referenced by probEnsureVarsMem(), and probInsertVar().
int SCIP_Prob::nvars |
number of active variables in the problem (used slots in vars array)
Definition at line 61 of file struct_prob.h.
Referenced by applyMIR(), checkSolOrig(), conflictAnalyzeLP(), conflictAnalyzeRemainingBdchgs(), conflictCalcMaxsize(), createAndAddDualray(), cutsApplyMIR(), cutsLpCalcMIR(), cutsLpCalcStrongCG(), cutsRoundStrongCGRow(), cutsSumMIRRow(), cutsSumStrongCGRow(), cutsTransformMIRRow(), cutsTransformStrongCGRow(), focusnodeCleanupVars(), freeTransform(), getFarkasProof(), initLP(), initPresolve(), initSolve(), performDualRayAnalysis(), prepareReoptimization(), probInsertVar(), probRemoveVar(), readSolFile(), readXmlSolFile(), recomputeGlbPseudoObjectiveValue(), recomputeLooseObjectiveValue(), recomputePseudoObjectiveValue(), SCIPcheckReoptRestart(), SCIPchgReoptObjective(), SCIPconflictAnalyzePseudo(), SCIPconflictInit(), SCIPendDive(), SCIPgetAvgConflictScore(), SCIPgetAvgConflictScoreCurrentRun(), SCIPgetNOrigVars(), SCIPgetNVars(), SCIPgetOrigVarsData(), SCIPgetReoptSimilarity(), SCIPgetSolVarsData(), SCIPgetVarsData(), SCIPisDualSolAvailable(), SCIPisObjIntegral(), SCIPisPresolveFinished(), SCIPlpRecomputeLocalAndGlobalPseudoObjval(), SCIPlpSolveAndEval(), SCIPlpSumRows(), SCIPpresolve(), SCIPpricerFarkas(), SCIPpricerRedcost(), SCIPpricestoreAddProbVars(), SCIPprimalTransformSol(), SCIPprintBranchingStatistics(), SCIPprobAddVar(), SCIPprobAllColsInLP(), SCIPprobCheckObjIntegral(), SCIPprobDelVar(), SCIPprobExitSolve(), SCIPprobGetNObjVars(), SCIPprobGetNVars(), SCIPprobInitSolve(), SCIPprobMarkNConss(), SCIPprobPrintPseudoSol(), SCIPprobPrintStatistics(), SCIPprobResetBounds(), SCIPprobResortVars(), SCIPprobScaleObj(), SCIPprobStoreRootSol(), SCIPprobTransform(), SCIPprobUpdateBestRootSol(), SCIPprobVarChangedStatus(), SCIPreaderWrite(), SCIPreadProb(), SCIPsolCheck(), SCIPsolPrint(), SCIPsolPrintRay(), SCIPsolRecomputeObj(), SCIPsolRetransform(), SCIPsolsAreEqual(), SCIPsolUnlink(), SCIPsolUpdateVarsum(), SCIPsolve(), SCIPsolveCIP(), SCIPtransformProb(), solveNode(), solveNodeRelax(), transformSols(), undoBdchgsDualsol(), undoBdchgsProof(), and updatePrimalRay().
int SCIP_Prob::nbinvars |
number of binary variables
Definition at line 62 of file struct_prob.h.
Referenced by probInsertVar(), probRemoveVar(), SCIPbranchcandGetPseudoCands(), SCIPgetAvgPseudocostCount(), SCIPgetAvgPseudocostCountCurrentRun(), SCIPgetNBinVars(), SCIPgetNOrigBinVars(), SCIPgetOrigVarsData(), SCIPgetSolVarsData(), SCIPgetVarsData(), SCIPisPresolveFinished(), SCIPpresolve(), SCIPprobAddVar(), SCIPprobDelVar(), SCIPprobGetNBinVars(), SCIPprobGetNImplBinVars(), SCIPprobPrintStatistics(), SCIPprobResortVars(), SCIPprobStoreRootSol(), SCIPreaderWrite(), SCIPreadProb(), SCIPsolRound(), and SCIPtransformProb().
int SCIP_Prob::nintvars |
number of general integer variables
Definition at line 63 of file struct_prob.h.
Referenced by compressReoptTree(), probInsertVar(), probRemoveVar(), SCIPbranchcandGetPseudoCands(), SCIPgetAvgPseudocostCount(), SCIPgetAvgPseudocostCountCurrentRun(), SCIPgetNIntVars(), SCIPgetNOrigIntVars(), SCIPgetOrigVarsData(), SCIPgetSolVarsData(), SCIPgetVarsData(), SCIPpresolve(), SCIPprobAddVar(), SCIPprobDelVar(), SCIPprobGetNImplBinVars(), SCIPprobGetNIntVars(), SCIPprobPrintStatistics(), SCIPprobResortVars(), SCIPprobStoreRootSol(), SCIPreaderWrite(), SCIPreadProb(), SCIPsolRound(), and SCIPtransformProb().
int SCIP_Prob::nimplvars |
number of implicit integer variables
Definition at line 64 of file struct_prob.h.
Referenced by compressReoptTree(), probInsertVar(), probRemoveVar(), SCIPbranchcandGetPseudoCands(), SCIPgetNImplVars(), SCIPgetNOrigImplVars(), SCIPgetOrigVarsData(), SCIPgetSolVarsData(), SCIPgetVarsData(), SCIPpresolve(), SCIPprobAddVar(), SCIPprobDelVar(), SCIPprobGetNImplBinVars(), SCIPprobGetNImplVars(), SCIPprobPrintStatistics(), SCIPprobResortVars(), SCIPprobStoreRootSol(), SCIPreaderWrite(), SCIPreadProb(), and SCIPtransformProb().
int SCIP_Prob::ncontvars |
number of continuous variables
Definition at line 65 of file struct_prob.h.
Referenced by conflictCalcMaxsize(), cutsRoundStrongCGRow(), probInsertVar(), probRemoveVar(), propAndSolve(), SCIPgetNContVars(), SCIPgetNOrigContVars(), SCIPgetOrigVarsData(), SCIPgetSolVarsData(), SCIPgetVarsData(), SCIPisDualSolAvailable(), SCIPpresolve(), SCIPprobAddVar(), SCIPprobDelVar(), SCIPprobGetNContVars(), SCIPprobPrintStatistics(), SCIPprobResortVars(), SCIPprobScaleObj(), SCIPreaderWrite(), SCIPreadProb(), SCIPsolveCIP(), SCIPtransformProb(), and solveNode().
int SCIP_Prob::ncolvars |
number of variables with attached column information
Definition at line 66 of file struct_prob.h.
Referenced by priceAndCutLoop(), probInsertVar(), probRemoveVar(), SCIPpriceLoop(), SCIPpricestoreAddProbVars(), SCIPprobAllColsInLP(), SCIPprobExitSolve(), SCIPprobVarChangedStatus(), and solveNodeLP().
int SCIP_Prob::fixedvarssize |
available slots in fixedvars array
Definition at line 67 of file struct_prob.h.
Referenced by probEnsureFixedvarsMem().
int SCIP_Prob::nfixedvars |
number of fixed and aggregated variables in the problem
Definition at line 68 of file struct_prob.h.
Referenced by SCIPgetNFixedVars(), SCIPprobResetBounds(), SCIPprobVarChangedStatus(), SCIPreaderWrite(), SCIPsolPrint(), and SCIPsolPrintRay().
int SCIP_Prob::deletedvarssize |
available slots in deletedvars array
Definition at line 69 of file struct_prob.h.
Referenced by probEnsureDeletedvarsMem().
int SCIP_Prob::ndeletedvars |
number of deleted variables in the problem
Definition at line 70 of file struct_prob.h.
Referenced by SCIPprobDelVar(), and SCIPprobPerformVarDeletions().
int SCIP_Prob::nobjvars |
number of variables with a non-zero objective coefficient
Definition at line 71 of file struct_prob.h.
Referenced by SCIPprobGetNObjVars(), SCIPprobInitSolve(), and SCIPprobUpdateNObjVars().
int SCIP_Prob::consssize |
available slots in conss array
Definition at line 72 of file struct_prob.h.
Referenced by probEnsureConssMem().
int SCIP_Prob::nconss |
number of constraints in the problem (number of used slots in conss array)
Definition at line 73 of file struct_prob.h.
Referenced by checkSolOrig(), printDualSol(), SCIPgetNConss(), SCIPgetNOrigConss(), SCIPisDualSolAvailable(), SCIPisPresolveFinished(), SCIPpermuteProb(), SCIPpresolve(), SCIPprobAddCons(), SCIPprobDelCons(), SCIPprobGetNConss(), SCIPprobInitSolve(), SCIPprobMarkNConss(), SCIPreaderWrite(), SCIPreadProb(), SCIPreoptSaveActiveConss(), and SCIPtransformProb().
int SCIP_Prob::maxnconss |
maximum number of constraints existing at the same time
Definition at line 74 of file struct_prob.h.
Referenced by SCIPprobAddCons(), SCIPprobMarkNConss(), SCIPprobPrintStatistics(), and SCIPreaderWrite().
int SCIP_Prob::startnvars |
number of variables existing when problem solving started
Definition at line 75 of file struct_prob.h.
Referenced by SCIPprobMarkNConss(), and SCIPreaderWrite().
int SCIP_Prob::startnconss |
number of constraints existing when problem solving started
Definition at line 76 of file struct_prob.h.
Referenced by SCIPprobMarkNConss(), SCIPprobPrintStatistics(), and SCIPreaderWrite().
SCIP_OBJSENSE SCIP_Prob::objsense |
objective sense of the original problem
Definition at line 77 of file struct_prob.h.
Referenced by SCIPchgReoptObjective(), SCIPgetObjsense(), SCIPprobExternObjval(), SCIPprobGetObjlim(), SCIPprobInternObjval(), SCIPprobPrintStatistics(), SCIPprobSetObjsense(), SCIPprobTransform(), SCIPprobUpdateDualbound(), SCIPreaderWrite(), SCIPtransformVar(), SCIPtransformVars(), SCIPvarAddObj(), SCIPvarChgObj(), and SCIPwriteMIP().
SCIP_Bool SCIP_Prob::objisintegral |
is objective value always integral for feasible solutions?
Definition at line 78 of file struct_prob.h.
Referenced by freeReoptSolve(), SCIPchgReoptObjective(), SCIPprobAddVar(), SCIPprobCheckObjIntegral(), SCIPprobIsObjIntegral(), SCIPprobScaleObj(), SCIPprobSetObjIntegral(), and SCIPprobTransform().
SCIP_Bool SCIP_Prob::transformed |
TRUE iff problem is the transformed problem
Definition at line 79 of file struct_prob.h.
Referenced by probInsertVar(), SCIPprobAddCons(), SCIPprobAddObjoffset(), SCIPprobAddVar(), SCIPprobDelCons(), SCIPprobDelVar(), SCIPprobExitSolve(), SCIPprobExternObjval(), SCIPprobGetNObjVars(), SCIPprobInitSolve(), SCIPprobInternObjval(), SCIPprobIsTransformed(), SCIPprobPerformVarDeletions(), SCIPprobPrintStatistics(), SCIPprobStoreRootSol(), SCIPprobUpdateBestRootSol(), SCIPprobUpdateNObjVars(), SCIPreaderWrite(), SCIPsolPrint(), SCIPsolPrintRay(), SCIPsolRetransform(), and SCIPsolRound().
SCIP_Bool SCIP_Prob::nlpenabled |
marks whether an NLP relaxation should be constructed
Definition at line 80 of file struct_prob.h.
Referenced by freeReoptSolve(), freeSolve(), initSolve(), SCIPenableNLP(), SCIPisNLPEnabled(), and SCIPprobTransform().
SCIP_Bool SCIP_Prob::permuted |
TRUE iff the problem is already permuted
Definition at line 81 of file struct_prob.h.
Referenced by SCIPprobIsPermuted(), SCIPprobMarkPermuted(), and SCIPprobTransform().
SCIP_Bool SCIP_Prob::conscompression |
TRUE for problems for which constraint compression on a set of fixed variables is desired
Definition at line 82 of file struct_prob.h.
Referenced by SCIPprobEnableConsCompression(), and SCIPprobIsConsCompressionEnabled().