Scippy

SCIP

Solving Constraint Integer Programs

SCIP_Prob Struct Reference

Detailed Description

main problem to solve

Definition at line 48 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_PROBDATAprobdata
 
SCIP_HASHTABLEvarnames
 
SCIP_VAR ** vars
 
SCIP_VAR ** fixedvars
 
SCIP_VAR ** deletedvars
 
SCIP_HASHTABLEconsnames
 
SCIP_CONS ** conss
 
SCIP_CONS ** origcheckconss
 
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 consschecksorted
 
SCIP_Bool conscompression
 

Member Function Documentation

◆ SCIP_DECL_PROBCOPY()

SCIP_Prob::SCIP_DECL_PROBCOPY ( probcopy)

copies user data if you want to copy it to a subscip, or NULL

◆ SCIP_DECL_PROBDELORIG()

SCIP_Prob::SCIP_DECL_PROBDELORIG ( probdelorig)

frees user data of original problem

◆ SCIP_DECL_PROBTRANS()

SCIP_Prob::SCIP_DECL_PROBTRANS ( probtrans)

creates user data of transformed problem by transforming original user data

◆ SCIP_DECL_PROBDELTRANS()

SCIP_Prob::SCIP_DECL_PROBDELTRANS ( probdeltrans)

frees user data of transformed problem

◆ SCIP_DECL_PROBINITSOL()

SCIP_Prob::SCIP_DECL_PROBINITSOL ( probinitsol)

solving process initialization method of transformed data

◆ SCIP_DECL_PROBEXITSOL()

SCIP_Prob::SCIP_DECL_PROBEXITSOL ( probexitsol)

solving process deinitialization method of transformed data

Field Documentation

◆ objoffset

◆ objscale

SCIP_Real SCIP_Prob::objscale

scalar applied to objective function; external objective value is extobj = objsense * objscale * (intobj + objoffset)

Definition at line 51 of file struct_prob.h.

Referenced by SCIPchgReoptObjective(), SCIPgetOrigObjscale(), SCIPgetTransObjscale(), SCIPpresolve(), SCIPprobExternObjval(), SCIPprobGetObjscale(), SCIPprobInternObjval(), SCIPprobScaleObj(), SCIPreaderWrite(), SCIPvarAddObj(), SCIPvarChgObj(), and SCIPwriteMIP().

◆ objlim

SCIP_Real SCIP_Prob::objlim

objective limit as external value (original problem space)

Definition at line 53 of file struct_prob.h.

Referenced by SCIPprobGetObjlim(), SCIPprobSetObjlim(), and SCIPprobTransform().

◆ dualbound

SCIP_Real SCIP_Prob::dualbound

dual bound as external value (original problem space) which is given or update during presolving

Definition at line 54 of file struct_prob.h.

Referenced by exitPresolve(), initSolve(), SCIPgetDualbound(), SCIPprobInvalidateDualbound(), SCIPprobSetDualbound(), SCIPprobTransform(), and SCIPprobUpdateDualbound().

◆ name

char* SCIP_Prob::name

◆ probdata

SCIP_PROBDATA* SCIP_Prob::probdata

user problem data set by the reader

Definition at line 62 of file struct_prob.h.

Referenced by SCIPprobCopy(), SCIPprobExitSolve(), SCIPprobGetData(), SCIPprobInitSolve(), SCIPprobSetData(), SCIPprobTransform(), and SCIPreaderWrite().

◆ varnames

SCIP_HASHTABLE* SCIP_Prob::varnames

hash table storing variable's names

Definition at line 63 of file struct_prob.h.

Referenced by SCIPprobAddVarName(), SCIPprobFindVar(), and SCIPprobRemoveVarName().

◆ vars

SCIP_VAR** SCIP_Prob::vars

array with active variables ordered binary, integer, implicit, continuous

Definition at line 64 of file struct_prob.h.

Referenced by conflictAnalyzeLP(), focusnodeCleanupVars(), initLP(), initSolve(), prepareReoptimization(), probEnsureVarsMem(), probInsertVar(), probRemoveVar(), readSolFile(), readXmlSolFile(), recomputeGlbPseudoObjectiveValue(), recomputeLooseObjectiveValue(), recomputePseudoObjectiveValue(), SCIPbranchcandGetPseudoCands(), SCIPcheckReoptRestart(), SCIPchgReoptObjective(), SCIPconflictAnalyzePseudo(), SCIPconflictAnalyzeRemainingBdchgs(), SCIPconflictInit(), SCIPendDive(), SCIPgetOrigVars(), SCIPgetOrigVarsData(), SCIPgetReoptSimilarity(), SCIPgetSolVarsData(), SCIPgetVars(), SCIPgetVarsData(), SCIPisObjIntegral(), SCIPlpRecomputeLocalAndGlobalPseudoObjval(), SCIPpricestoreAddProbVars(), SCIPprimalTransformSol(), SCIPprintBranchingStatistics(), SCIPprobCheckObjIntegral(), SCIPprobExitSolve(), SCIPprobGetAbsMaxObjCoef(), SCIPprobGetAbsMinObjCoef(), SCIPprobGetNImplBinVars(), SCIPprobGetNObjVars(), SCIPprobGetVars(), SCIPprobInitSolve(), SCIPprobPrintPseudoSol(), SCIPprobResetBounds(), SCIPprobResortVars(), SCIPprobScaleObj(), SCIPprobStoreRootSol(), SCIPprobTransform(), SCIPprobUpdateBestRootSol(), SCIPreaderWrite(), SCIPsolCheck(), SCIPsolCheckOrig(), SCIPsolPrint(), SCIPsolPrintRay(), SCIPsolRecomputeObj(), SCIPsolRetransform(), SCIPsolRound(), SCIPsolsAreEqual(), SCIPsolUnlink(), SCIPsolUpdateVarsum(), SCIPsolve(), SCIPtreeRestoreRelaxSol(), SCIPtreeStoreRelaxSol(), SCIPundoBdchgsProof(), and updatePrimalRay().

◆ fixedvars

SCIP_VAR** SCIP_Prob::fixedvars

array with fixed and aggregated variables

Definition at line 65 of file struct_prob.h.

Referenced by presolve(), probEnsureFixedvarsMem(), SCIPgetFixedVars(), SCIPprobVarChangedStatus(), SCIPreaderWrite(), SCIPsolPrint(), and SCIPsolPrintRay().

◆ deletedvars

SCIP_VAR** SCIP_Prob::deletedvars

array to temporarily store deleted variables

Definition at line 66 of file struct_prob.h.

Referenced by probEnsureDeletedvarsMem(), SCIPprobDelVar(), and SCIPprobPerformVarDeletions().

◆ consnames

SCIP_HASHTABLE* SCIP_Prob::consnames

hash table storing constraints' names

Definition at line 67 of file struct_prob.h.

Referenced by SCIPprobAddConsName(), SCIPprobFindCons(), and SCIPprobRemoveConsName().

◆ conss

◆ origcheckconss

SCIP_CONS** SCIP_Prob::origcheckconss

array to store original constraints sorted w.r.t. check priority (or NULL)

Definition at line 69 of file struct_prob.h.

Referenced by probEnsureConssMem(), SCIPprobAddCons(), SCIPprobDelCons(), SCIPprobSortConssCheck(), and SCIPsolCheckOrig().

◆ varssize

int SCIP_Prob::varssize

available slots in vars array

Definition at line 70 of file struct_prob.h.

Referenced by probEnsureVarsMem(), and probInsertVar().

◆ nvars

int SCIP_Prob::nvars

number of active variables in the problem (used slots in vars array)

Definition at line 71 of file struct_prob.h.

Referenced by conflictAnalyzeLP(), conflictCalcMaxsize(), createAndAddProofcons(), focusnodeCleanupVars(), initLP(), initPresolve(), initSolve(), prepareReoptimization(), presolve(), probInsertVar(), probRemoveVar(), readSolFile(), readXmlSolFile(), recomputeGlbPseudoObjectiveValue(), recomputeLooseObjectiveValue(), recomputePseudoObjectiveValue(), SCIPcheckReoptRestart(), SCIPchgReoptObjective(), SCIPconflictAnalyzePseudo(), SCIPconflictAnalyzeRemainingBdchgs(), 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(), SCIPprobGetAbsMaxObjCoef(), SCIPprobGetAbsMinObjCoef(), SCIPprobGetNObjVars(), SCIPprobGetNVars(), SCIPprobInitSolve(), SCIPprobMarkNConss(), SCIPprobPrintPseudoSol(), SCIPprobPrintStatistics(), SCIPprobResetBounds(), SCIPprobResortVars(), SCIPprobScaleObj(), SCIPprobStoreRootSol(), SCIPprobTransform(), SCIPprobUpdateBestRootSol(), SCIPprobVarChangedStatus(), SCIPreaderWrite(), SCIPreadProb(), SCIPsolCheck(), SCIPsolCheckOrig(), SCIPsolPrint(), SCIPsolPrintRay(), SCIPsolRecomputeObj(), SCIPsolRetransform(), SCIPsolsAreEqual(), SCIPsolUnlink(), SCIPsolUpdateVarsum(), SCIPsolve(), SCIPsolveCIP(), SCIPtransformProb(), SCIPtreeRestoreRelaxSol(), SCIPtreeStoreRelaxSol(), SCIPundoBdchgsProof(), solveNode(), transformSols(), and updatePrimalRay().

◆ nbinvars

◆ nintvars

◆ nimplvars

◆ ncontvars

◆ ncolvars

int SCIP_Prob::ncolvars

◆ fixedvarssize

int SCIP_Prob::fixedvarssize

available slots in fixedvars array

Definition at line 77 of file struct_prob.h.

Referenced by probEnsureFixedvarsMem().

◆ nfixedvars

int SCIP_Prob::nfixedvars

number of fixed and aggregated variables in the problem

Definition at line 78 of file struct_prob.h.

Referenced by presolve(), SCIPgetNFixedVars(), SCIPprobResetBounds(), SCIPprobVarChangedStatus(), SCIPreaderWrite(), SCIPsolPrint(), and SCIPsolPrintRay().

◆ deletedvarssize

int SCIP_Prob::deletedvarssize

available slots in deletedvars array

Definition at line 79 of file struct_prob.h.

Referenced by probEnsureDeletedvarsMem().

◆ ndeletedvars

int SCIP_Prob::ndeletedvars

number of deleted variables in the problem

Definition at line 80 of file struct_prob.h.

Referenced by SCIPprobDelVar(), and SCIPprobPerformVarDeletions().

◆ nobjvars

int SCIP_Prob::nobjvars

number of variables with a non-zero objective coefficient

Definition at line 81 of file struct_prob.h.

Referenced by SCIPprobGetNObjVars(), SCIPprobInitSolve(), and SCIPprobUpdateNObjVars().

◆ consssize

int SCIP_Prob::consssize

available slots in conss array

Definition at line 82 of file struct_prob.h.

Referenced by probEnsureConssMem(), and SCIPprobSortConssCheck().

◆ nconss

◆ maxnconss

int SCIP_Prob::maxnconss

maximum number of constraints existing at the same time

Definition at line 84 of file struct_prob.h.

Referenced by SCIPprobAddCons(), SCIPprobMarkNConss(), SCIPprobPrintStatistics(), and SCIPreaderWrite().

◆ startnvars

int SCIP_Prob::startnvars

number of variables existing when problem solving started

Definition at line 85 of file struct_prob.h.

Referenced by SCIPprobMarkNConss(), and SCIPreaderWrite().

◆ startnconss

int SCIP_Prob::startnconss

number of constraints existing when problem solving started

Definition at line 86 of file struct_prob.h.

Referenced by createAndAddProofcons(), SCIPprobMarkNConss(), SCIPprobPrintStatistics(), and SCIPreaderWrite().

◆ objsense

◆ objisintegral

SCIP_Bool SCIP_Prob::objisintegral

is objective value always integral for feasible solutions?

Definition at line 88 of file struct_prob.h.

Referenced by SCIPchgReoptObjective(), SCIPprobAddVar(), SCIPprobCheckObjIntegral(), SCIPprobIsObjIntegral(), SCIPprobScaleObj(), SCIPprobSetObjIntegral(), and SCIPprobTransform().

◆ transformed

◆ nlpenabled

SCIP_Bool SCIP_Prob::nlpenabled

marks whether an NLP relaxation should be constructed

Definition at line 90 of file struct_prob.h.

Referenced by freeReoptSolve(), freeSolve(), initSolve(), SCIPenableNLP(), SCIPisNLPEnabled(), and SCIPprobTransform().

◆ permuted

SCIP_Bool SCIP_Prob::permuted

TRUE iff the problem is already permuted

Definition at line 91 of file struct_prob.h.

Referenced by SCIPprobIsPermuted(), SCIPprobMarkPermuted(), and SCIPprobTransform().

◆ consschecksorted

SCIP_Bool SCIP_Prob::consschecksorted

TRUE if the constraints are sorted according to check priority

Definition at line 92 of file struct_prob.h.

Referenced by SCIPprobAddCons(), SCIPprobDelCons(), and SCIPprobSortConssCheck().

◆ conscompression

SCIP_Bool SCIP_Prob::conscompression

TRUE for problems for which constraint compression on a set of fixed variables is desired

Definition at line 93 of file struct_prob.h.

Referenced by SCIPprobEnableConsCompression(), and SCIPprobIsConsCompressionEnabled().