public methods for problem variables
int SCIPvarGetNLocksDown (SCIP_VAR *var) int SCIPvarGetNLocksUp (SCIP_VAR *var) int SCIPvarGetNLocksUpType (SCIP_VAR *var, SCIP_LOCKTYPE locktype) int SCIPvarGetNLocksDownType (SCIP_VAR *var, SCIP_LOCKTYPE locktype) SCIP_Bool SCIPvarMayRoundDown (SCIP_VAR *var) SCIP_Bool SCIPvarMayRoundUp (SCIP_VAR *var) int SCIPvarCompareActiveAndNegated (SCIP_VAR *var1, SCIP_VAR *var2) SCIP_DECL_SORTPTRCOMP (SCIPvarCompActiveAndNegated) int SCIPvarCompare (SCIP_VAR *var1, SCIP_VAR *var2) SCIP_DECL_SORTPTRCOMP (SCIPvarComp) SCIP_DECL_SORTPTRCOMP (SCIPvarCompObj) SCIP_DECL_HASHGETKEY (SCIPvarGetHashkey) SCIP_DECL_HASHKEYEQ (SCIPvarIsHashkeyEq) SCIP_DECL_HASHKEYVAL (SCIPvarGetHashkeyVal) void SCIPvarsGetProbvar (SCIP_VAR **vars, int nvars) SCIP_VAR * SCIPvarGetProbvar (SCIP_VAR *var) SCIP_RETCODE SCIPvarsGetProbvarBinary (SCIP_VAR ***vars, SCIP_Bool **negatedarr, int nvars) SCIP_RETCODE SCIPvarGetProbvarBinary (SCIP_VAR **var, SCIP_Bool *negated) SCIP_RETCODE SCIPvarGetProbvarBound (SCIP_VAR **var, SCIP_Real *bound, SCIP_BOUNDTYPE *boundtype) SCIP_RETCODE SCIPvarGetProbvarHole (SCIP_VAR **var, SCIP_Real *left, SCIP_Real *right) SCIP_RETCODE SCIPvarGetOrigvarSum (SCIP_VAR **var, SCIP_Real *scalar, SCIP_Real *constant) SCIP_Bool SCIPvarIsTransformedOrigvar (SCIP_VAR *var) SCIP_Longint SCIPvarGetNBranchings (SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Longint SCIPvarGetNBranchingsCurrentRun (SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPvarGetInferenceSum (SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPvarGetInferenceSumCurrentRun (SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPvarGetCutoffSum (SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPvarGetCutoffSumCurrentRun (SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPvarGetAvgBranchdepth (SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPvarGetAvgBranchdepthCurrentRun (SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Bool SCIPvarHasImplic (SCIP_VAR *var, SCIP_Bool varfixing, SCIP_VAR *implvar, SCIP_BOUNDTYPE impltype) SCIP_Bool SCIPvarHasBinaryImplic (SCIP_VAR *var, SCIP_Bool varfixing, SCIP_VAR *implvar, SCIP_Bool implvarfixing) void SCIPvarGetImplicVarBounds (SCIP_VAR *var, SCIP_Bool varfixing, SCIP_VAR *implvar, SCIP_Real *lb, SCIP_Real *ub) SCIP_Bool SCIPvarsHaveCommonClique (SCIP_VAR *var1, SCIP_Bool value1, SCIP_VAR *var2, SCIP_Bool value2, SCIP_Bool regardimplics) SCIP_RETCODE SCIPvarGetAggregatedObj (SCIP_VAR *var, SCIP_Real *aggrobj) SCIP_RETCODE SCIPvarSetInitial (SCIP_VAR *var, SCIP_Bool initial) SCIP_RETCODE SCIPvarSetRemovable (SCIP_VAR *var, SCIP_Bool removable) const char * SCIPvarGetName (SCIP_VAR *var) int SCIPvarGetNUses (SCIP_VAR *var) SCIP_VARDATA * SCIPvarGetData (SCIP_VAR *var) void SCIPvarSetData (SCIP_VAR *var, SCIP_VARDATA *vardata) void SCIPvarSetDelorigData (SCIP_VAR *var, SCIP_DECL_VARDELORIG((*vardelorig))) void SCIPvarSetTransData (SCIP_VAR *var, SCIP_DECL_VARTRANS((*vartrans))) void SCIPvarSetDeltransData (SCIP_VAR *var, SCIP_DECL_VARDELTRANS((*vardeltrans))) void SCIPvarSetCopyData (SCIP_VAR *var, SCIP_DECL_VARCOPY((*varcopy))) SCIP_VARSTATUS SCIPvarGetStatus (SCIP_VAR *var) SCIP_Bool SCIPvarIsOriginal (SCIP_VAR *var) SCIP_Bool SCIPvarIsTransformed (SCIP_VAR *var) SCIP_Bool SCIPvarIsNegated (SCIP_VAR *var) SCIP_VARTYPE SCIPvarGetType (SCIP_VAR *var) SCIP_Bool SCIPvarIsBinary (SCIP_VAR *var) SCIP_Bool SCIPvarIsIntegral (SCIP_VAR *var) SCIP_Bool SCIPvarIsInitial (SCIP_VAR *var) SCIP_Bool SCIPvarIsRemovable (SCIP_VAR *var) SCIP_Bool SCIPvarIsDeleted (SCIP_VAR *var) void SCIPvarMarkDeletable (SCIP_VAR *var) void SCIPvarMarkNotDeletable (SCIP_VAR *var) SCIP_Bool SCIPvarIsDeletable (SCIP_VAR *var) void SCIPvarMarkDeleteGlobalStructures (SCIP_VAR *var) SCIP_Bool SCIPvarIsActive (SCIP_VAR *var) int SCIPvarGetIndex (SCIP_VAR *var) int SCIPvarGetProbindex (SCIP_VAR *var) SCIP_VAR * SCIPvarGetTransVar (SCIP_VAR *var) SCIP_COL * SCIPvarGetCol (SCIP_VAR *var) SCIP_Bool SCIPvarIsInLP (SCIP_VAR *var) SCIP_VAR * SCIPvarGetAggrVar (SCIP_VAR *var) SCIP_Real SCIPvarGetAggrScalar (SCIP_VAR *var) SCIP_Real SCIPvarGetAggrConstant (SCIP_VAR *var) int SCIPvarGetMultaggrNVars (SCIP_VAR *var) SCIP_VAR ** SCIPvarGetMultaggrVars (SCIP_VAR *var) SCIP_Real * SCIPvarGetMultaggrScalars (SCIP_VAR *var) SCIP_Real SCIPvarGetMultaggrConstant (SCIP_VAR *var) SCIP_VAR * SCIPvarGetNegatedVar (SCIP_VAR *var) SCIP_VAR * SCIPvarGetNegationVar (SCIP_VAR *var) SCIP_Real SCIPvarGetNegationConstant (SCIP_VAR *var) SCIP_Real SCIPvarGetObj (SCIP_VAR *var) SCIP_Real SCIPvarGetUnchangedObj (SCIP_VAR *var) SCIP_Real SCIPvarGetLbOriginal (SCIP_VAR *var) SCIP_Real SCIPvarGetUbOriginal (SCIP_VAR *var) SCIP_HOLELIST * SCIPvarGetHolelistOriginal (SCIP_VAR *var) SCIP_Real SCIPvarGetLbGlobal (SCIP_VAR *var) SCIP_Real SCIPvarGetUbGlobal (SCIP_VAR *var) SCIP_HOLELIST * SCIPvarGetHolelistGlobal (SCIP_VAR *var) SCIP_Real SCIPvarGetBestBoundGlobal (SCIP_VAR *var) SCIP_Real SCIPvarGetWorstBoundGlobal (SCIP_VAR *var) SCIP_Real SCIPvarGetLbLocal (SCIP_VAR *var) SCIP_Real SCIPvarGetUbLocal (SCIP_VAR *var) SCIP_HOLELIST * SCIPvarGetHolelistLocal (SCIP_VAR *var) SCIP_Real SCIPvarGetBestBoundLocal (SCIP_VAR *var) SCIP_Real SCIPvarGetWorstBoundLocal (SCIP_VAR *var) SCIP_BOUNDTYPE SCIPvarGetBestBoundType (SCIP_VAR *var) SCIP_BOUNDTYPE SCIPvarGetWorstBoundType (SCIP_VAR *var) SCIP_Real SCIPvarGetLbLazy (SCIP_VAR *var) SCIP_Real SCIPvarGetUbLazy (SCIP_VAR *var) SCIP_Real SCIPvarGetBranchFactor (SCIP_VAR *var) int SCIPvarGetBranchPriority (SCIP_VAR *var) SCIP_BRANCHDIR SCIPvarGetBranchDirection (SCIP_VAR *var) int SCIPvarGetNVlbs (SCIP_VAR *var) SCIP_VAR ** SCIPvarGetVlbVars (SCIP_VAR *var) SCIP_Real * SCIPvarGetVlbCoefs (SCIP_VAR *var) SCIP_Real * SCIPvarGetVlbConstants (SCIP_VAR *var) int SCIPvarGetNVubs (SCIP_VAR *var) SCIP_VAR ** SCIPvarGetVubVars (SCIP_VAR *var) SCIP_Real * SCIPvarGetVubCoefs (SCIP_VAR *var) SCIP_Real * SCIPvarGetVubConstants (SCIP_VAR *var) int SCIPvarGetNImpls (SCIP_VAR *var, SCIP_Bool varfixing) SCIP_VAR ** SCIPvarGetImplVars (SCIP_VAR *var, SCIP_Bool varfixing) SCIP_BOUNDTYPE * SCIPvarGetImplTypes (SCIP_VAR *var, SCIP_Bool varfixing) SCIP_Real * SCIPvarGetImplBounds (SCIP_VAR *var, SCIP_Bool varfixing) int * SCIPvarGetImplIds (SCIP_VAR *var, SCIP_Bool varfixing) int SCIPvarGetNCliques (SCIP_VAR *var, SCIP_Bool varfixing) SCIP_CLIQUE ** SCIPvarGetCliques (SCIP_VAR *var, SCIP_Bool varfixing) SCIP_Real SCIPvarGetLPSol (SCIP_VAR *var) SCIP_Real SCIPvarGetNLPSol (SCIP_VAR *var) SCIP_BDCHGINFO * SCIPvarGetBdchgInfoLb (SCIP_VAR *var, int pos) int SCIPvarGetNBdchgInfosLb (SCIP_VAR *var) SCIP_BDCHGINFO * SCIPvarGetBdchgInfoUb (SCIP_VAR *var, int pos) int SCIPvarGetNBdchgInfosUb (SCIP_VAR *var) SCIP_VALUEHISTORY * SCIPvarGetValuehistory (SCIP_VAR *var) SCIP_Bool SCIPvarIsRelaxationOnly (SCIP_VAR *var) void SCIPvarMarkRelaxationOnly (SCIP_VAR *var) SCIP_Real SCIPvarGetLPSol_rec (SCIP_VAR *var) SCIP_Real SCIPvarGetNLPSol_rec (SCIP_VAR *var) SCIP_Real SCIPvarGetPseudoSol (SCIP_VAR *var) SCIP_Real SCIPvarGetSol (SCIP_VAR *var, SCIP_Bool getlpval) SCIP_Real SCIPvarGetRootSol (SCIP_VAR *var) SCIP_Real SCIPvarGetBestRootSol (SCIP_VAR *var) SCIP_Real SCIPvarGetBestRootRedcost (SCIP_VAR *var) SCIP_Real SCIPvarGetBestRootLPObjval (SCIP_VAR *var) void SCIPvarSetBestRootSol (SCIP_VAR *var, SCIP_Real rootsol, SCIP_Real rootredcost, SCIP_Real rootlpobjval) SCIP_Real SCIPvarGetAvgSol (SCIP_VAR *var) SCIP_BDCHGINFO * SCIPvarGetLbchgInfo (SCIP_VAR *var, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) SCIP_BDCHGINFO * SCIPvarGetUbchgInfo (SCIP_VAR *var, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) SCIP_BDCHGINFO * SCIPvarGetBdchgInfo (SCIP_VAR *var, SCIP_BOUNDTYPE boundtype, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) SCIP_Real SCIPvarGetLbAtIndex (SCIP_VAR *var, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) SCIP_Real SCIPvarGetUbAtIndex (SCIP_VAR *var, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) SCIP_Real SCIPvarGetBdAtIndex (SCIP_VAR *var, SCIP_BOUNDTYPE boundtype, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) SCIP_Bool SCIPvarWasFixedAtIndex (SCIP_VAR *var, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) SCIP_BDCHGIDX * SCIPvarGetLastBdchgIndex (SCIP_VAR *var) int SCIPvarGetLastBdchgDepth (SCIP_VAR *var) SCIP_Bool SCIPvarWasFixedEarlier (SCIP_VAR *var1, SCIP_VAR *var2) SCIP_RETCODE SCIPcreateVar (SCIP *scip, SCIP_VAR **var, const char *name, SCIP_Real lb, SCIP_Real ub, SCIP_Real obj, SCIP_VARTYPE vartype, SCIP_Bool initial, SCIP_Bool removable, SCIP_DECL_VARDELORIG((*vardelorig)), SCIP_DECL_VARTRANS((*vartrans)), SCIP_DECL_VARDELTRANS((*vardeltrans)), SCIP_DECL_VARCOPY((*varcopy)), SCIP_VARDATA *vardata) SCIP_RETCODE SCIPcreateVarBasic (SCIP *scip, SCIP_VAR **var, const char *name, SCIP_Real lb, SCIP_Real ub, SCIP_Real obj, SCIP_VARTYPE vartype) SCIP_RETCODE SCIPwriteVarName (SCIP *scip, FILE *file, SCIP_VAR *var, SCIP_Bool type) SCIP_RETCODE SCIPwriteVarsList (SCIP *scip, FILE *file, SCIP_VAR **vars, int nvars, SCIP_Bool type, char delimiter) SCIP_RETCODE SCIPwriteVarsLinearsum (SCIP *scip, FILE *file, SCIP_VAR **vars, SCIP_Real *vals, int nvars, SCIP_Bool type) SCIP_RETCODE SCIPwriteVarsPolynomial (SCIP *scip, FILE *file, SCIP_VAR ***monomialvars, SCIP_Real **monomialexps, SCIP_Real *monomialcoefs, int *monomialnvars, int nmonomials, SCIP_Bool type) SCIP_RETCODE SCIPparseVar (SCIP *scip, SCIP_VAR **var, const char *str, SCIP_Bool initial, SCIP_Bool removable, SCIP_DECL_VARCOPY((*varcopy)), SCIP_DECL_VARDELORIG((*vardelorig)), SCIP_DECL_VARTRANS((*vartrans)), SCIP_DECL_VARDELTRANS((*vardeltrans)), SCIP_VARDATA *vardata, char **endptr, SCIP_Bool *success) SCIP_RETCODE SCIPparseVarName (SCIP *scip, const char *str, SCIP_VAR **var, char **endptr) SCIP_RETCODE SCIPparseVarsList (SCIP *scip, const char *str, SCIP_VAR **vars, int *nvars, int varssize, int *requiredsize, char **endptr, char delimiter, SCIP_Bool *success) SCIP_RETCODE SCIPparseVarsLinearsum (SCIP *scip, const char *str, SCIP_VAR **vars, SCIP_Real *vals, int *nvars, int varssize, int *requiredsize, char **endptr, SCIP_Bool *success) SCIP_RETCODE SCIPparseVarsPolynomial (SCIP *scip, const char *str, SCIP_VAR ****monomialvars, SCIP_Real ***monomialexps, SCIP_Real **monomialcoefs, int **monomialnvars, int *nmonomials, char **endptr, SCIP_Bool *success) void SCIPfreeParseVarsPolynomialData (SCIP *scip, SCIP_VAR ****monomialvars, SCIP_Real ***monomialexps, SCIP_Real **monomialcoefs, int **monomialnvars, int nmonomials) SCIP_RETCODE SCIPcaptureVar (SCIP *scip, SCIP_VAR *var) SCIP_RETCODE SCIPreleaseVar (SCIP *scip, SCIP_VAR **var) SCIP_RETCODE SCIPchgVarName (SCIP *scip, SCIP_VAR *var, const char *name) SCIP_RETCODE SCIPtransformVar (SCIP *scip, SCIP_VAR *var, SCIP_VAR **transvar) SCIP_RETCODE SCIPtransformVars (SCIP *scip, int nvars, SCIP_VAR **vars, SCIP_VAR **transvars) SCIP_RETCODE SCIPgetTransformedVar (SCIP *scip, SCIP_VAR *var, SCIP_VAR **transvar) SCIP_RETCODE SCIPgetTransformedVars (SCIP *scip, int nvars, SCIP_VAR **vars, SCIP_VAR **transvars) SCIP_RETCODE SCIPgetNegatedVar (SCIP *scip, SCIP_VAR *var, SCIP_VAR **negvar) SCIP_RETCODE SCIPgetNegatedVars (SCIP *scip, int nvars, SCIP_VAR **vars, SCIP_VAR **negvars) SCIP_RETCODE SCIPgetBinvarRepresentative (SCIP *scip, SCIP_VAR *var, SCIP_VAR **repvar, SCIP_Bool *negated) SCIP_RETCODE SCIPgetBinvarRepresentatives (SCIP *scip, int nvars, SCIP_VAR **vars, SCIP_VAR **repvars, SCIP_Bool *negated) SCIP_RETCODE SCIPflattenVarAggregationGraph (SCIP *scip, SCIP_VAR *var) SCIP_RETCODE SCIPgetProbvarLinearSum (SCIP *scip, SCIP_VAR **vars, SCIP_Real *scalars, int *nvars, int varssize, SCIP_Real *constant, int *requiredsize, SCIP_Bool mergemultiples) SCIP_RETCODE SCIPgetProbvarSum (SCIP *scip, SCIP_VAR **var, SCIP_Real *scalar, SCIP_Real *constant) SCIP_RETCODE SCIPgetActiveVars (SCIP *scip, SCIP_VAR **vars, int *nvars, int varssize, int *requiredsize) SCIP_Real SCIPgetVarRedcost (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarImplRedcost (SCIP *scip, SCIP_VAR *var, SCIP_Bool varfixing) SCIP_Real SCIPgetVarFarkasCoef (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarLbAtIndex (SCIP *scip, SCIP_VAR *var, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) SCIP_Real SCIPgetVarUbAtIndex (SCIP *scip, SCIP_VAR *var, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) SCIP_Real SCIPgetVarBdAtIndex (SCIP *scip, SCIP_VAR *var, SCIP_BOUNDTYPE boundtype, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) SCIP_Bool SCIPgetVarWasFixedAtIndex (SCIP *scip, SCIP_VAR *var, SCIP_BDCHGIDX *bdchgidx, SCIP_Bool after) SCIP_Real SCIPgetVarSol (SCIP *scip, SCIP_VAR *var) SCIP_RETCODE SCIPgetVarSols (SCIP *scip, int nvars, SCIP_VAR **vars, SCIP_Real *vals) SCIP_RETCODE SCIPclearRelaxSolVals (SCIP *scip, SCIP_RELAX *relax) SCIP_RETCODE SCIPsetRelaxSolVal (SCIP *scip, SCIP_RELAX *relax, SCIP_VAR *var, SCIP_Real val) SCIP_RETCODE SCIPsetRelaxSolVals (SCIP *scip, SCIP_RELAX *relax, int nvars, SCIP_VAR **vars, SCIP_Real *vals, SCIP_Bool includeslp) SCIP_RETCODE SCIPsetRelaxSolValsSol (SCIP *scip, SCIP_RELAX *relax, SCIP_SOL *sol, SCIP_Bool includeslp) SCIP_Bool SCIPisRelaxSolValid (SCIP *scip) SCIP_RETCODE SCIPmarkRelaxSolValid (SCIP *scip, SCIP_RELAX *relax, SCIP_Bool includeslp) SCIP_RETCODE SCIPmarkRelaxSolInvalid (SCIP *scip) SCIP_Real SCIPgetRelaxSolVal (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetRelaxSolObj (SCIP *scip) SCIP_Bool SCIPisStrongbranchDownFirst (SCIP *scip, SCIP_VAR *var) SCIP_RETCODE SCIPstartStrongbranch (SCIP *scip, SCIP_Bool enablepropagation) SCIP_RETCODE SCIPendStrongbranch (SCIP *scip) SCIP_RETCODE SCIPgetVarStrongbranchFrac (SCIP *scip, SCIP_VAR *var, int itlim, SCIP_Bool idempotent, SCIP_Real *down, SCIP_Real *up, SCIP_Bool *downvalid, SCIP_Bool *upvalid, SCIP_Bool *downinf, SCIP_Bool *upinf, SCIP_Bool *downconflict, SCIP_Bool *upconflict, SCIP_Bool *lperror) SCIP_RETCODE SCIPgetVarStrongbranchWithPropagation (SCIP *scip, SCIP_VAR *var, SCIP_Real solval, SCIP_Real lpobjval, int itlim, int maxproprounds, SCIP_Real *down, SCIP_Real *up, SCIP_Bool *downvalid, SCIP_Bool *upvalid, SCIP_Longint *ndomredsdown, SCIP_Longint *ndomredsup, SCIP_Bool *downinf, SCIP_Bool *upinf, SCIP_Bool *downconflict, SCIP_Bool *upconflict, SCIP_Bool *lperror, SCIP_Real *newlbs, SCIP_Real *newubs) SCIP_RETCODE SCIPgetVarStrongbranchInt (SCIP *scip, SCIP_VAR *var, int itlim, SCIP_Bool idempotent, SCIP_Real *down, SCIP_Real *up, SCIP_Bool *downvalid, SCIP_Bool *upvalid, SCIP_Bool *downinf, SCIP_Bool *upinf, SCIP_Bool *downconflict, SCIP_Bool *upconflict, SCIP_Bool *lperror) SCIP_RETCODE SCIPgetVarsStrongbranchesFrac (SCIP *scip, SCIP_VAR **vars, int nvars, int itlim, SCIP_Real *down, SCIP_Real *up, SCIP_Bool *downvalid, SCIP_Bool *upvalid, SCIP_Bool *downinf, SCIP_Bool *upinf, SCIP_Bool *downconflict, SCIP_Bool *upconflict, SCIP_Bool *lperror) SCIP_RETCODE SCIPgetVarsStrongbranchesInt (SCIP *scip, SCIP_VAR **vars, int nvars, int itlim, SCIP_Real *down, SCIP_Real *up, SCIP_Bool *downvalid, SCIP_Bool *upvalid, SCIP_Bool *downinf, SCIP_Bool *upinf, SCIP_Bool *downconflict, SCIP_Bool *upconflict, SCIP_Bool *lperror) SCIP_LPSOLSTAT SCIPgetLastStrongbranchLPSolStat (SCIP *scip, SCIP_BRANCHDIR branchdir) SCIP_RETCODE SCIPgetVarStrongbranchLast (SCIP *scip, SCIP_VAR *var, SCIP_Real *down, SCIP_Real *up, SCIP_Bool *downvalid, SCIP_Bool *upvalid, SCIP_Real *solval, SCIP_Real *lpobjval) SCIP_RETCODE SCIPsetVarStrongbranchData (SCIP *scip, SCIP_VAR *var, SCIP_Real lpobjval, SCIP_Real primsol, SCIP_Real down, SCIP_Real up, SCIP_Bool downvalid, SCIP_Bool upvalid, SCIP_Longint iter, int itlim) SCIP_RETCODE SCIPtryStrongbranchLPSol (SCIP *scip, SCIP_Bool *foundsol, SCIP_Bool *cutoff) SCIP_Longint SCIPgetVarStrongbranchNode (SCIP *scip, SCIP_VAR *var) SCIP_Longint SCIPgetVarStrongbranchLPAge (SCIP *scip, SCIP_VAR *var) int SCIPgetVarNStrongbranchs (SCIP *scip, SCIP_VAR *var) SCIP_RETCODE SCIPaddVarLocksType (SCIP *scip, SCIP_VAR *var, SCIP_LOCKTYPE locktype, int nlocksdown, int nlocksup) SCIP_RETCODE SCIPaddVarLocks (SCIP *scip, SCIP_VAR *var, int nlocksdown, int nlocksup) SCIP_RETCODE SCIPlockVarCons (SCIP *scip, SCIP_VAR *var, SCIP_CONS *cons, SCIP_Bool lockdown, SCIP_Bool lockup) SCIP_RETCODE SCIPunlockVarCons (SCIP *scip, SCIP_VAR *var, SCIP_CONS *cons, SCIP_Bool lockdown, SCIP_Bool lockup) SCIP_RETCODE SCIPchgVarObj (SCIP *scip, SCIP_VAR *var, SCIP_Real newobj) SCIP_RETCODE SCIPaddVarObj (SCIP *scip, SCIP_VAR *var, SCIP_Real addobj) SCIP_Real SCIPadjustedVarLb (SCIP *scip, SCIP_VAR *var, SCIP_Real lb) SCIP_Real SCIPadjustedVarUb (SCIP *scip, SCIP_VAR *var, SCIP_Real ub) SCIP_RETCODE SCIPchgVarLb (SCIP *scip, SCIP_VAR *var, SCIP_Real newbound) SCIP_RETCODE SCIPchgVarUb (SCIP *scip, SCIP_VAR *var, SCIP_Real newbound) SCIP_RETCODE SCIPchgVarLbNode (SCIP *scip, SCIP_NODE *node, SCIP_VAR *var, SCIP_Real newbound) SCIP_RETCODE SCIPchgVarUbNode (SCIP *scip, SCIP_NODE *node, SCIP_VAR *var, SCIP_Real newbound) SCIP_RETCODE SCIPchgVarLbGlobal (SCIP *scip, SCIP_VAR *var, SCIP_Real newbound) SCIP_RETCODE SCIPchgVarUbGlobal (SCIP *scip, SCIP_VAR *var, SCIP_Real newbound) SCIP_RETCODE SCIPchgVarLbLazy (SCIP *scip, SCIP_VAR *var, SCIP_Real lazylb) SCIP_RETCODE SCIPchgVarUbLazy (SCIP *scip, SCIP_VAR *var, SCIP_Real lazyub) SCIP_RETCODE SCIPtightenVarLb (SCIP *scip, SCIP_VAR *var, SCIP_Real newbound, SCIP_Bool force, SCIP_Bool *infeasible, SCIP_Bool *tightened) SCIP_RETCODE SCIPtightenVarUb (SCIP *scip, SCIP_VAR *var, SCIP_Real newbound, SCIP_Bool force, SCIP_Bool *infeasible, SCIP_Bool *tightened) SCIP_RETCODE SCIPinferVarFixCons (SCIP *scip, SCIP_VAR *var, SCIP_Real fixedval, SCIP_CONS *infercons, int inferinfo, SCIP_Bool force, SCIP_Bool *infeasible, SCIP_Bool *tightened) SCIP_RETCODE SCIPinferVarLbCons (SCIP *scip, SCIP_VAR *var, SCIP_Real newbound, SCIP_CONS *infercons, int inferinfo, SCIP_Bool force, SCIP_Bool *infeasible, SCIP_Bool *tightened) SCIP_RETCODE SCIPinferVarUbCons (SCIP *scip, SCIP_VAR *var, SCIP_Real newbound, SCIP_CONS *infercons, int inferinfo, SCIP_Bool force, SCIP_Bool *infeasible, SCIP_Bool *tightened) SCIP_RETCODE SCIPinferBinvarCons (SCIP *scip, SCIP_VAR *var, SCIP_Bool fixedval, SCIP_CONS *infercons, int inferinfo, SCIP_Bool *infeasible, SCIP_Bool *tightened) SCIP_RETCODE SCIPinferVarFixProp (SCIP *scip, SCIP_VAR *var, SCIP_Real fixedval, SCIP_PROP *inferprop, int inferinfo, SCIP_Bool force, SCIP_Bool *infeasible, SCIP_Bool *tightened) SCIP_RETCODE SCIPinferVarLbProp (SCIP *scip, SCIP_VAR *var, SCIP_Real newbound, SCIP_PROP *inferprop, int inferinfo, SCIP_Bool force, SCIP_Bool *infeasible, SCIP_Bool *tightened) SCIP_RETCODE SCIPinferVarUbProp (SCIP *scip, SCIP_VAR *var, SCIP_Real newbound, SCIP_PROP *inferprop, int inferinfo, SCIP_Bool force, SCIP_Bool *infeasible, SCIP_Bool *tightened) SCIP_RETCODE SCIPinferBinvarProp (SCIP *scip, SCIP_VAR *var, SCIP_Bool fixedval, SCIP_PROP *inferprop, int inferinfo, SCIP_Bool *infeasible, SCIP_Bool *tightened) SCIP_RETCODE SCIPtightenVarLbGlobal (SCIP *scip, SCIP_VAR *var, SCIP_Real newbound, SCIP_Bool force, SCIP_Bool *infeasible, SCIP_Bool *tightened) SCIP_RETCODE SCIPtightenVarUbGlobal (SCIP *scip, SCIP_VAR *var, SCIP_Real newbound, SCIP_Bool force, SCIP_Bool *infeasible, SCIP_Bool *tightened) SCIP_Real SCIPcomputeVarLbGlobal (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPcomputeVarUbGlobal (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPcomputeVarLbLocal (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPcomputeVarUbLocal (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarMultaggrLbGlobal (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarMultaggrUbGlobal (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarMultaggrLbLocal (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarMultaggrUbLocal (SCIP *scip, SCIP_VAR *var) SCIP_RETCODE SCIPgetVarClosestVlb (SCIP *scip, SCIP_VAR *var, SCIP_SOL *sol, SCIP_Real *closestvlb, int *closestvlbidx) SCIP_RETCODE SCIPgetVarClosestVub (SCIP *scip, SCIP_VAR *var, SCIP_SOL *sol, SCIP_Real *closestvub, int *closestvubidx) SCIP_RETCODE SCIPaddVarVlb (SCIP *scip, SCIP_VAR *var, SCIP_VAR *vlbvar, SCIP_Real vlbcoef, SCIP_Real vlbconstant, SCIP_Bool *infeasible, int *nbdchgs) SCIP_RETCODE SCIPaddVarVub (SCIP *scip, SCIP_VAR *var, SCIP_VAR *vubvar, SCIP_Real vubcoef, SCIP_Real vubconstant, SCIP_Bool *infeasible, int *nbdchgs) SCIP_RETCODE SCIPaddVarImplication (SCIP *scip, SCIP_VAR *var, SCIP_Bool varfixing, SCIP_VAR *implvar, SCIP_BOUNDTYPE impltype, SCIP_Real implbound, SCIP_Bool *infeasible, int *nbdchgs) SCIP_RETCODE SCIPaddClique (SCIP *scip, SCIP_VAR **vars, SCIP_Bool *values, int nvars, SCIP_Bool isequation, SCIP_Bool *infeasible, int *nbdchgs) SCIP_RETCODE SCIPcalcCliquePartition (SCIP *const scip, SCIP_VAR **const vars, int const nvars, int *const cliquepartition, int *const ncliques) SCIP_RETCODE SCIPcalcNegatedCliquePartition (SCIP *const scip, SCIP_VAR **const vars, int const nvars, int *const cliquepartition, int *const ncliques) SCIP_RETCODE SCIPcleanupCliques (SCIP *scip, SCIP_Bool *infeasible) int SCIPgetNCliques (SCIP *scip) int SCIPgetNCliquesCreated (SCIP *scip) SCIP_CLIQUE ** SCIPgetCliques (SCIP *scip) SCIP_Bool SCIPhaveVarsCommonClique (SCIP *scip, SCIP_VAR *var1, SCIP_Bool value1, SCIP_VAR *var2, SCIP_Bool value2, SCIP_Bool regardimplics) SCIP_RETCODE SCIPwriteCliqueGraph (SCIP *scip, const char *fname, SCIP_Bool writenodeweights) SCIP_RETCODE SCIPremoveVarFromGlobalStructures (SCIP *scip, SCIP_VAR *var) SCIP_RETCODE SCIPchgVarBranchFactor (SCIP *scip, SCIP_VAR *var, SCIP_Real branchfactor) SCIP_RETCODE SCIPscaleVarBranchFactor (SCIP *scip, SCIP_VAR *var, SCIP_Real scale) SCIP_RETCODE SCIPaddVarBranchFactor (SCIP *scip, SCIP_VAR *var, SCIP_Real addfactor) SCIP_RETCODE SCIPchgVarBranchPriority (SCIP *scip, SCIP_VAR *var, int branchpriority) SCIP_RETCODE SCIPupdateVarBranchPriority (SCIP *scip, SCIP_VAR *var, int branchpriority) SCIP_RETCODE SCIPaddVarBranchPriority (SCIP *scip, SCIP_VAR *var, int addpriority) SCIP_RETCODE SCIPchgVarBranchDirection (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR branchdirection) SCIP_RETCODE SCIPchgVarType (SCIP *scip, SCIP_VAR *var, SCIP_VARTYPE vartype, SCIP_Bool *infeasible) SCIP_RETCODE SCIPfixVar (SCIP *scip, SCIP_VAR *var, SCIP_Real fixedval, SCIP_Bool *infeasible, SCIP_Bool *fixed) SCIP_RETCODE SCIPaggregateVars (SCIP *scip, SCIP_VAR *varx, SCIP_VAR *vary, SCIP_Real scalarx, SCIP_Real scalary, SCIP_Real rhs, SCIP_Bool *infeasible, SCIP_Bool *redundant, SCIP_Bool *aggregated) SCIP_RETCODE SCIPmultiaggregateVar (SCIP *scip, SCIP_VAR *var, int naggvars, SCIP_VAR **aggvars, SCIP_Real *scalars, SCIP_Real constant, SCIP_Bool *infeasible, SCIP_Bool *aggregated) SCIP_Bool SCIPdoNotAggr (SCIP *scip) SCIP_Bool SCIPdoNotMultaggr (SCIP *scip) SCIP_Bool SCIPdoNotAggrVar (SCIP *scip, SCIP_VAR *var) SCIP_Bool SCIPdoNotMultaggrVar (SCIP *scip, SCIP_VAR *var) SCIP_Bool SCIPallowDualReds (SCIP *scip) SCIP_Bool SCIPallowStrongDualReds (SCIP *scip) SCIP_Bool SCIPallowObjProp (SCIP *scip) SCIP_Bool SCIPallowWeakDualReds (SCIP *scip) SCIP_RETCODE SCIPmarkDoNotAggrVar (SCIP *scip, SCIP_VAR *var) SCIP_RETCODE SCIPmarkDoNotMultaggrVar (SCIP *scip, SCIP_VAR *var) void SCIPenableVarHistory (SCIP *scip) void SCIPdisableVarHistory (SCIP *scip) SCIP_RETCODE SCIPupdateVarPseudocost (SCIP *scip, SCIP_VAR *var, SCIP_Real solvaldelta, SCIP_Real objdelta, SCIP_Real weight) SCIP_Real SCIPgetVarPseudocostVal (SCIP *scip, SCIP_VAR *var, SCIP_Real solvaldelta) SCIP_Real SCIPgetVarPseudocostValCurrentRun (SCIP *scip, SCIP_VAR *var, SCIP_Real solvaldelta) SCIP_Real SCIPgetVarPseudocost (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPgetVarPseudocostCurrentRun (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPgetVarPseudocostCount (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPgetVarPseudocostCountCurrentRun (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPgetVarPseudocostVariance (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir, SCIP_Bool onlycurrentrun) SCIP_Real SCIPcalculatePscostConfidenceBound (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir, SCIP_Bool onlycurrentrun, SCIP_CONFIDENCELEVEL clevel) SCIP_Bool SCIPsignificantVarPscostDifference (SCIP *scip, SCIP_VAR *varx, SCIP_Real fracx, SCIP_VAR *vary, SCIP_Real fracy, SCIP_BRANCHDIR dir, SCIP_CONFIDENCELEVEL clevel, SCIP_Bool onesided) SCIP_Bool SCIPpscostThresholdProbabilityTest (SCIP *scip, SCIP_VAR *var, SCIP_Real frac, SCIP_Real threshold, SCIP_BRANCHDIR dir, SCIP_CONFIDENCELEVEL clevel) SCIP_Bool SCIPisVarPscostRelerrorReliable (SCIP *scip, SCIP_VAR *var, SCIP_Real threshold, SCIP_CONFIDENCELEVEL clevel) SCIP_Real SCIPgetVarPseudocostScore (SCIP *scip, SCIP_VAR *var, SCIP_Real solval) SCIP_Real SCIPgetVarPseudocostScoreCurrentRun (SCIP *scip, SCIP_VAR *var, SCIP_Real solval) SCIP_Real SCIPgetVarVSIDS (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPgetVarVSIDSCurrentRun (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPgetVarConflictScore (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarConflictScoreCurrentRun (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarConflictlengthScore (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarConflictlengthScoreCurrentRun (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarAvgConflictlength (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPgetVarAvgConflictlengthCurrentRun (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPgetVarAvgInferences (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPgetVarAvgInferencesCurrentRun (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPgetVarAvgInferenceScore (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarAvgInferenceScoreCurrentRun (SCIP *scip, SCIP_VAR *var) SCIP_RETCODE SCIPinitVarBranchStats (SCIP *scip, SCIP_VAR *var, SCIP_Real downpscost, SCIP_Real uppscost, SCIP_Real downvsids, SCIP_Real upvsids, SCIP_Real downconflen, SCIP_Real upconflen, SCIP_Real downinfer, SCIP_Real upinfer, SCIP_Real downcutoff, SCIP_Real upcutoff) SCIP_RETCODE SCIPinitVarValueBranchStats (SCIP *scip, SCIP_VAR *var, SCIP_Real value, SCIP_Real downvsids, SCIP_Real upvsids, SCIP_Real downconflen, SCIP_Real upconflen, SCIP_Real downinfer, SCIP_Real upinfer, SCIP_Real downcutoff, SCIP_Real upcutoff) SCIP_Real SCIPgetVarAvgCutoffs (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPgetVarAvgCutoffsCurrentRun (SCIP *scip, SCIP_VAR *var, SCIP_BRANCHDIR dir) SCIP_Real SCIPgetVarAvgCutoffScore (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarAvgCutoffScoreCurrentRun (SCIP *scip, SCIP_VAR *var) SCIP_Real SCIPgetVarAvgInferenceCutoffScore (SCIP *scip, SCIP_VAR *var, SCIP_Real cutoffweight) SCIP_Real SCIPgetVarAvgInferenceCutoffScoreCurrentRun (SCIP *scip, SCIP_VAR *var, SCIP_Real cutoffweight) SCIP_Real SCIPgetVarAvgGMIScore (SCIP *scip, SCIP_VAR *var) SCIP_RETCODE SCIPincVarGMISumScore (SCIP *scip, SCIP_VAR *var, SCIP_Real gmieff) SCIP_Real SCIPgetVarLastGMIScore (SCIP *scip, SCIP_VAR *var) SCIP_RETCODE SCIPsetVarLastGMIScore (SCIP *scip, SCIP_VAR *var, SCIP_Real gmieff) SCIP_RETCODE SCIPprintVar (SCIP *scip, SCIP_VAR *var, FILE *file) ◆ SCIPvarGetNLocksDown() int SCIPvarGetNLocksDown ( SCIP_VAR * var )gets number of locks for rounding down
Definition at line 3416 of file var.c.
References SCIP_LOCKTYPE_MODEL, and SCIPvarGetNLocksDownType().
Referenced by checkRedundancy(), collectActivities(), collectSolActivities(), fixIntegerVariable(), propagateCons(), SCIPbendersExit(), SCIPisStrongbranchDownFirst(), SCIPlpGetUnboundedSol(), SCIPprobExitSolve(), and scoring().
◆ SCIPvarGetNLocksUp() int SCIPvarGetNLocksUp ( SCIP_VAR * var ) ◆ SCIPvarGetNLocksUpType()gets number of locks for rounding up of a special type
Definition at line 3353 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::donotaggr, SCIP_Var::donotmultaggr, SCIP_Var::multaggr, SCIP_Var::negatedvar, SCIP_Var::nlocksup, NLOCKTYPES, NULL, SCIP_Multaggr::nvars, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_Multaggr::scalars, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPerrorMessage, SCIPvarGetNLocksDownType(), SCIPvarGetNLocksUpType(), SCIPvarGetStatus(), SCIP_Original::transvar, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by applyAlternativeBoundsBranching(), applyAlternativeBoundsFixing(), applyProbing(), calcBdchgScore(), checkCands(), checkConsQuadraticProblem(), checkLocksAndRes(), chooseCoefVar(), chooseVeclenVar(), collectCliqueData(), compensateVarLock(), convertLongEquality(), createCoveringProblem(), dualPresolve(), dualPresolving(), extractGates(), findComponents(), findUnlockedLinearVar(), fixIntegerVariableUb(), fullDualPresolve(), getScore(), getScoreLikeCoefdiving(), isConsIndependently(), isSingleLockedCand(), multiAggregateBinvar(), performDualfix(), presolRoundIndicator(), presolStuffing(), presolveConsLct(), propagateCons(), propIndicator(), removeDoubleAndSingletonsAndPerformDualpresolve(), roundFixingValue(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPINITPRE(), SCIP_DECL_SORTPTRCOMP(), SCIPanalyzeDeductionsProbing(), SCIPapplyLockFixings(), SCIPapplyProbingVar(), SCIPmakeIndicatorFeasible(), SCIPmatrixCreate(), SCIPmatrixUplockConflict(), SCIPprintBranchingStatistics(), SCIPsolAdjustImplicitSolVals(), SCIPvarGetNLocksDownType(), SCIPvarGetNLocksUp(), SCIPvarGetNLocksUpType(), SCIPvarGetProbvarBinary(), SCIPvarMayRoundUp(), SCIPwriteMps(), selectEssentialRounding(), selectRounding(), selectShifting(), singletonColumnStuffing(), and sortVariables().
◆ SCIPvarGetNLocksDownType()gets number of locks for rounding down of a special type
Definition at line 3295 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::donotaggr, SCIP_Var::donotmultaggr, SCIP_Var::multaggr, SCIP_Var::negatedvar, SCIP_Var::nlocksdown, NLOCKTYPES, NULL, SCIP_Multaggr::nvars, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_Multaggr::scalars, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPerrorMessage, SCIPvarGetNLocksDownType(), SCIPvarGetNLocksUpType(), SCIPvarGetStatus(), SCIP_Original::transvar, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by addConsToOccurList(), applyAlternativeBoundsBranching(), applyAlternativeBoundsFixing(), applyProbing(), calcBdchgScore(), checkCands(), checkConsQuadraticProblem(), checkLocksAndRes(), chooseCoefVar(), chooseVeclenVar(), collectCliqueData(), compensateVarLock(), convertLongEquality(), createCoveringProblem(), dualPresolve(), dualPresolving(), extractGates(), findComponents(), findUnlockedLinearVar(), fixIntegerVariableLb(), fullDualPresolve(), getScore(), getScoreLikeCoefdiving(), isConsIndependently(), isSingleLockedCand(), multiAggregateBinvar(), performDualfix(), presolRoundIndicator(), presolStuffing(), presolveConsEst(), propagateCons(), propIndicator(), removeDoubleAndSingletonsAndPerformDualpresolve(), roundFixingValue(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPINITPRE(), SCIP_DECL_SORTPTRCOMP(), SCIPanalyzeDeductionsProbing(), SCIPapplyLockFixings(), SCIPapplyProbingVar(), SCIPmakeIndicatorFeasible(), SCIPmatrixCreate(), SCIPmatrixDownlockConflict(), SCIPprintBranchingStatistics(), SCIPsolAdjustImplicitSolVals(), SCIPvarGetNLocksDown(), SCIPvarGetNLocksDownType(), SCIPvarGetNLocksUpType(), SCIPvarMayRoundDown(), SCIPwriteMps(), selectEssentialRounding(), selectRounding(), selectShifting(), singletonColumnStuffing(), and sortVariables().
◆ SCIPvarMayRoundDown()is it possible, to round variable down and stay feasible?
Definition at line 3440 of file var.c.
References SCIP_LOCKTYPE_MODEL, and SCIPvarGetNLocksDownType().
Referenced by chooseCoefVar(), chooseDoubleVar(), chooseFracVar(), chooseGuidedVar(), choosePscostVar(), chooseVeclenVar(), makeSOS1conflictgraphFeasible(), makeSOS1constraintsFeasible(), performDualfix(), performRandRounding(), performSimpleRounding(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_HEUREXEC(), SCIPperformGenericDivingAlgorithm(), and SCIPsolRound().
◆ SCIPvarMayRoundUp()is it possible, to round variable up and stay feasible?
Definition at line 3451 of file var.c.
References SCIP_LOCKTYPE_MODEL, and SCIPvarGetNLocksUpType().
Referenced by chooseCoefVar(), chooseDoubleVar(), chooseFracVar(), chooseGuidedVar(), choosePscostVar(), chooseVeclenVar(), makeSOS1conflictgraphFeasible(), makeSOS1constraintsFeasible(), performDualfix(), performRandRounding(), performSimpleRounding(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_HEUREXEC(), SCIPperformGenericDivingAlgorithm(), and SCIPsolRound().
◆ SCIPvarCompareActiveAndNegated()compares the index of two variables, only active or negated variables are allowed, if a variable is negated then the index of the corresponding active variable is taken, returns -1 if first is smaller than, and +1 if first is greater than second variable index; returns 0 if both indices are equal, which means both variables are equal
compares the index of two variables, only active, fixed or negated variables are allowed, if a variable is negated then the index of the corresponding active variable is taken, returns -1 if first is smaller than, and +1 if first is greater than second variable index; returns 0 if both indices are equal, which means both variables are equal
Definition at line 11912 of file var.c.
References NULL, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_NEGATED, SCIPvarGetIndex(), SCIPvarGetNegatedVar(), SCIPvarGetStatus(), and SCIPvarIsActive().
Referenced by consdataSort(), liftCliqueVariables(), preprocessConstraintPairs(), SCIP_DECL_HASHKEYEQ(), and SCIP_DECL_SORTPTRCOMP().
◆ SCIP_DECL_SORTPTRCOMP() [1/3] SCIP_DECL_SORTPTRCOMP ( SCIPvarCompActiveAndNegated )comparison method for sorting active and negated variables by non-decreasing index, active and negated variables are handled as the same variables
Definition at line 11942 of file var.c.
References SCIPvarCompareActiveAndNegated().
◆ SCIPvarCompare()compares the index of two variables, returns -1 if first is smaller than, and +1 if first is greater than second variable index; returns 0 if both indices are equal, which means both variables are equal
Definition at line 11950 of file var.c.
References SCIP_Var::index, and NULL.
Referenced by addAuxexprCoefs(), addBranchingComplementaritiesSOS1(), bilinearTermsInsertEntry(), consdataSort(), detectRedundantConstraints(), extractGates(), generateBoundInequalityFromSOS1Nodes(), getBoundConsFromVertices(), nlrowAddLinearCoef(), passConComponentVarbound(), preprocessConstraintPairs(), propVariableNonzero(), removeRedundantConss(), removeRedundantNonZeros(), SCIP_DECL_HASHKEYEQ(), SCIP_DECL_HASHKEYVAL(), SCIP_DECL_SORTINDCOMP(), SCIP_DECL_SORTPTRCOMP(), SCIPgetBilinTermIdxNonlinear(), SCIPinsertBilinearTermImplicitNonlinear(), SCIPvarGetActiveRepresentatives(), SCIPvarsGetActiveVars(), and selectBranchVar().
◆ SCIP_DECL_SORTPTRCOMP() [2/3] SCIP_DECL_SORTPTRCOMP ( SCIPvarComp )comparison method for sorting variables by non-decreasing index
Definition at line 11970 of file var.c.
References SCIPvarCompare().
◆ SCIP_DECL_SORTPTRCOMP() [3/3] SCIP_DECL_SORTPTRCOMP ( SCIPvarCompObj ) ◆ SCIP_DECL_HASHGETKEY() SCIP_DECL_HASHGETKEY ( SCIPvarGetHashkey )hash key retrieval function for variables
Definition at line 11993 of file var.c.
◆ SCIP_DECL_HASHKEYEQ() SCIP_DECL_HASHKEYEQ ( SCIPvarIsHashkeyEq )returns TRUE iff the indices of both variables are equal
Definition at line 11999 of file var.c.
◆ SCIP_DECL_HASHKEYVAL() SCIP_DECL_HASHKEYVAL ( SCIPvarGetHashkeyVal ) ◆ SCIPvarsGetProbvar() void SCIPvarsGetProbvar ( SCIP_VAR ** vars, int nvars )gets corresponding active, fixed, or multi-aggregated problem variables of given variables,
Definition at line 12206 of file var.c.
References NULL, and SCIPvarGetProbvar().
Referenced by SCIPvarsGetActiveVars().
◆ SCIPvarGetProbvar()gets corresponding active, fixed, or multi-aggregated problem variable of a variable
Definition at line 12226 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::multaggr, SCIP_Var::name, SCIP_Var::negatedvar, NULL, SCIP_Multaggr::nvars, SCIP_Var::original, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPdebugMessage, SCIPerrorMessage, SCIPvarGetStatus(), SCIP_Original::transvar, TRUE, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by addCoef(), applyFixings(), cliquetableGetNodeIndexBinvar(), consdataCreate(), countNonlinearities(), getRandomVariable(), preprocessConstraintPairs(), processBinvarFixings(), processWatchedVars(), readSolFile(), readXmlSolFile(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_EVENTEXEC(), SCIPaddVarImplication(), SCIPcliquetableComputeCliqueComponents(), SCIPcreateConsAnd(), SCIPnodePropagateImplics(), SCIPtreeBranchVar(), SCIPtreeBranchVarNary(), SCIPvarGetLastBdchgIndex(), SCIPvarsGetProbvar(), SCIPvarWasFixedEarlier(), tightenedLinkvar(), and updateBestCandidate().
◆ SCIPvarsGetProbvarBinary() ◆ SCIPvarGetProbvarBinary()gets corresponding active, fixed, or multi-aggregated problem variable of a binary variable and updates the given negation status
gets corresponding active, fixed, or multi-aggregated problem variable of a binary variable and updates the given negation status (this means you have to assign a value to SCIP_Bool negated before calling this method, usually FALSE is used)
Definition at line 12318 of file var.c.
References active, SCIP_Var::aggregate, SCIP_Var::data, EPSEQ, EPSLE, EPSZ, FALSE, SCIP_Var::multaggr, SCIP_Var::negatedvar, NULL, SCIP_Var::original, REALABS, SCIP_Bool, SCIP_INVALIDDATA, SCIP_LOCKTYPE_MODEL, SCIP_OKAY, SCIP_Real, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPerrorMessage, SCIPvarGetNLocksUpType(), SCIPvarGetStatus(), SCIPvarGetUbGlobal(), SCIPvarIsBinary(), SCIP_Original::transvar, TRUE, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by cliqueCleanup(), cliquePresolve(), dualPresolving(), GUBsetCheck(), presolRoundIndicator(), SCIPgetBinvarRepresentative(), SCIPvarAddClique(), SCIPvarDelClique(), SCIPvarsGetProbvarBinary(), and tightenWeightsLift().
◆ SCIPvarGetProbvarBound()transforms given variable, boundtype and bound to the corresponding active, fixed, or multi-aggregated variable values
Definition at line 12477 of file var.c.
References SCIP_Var::aggregate, bound, SCIP_Var::data, SCIP_Var::multaggr, SCIP_Var::negatedvar, NULL, SCIP_Var::original, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPdebugMessage, SCIPerrorMessage, SCIPvarGetProbvarBound(), SCIPvarGetStatus(), SCIP_Original::transvar, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by addSplitcons(), applyBoundChanges(), changeAncestorBranchings(), dryBranch(), fixBounds(), fixInterdiction(), presolRoundIndicator(), removeFixedVariables(), SCIP_DECL_CONCSOLVERSYNCREAD(), SCIPnodeAddBoundinfer(), SCIPvarAddImplic(), and SCIPvarGetProbvarBound().
◆ SCIPvarGetProbvarHole()transforms given variable and domain hole to the corresponding active, fixed, or multi-aggregated variable values
Definition at line 12570 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::negatedvar, NULL, SCIP_Var::original, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPdebugMessage, SCIPerrorMessage, SCIPvarGetProbvarHole(), SCIPvarGetStatus(), SCIP_Original::transvar, and SCIP_Aggregate::var.
Referenced by SCIPnodeAddHoleinfer(), SCIPtreeBranchVarHole(), and SCIPvarGetProbvarHole().
◆ SCIPvarGetOrigvarSum()retransforms given variable, scalar and constant to the corresponding original variable, scalar and constant, if possible; if the retransformation is impossible, NULL is returned as variable
Definition at line 12782 of file var.c.
References SCIP_Var::aggregate, SCIP_Aggregate::constant, SCIP_Negate::constant, SCIP_Var::data, SCIP_Var::negate, SCIP_Var::negatedvar, NULL, SCIP_Var::parentvars, SCIP_Aggregate::scalar, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPerrorMessage, SCIPvarGetStatus(), SCIPvarIsOriginal(), and SCIP_Aggregate::var.
Referenced by checkConsQuadraticProblem(), collectDualInformation(), countSparseSol(), createAndAddTransferredCut(), createVariableMappings(), fixBounds(), getActiveVariables(), getActiveVariables2(), getBinVarsRepresentatives(), getLinearCoeffs(), reoptSimilarity(), saveConsBounddisjuction(), saveConsLinear(), SCIP_DECL_BENDERSGETVAR(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_EVENTEXEC(), SCIPapplyHeurDualval(), SCIPbendersGetStoredCutOrigData(), SCIPbendersMergeSubproblemIntoMaster(), SCIPcopyConsLinear(), SCIPgetReoptOldObjCoef(), SCIPgetSymActiveVariables(), SCIPreoptAddDualBndchg(), SCIPsolGetVal(), SCIPtransformDecompstore(), solveSubNLP(), storeCuts(), and transformIntoOrig().
◆ SCIPvarIsTransformedOrigvar()returns whether the given variable is the direct counterpart of an original problem variable
Definition at line 12869 of file var.c.
References FALSE, SCIP_Var::nparentvars, NULL, SCIP_Var::parentvars, SCIP_VARSTATUS_ORIGINAL, SCIPvarGetStatus(), and SCIPvarIsTransformed().
Referenced by createAndAddAndCons(), fixBounds(), fixInterdiction(), SCIPprobDelVar(), SCIPsolPrint(), SCIPsolPrintRay(), and SCIPwriteBnd().
◆ SCIPvarGetNBranchings()returns the number of times, a bound of the variable was changed in given direction due to branching
Definition at line 15707 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::history, SCIP_Var::negatedvar, NULL, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPbranchdirOpposite(), SCIPerrorMessage, SCIPhistoryGetNBranchings(), SCIPvarGetNBranchings(), SCIPvarGetStatus(), SCIP_Original::transvar, and SCIP_Aggregate::var.
Referenced by SCIPprintBranchingStatistics(), and SCIPvarGetNBranchings().
◆ SCIPvarGetNBranchingsCurrentRun()returns the number of times, a bound of the variable was changed in given direction due to branching in the current run
Definition at line 15752 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::historycrun, SCIP_Var::negatedvar, NULL, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPbranchdirOpposite(), SCIPerrorMessage, SCIPhistoryGetNBranchings(), SCIPvarGetNBranchingsCurrentRun(), SCIPvarGetStatus(), SCIP_Original::transvar, and SCIP_Aggregate::var.
Referenced by processWatchedVars(), and SCIPvarGetNBranchingsCurrentRun().
◆ SCIPvarGetInferenceSum()returns the number of inferences branching on this variable in given direction triggered
Definition at line 15987 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::history, SCIP_Var::negatedvar, NULL, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPbranchdirOpposite(), SCIPerrorMessage, SCIPhistoryGetInferenceSum(), SCIPvarGetInferenceSum(), SCIPvarGetStatus(), SCIP_Original::transvar, and SCIP_Aggregate::var.
Referenced by SCIPvarGetInferenceSum().
◆ SCIPvarGetInferenceSumCurrentRun()returns the number of inferences branching on this variable in given direction triggered in the current run
Definition at line 16032 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::historycrun, SCIP_Var::negatedvar, NULL, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPbranchdirOpposite(), SCIPerrorMessage, SCIPhistoryGetInferenceSum(), SCIPvarGetInferenceSumCurrentRun(), SCIPvarGetStatus(), SCIP_Original::transvar, and SCIP_Aggregate::var.
Referenced by SCIPvarGetInferenceSumCurrentRun().
◆ SCIPvarGetCutoffSum()returns the number of cutoffs branching on this variable in given direction produced
Definition at line 16187 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::history, SCIP_Var::negatedvar, NULL, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPbranchdirOpposite(), SCIPerrorMessage, SCIPhistoryGetCutoffSum(), SCIPvarGetCutoffSum(), SCIPvarGetStatus(), SCIP_Original::transvar, and SCIP_Aggregate::var.
Referenced by SCIPvarGetCutoffSum().
◆ SCIPvarGetCutoffSumCurrentRun()returns the number of cutoffs branching on this variable in given direction produced in the current run
Definition at line 16230 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::historycrun, SCIP_Var::negatedvar, NULL, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPbranchdirOpposite(), SCIPerrorMessage, SCIPhistoryGetCutoffSum(), SCIPvarGetCutoffSumCurrentRun(), SCIPvarGetStatus(), SCIP_Original::transvar, and SCIP_Aggregate::var.
Referenced by SCIPvarGetCutoffSumCurrentRun().
◆ SCIPvarGetAvgBranchdepth()returns the average depth of bound changes in given direction due to branching on the variable
Definition at line 15795 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::history, SCIP_Var::negatedvar, NULL, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPbranchdirOpposite(), SCIPerrorMessage, SCIPhistoryGetAvgBranchdepth(), SCIPvarGetAvgBranchdepth(), SCIPvarGetStatus(), SCIP_Original::transvar, and SCIP_Aggregate::var.
Referenced by SCIPprintBranchingStatistics(), and SCIPvarGetAvgBranchdepth().
◆ SCIPvarGetAvgBranchdepthCurrentRun()returns the average depth of bound changes in given direction due to branching on the variable in the current run
Definition at line 15840 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::historycrun, SCIP_Var::negatedvar, NULL, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPerrorMessage, SCIPhistoryGetAvgBranchdepth(), SCIPvarGetAvgBranchdepthCurrentRun(), SCIPvarGetStatus(), SCIP_Original::transvar, and SCIP_Aggregate::var.
Referenced by SCIPvarGetAvgBranchdepthCurrentRun().
◆ SCIPvarHasImplic() ◆ SCIPvarHasBinaryImplic()returns whether there is an implication x == varfixing -> y == implvarfixing in the implication graph; implications that are represented as cliques in the clique table are not regarded (use SCIPvarsHaveCommonClique()); both variables must be active binary variables
Definition at line 11139 of file var.c.
References SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIPvarHasImplic(), and SCIPvarIsBinary().
◆ SCIPvarGetImplicVarBounds() ◆ SCIPvarsHaveCommonClique()returns whether there is a clique that contains both given variable/value pairs; the variables must be active binary variables; if regardimplics is FALSE, only the cliques in the clique table are looked at; if regardimplics is TRUE, both the cliques and the implications of the implication graph are regarded
returns whether there is a clique that contains both given variable/value pairs; the variables must be active binary variables; if regardimplics is FALSE, only the cliques in the clique table are looked at; if regardimplics is TRUE, both the cliques and the implications of the implication graph are regarded
Definition at line 11483 of file var.c.
References SCIP_Var::cliquelist, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIPcliquelistsHaveCommonClique(), SCIPvarHasImplic(), SCIPvarIsActive(), and SCIPvarIsBinary().
Referenced by addCliques(), calcCliquePartitionGreedy(), cliquePresolve(), detectDominatingVlbs(), detectDominatingVubs(), detectProductsClique(), findFixings(), getMinactImplicObjchg(), GUBsetCalcCliquePartition(), GUBsetCheck(), liftCliqueVariables(), removeConstraintsDueToNegCliques(), and SCIPhaveVarsCommonClique().
◆ SCIPvarGetAggregatedObj()gets corresponding objective value of active, fixed, or multi-aggregated problem variable of given variable e.g. obj(x) = 1 this method returns for ~x the value -1
Definition at line 17956 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::multaggr, SCIP_Var::negatedvar, NULL, SCIP_Multaggr::nvars, SCIP_Aggregate::scalar, SCIP_Multaggr::scalars, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPvarGetAggregatedObj(), SCIPvarGetObj(), SCIPvarGetStatus(), SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by dualPresolve(), dualPresolving(), removeDoubleAndSingletonsAndPerformDualpresolve(), and SCIPvarGetAggregatedObj().
◆ SCIPvarSetInitial() ◆ SCIPvarSetRemovable() ◆ SCIPvarGetName() const char * SCIPvarGetName ( SCIP_VAR * var )returns the name of the variable
Definition at line 17427 of file var.c.
References SCIP_Var::name, and NULL.
Referenced by addAltLPColumn(), addBilinearTermToCut(), addBoundViolated(), addCand(), addCliques(), addCoef(), addColToCut(), addConflictBinvar(), addConflictBounds(), addConstraintToBendersSubproblem(), addCut(), addExprsViolScore(), addExprViolScoresAuxVars(), addFixedVarsConss(), addGenVBound(), addLinearTermToCut(), addNode(), addRegularScholtes(), addRltTerm(), addScenarioVarsToProb(), addSplitcons(), addStrongSBCsSubgroup(), addVarCardinality(), addWeakSBCsSubgroup(), adjustOversizedJobBounds(), aggregateVariables(), aggregation(), alnsFixMoreVariables(), alnsUnfixVariables(), analyseInfeasibelCoreInsertion(), analyseVarOnoffBounds(), analyzeEnergyRequirement(), analyzeGenVBoundConflict(), analyzeViolation(), analyzeZeroResultant(), appendVarCardinality(), applyAlternativeBoundsBranching(), applyBdchgs(), applyBoundChgs(), applyBoundHeur(), applyCliqueFixings(), applyDomainReductions(), applyFixings(), applyFixingsAndAggregations(), applyGenVBound(), applyObbtBilinear(), applyOptcumulativeFixings(), applyProbing(), applyRepair(), applyVboundsFixings(), applyZeroFixings(), boundchgApplyGlobal(), branch(), branchcandCalcLPCands(), branchcandInsertPseudoCand(), branchcandRemovePseudoCand(), branching(), branchingIntegralOrNonlinear(), branchOnVar(), branchUnbalancedCardinality(), calcBranchScore(), calcShiftVal(), cancelCol(), candidateFree(), candidateFreeWarmStartInfo(), candidateListGetAllFractionalCandidates(), catchVarEvents(), changeAncestorBranchings(), checkCons(), checkCumulativeCondition(), checkForOverlapping(), checkPackingPartitioningOrbitopeSolution(), checkSolution(), checkSystemGF2(), checkVarbound(), checkVarnames(), cliqueCleanup(), cliquePresolve(), colAddCoef(), collectActivities(), collectBinaryCliqueData(), collectBranchingCandidates(), collectBranchingCands(), collectLeafs(), collectMinactVar(), collectNonBinaryImplicationData(), collectNonBinaryVBoundData(), collectSolActivities(), collectSolution(), collectThetaSubtree(), colLink(), colUnlink(), compensateVarLock(), computeConvexEnvelopeFacet(), computeCut(), computeEnergyContribution(), computeImpliedEst(), computeImpliedLct(), computeOffValues(), computeRltCut(), computeStandardLPFeasibilityCut(), conflictAddBound(), conflictAddConflictBound(), conflictAddConflictCons(), conflictAnalyze(), conflictCreateReconvergenceConss(), conflictFirstCand(), conflictMarkBoundCheckPresence(), conflictResolveBound(), conflictsetAddBounds(), consdataCheckSuperindicator(), consdataCollectLinkingCons(), consdataCreate(), consdataCreateBinvars(), consdataDeletePos(), consdataFixOperandsOne(), consdataFixResultantZero(), consdataPrint(), consdataTightenCoefs(), constraintNonOverlappingGraph(), constructCompression(), constructSNFRelaxation(), convertBinaryEquality(), convertLongEquality(), convertUnaryEquality(), coretimesUpdateLb(), coretimesUpdateUb(), countSparseSol(), createAndAddAndCons(), createAndStoreSparseRays(), createAuxiliaryNonlinearSubproblem(), createAuxVar(), createBinaryConstraintName(), createBlockproblem(), createConsSetppc(), createConstraints(), createConsXorIntvar(), createCoreProfile(), createCoveringProblem(), createGenVBound(), createKKTComplementarityBinary(), createKKTComplementarityBounds(), createKKTDualCons(), createMIP(), createNAryBranch(), createSelectedSortedEventpointsSol(), createSubproblem(), createSubproblems(), createSubSCIP(), createTcliqueGraph(), createVariableMappings(), detectAndHandleSubgroups(), detectDominatingVlbs(), detectDominatingVubs(), detectHiddenProducts(), detectImplications(), detectImpliedBounds(), detectMinors(), detectProductsClique(), detectVarboundSOS1(), determineBound(), determineBoundForSNF(), determineVariableFixings(), dfs(), displayCycleOfSymmetry(), doSeachEcAggr(), dropVarEvent(), dryBranch(), dualPresolve(), dualPresolving(), enforceCardinality(), enforceConssSOS1(), enforceConstraint(), enforceConstraints(), enforceSOS2(), estimateBivariateQuotient(), estimateConvexSecant(), estimateGradientInner(), estimateUnivariateQuotient(), estimateVertexPolyhedral(), execRelpscost(), executeBranching(), executeBranchingRecursive(), exprIsSemicontinuous(), extractCycle(), extractProducts(), filterCandidates(), filterCands(), filterExistingLP(), findAggregation(), findCumulativeConss(), findNewBounds(), findScenarioVar(), findUncapacitatedArcs(), findUnlockedLinearVar(), fixAdditionalVars(), fixAndPropagate(), fixBounds(), fixDeleteOrUpgradeCons(), fixIntegerVariableLb(), fixIntegerVariableUb(), fixInterdiction(), fixVariable(), fixVariables(), fixVariableZeroNode(), forwardPropExpr(), freeAuxVar(), fullDualPresolve(), generateAndApplyBendersCuts(), getBinaryProductExprDo(), getConflictImplics(), getFactorizedBinaryQuadraticExpr(), getFixedVariable(), getMaxactImplicObjchg(), getNLPVarsNonConvexity(), getOldBranching(), getScenarioDecompVar(), GUBsetCheck(), GUBsetMoveVar(), handle1Cycle(), handleNewVariableSOS1(), inferboundsEdgeFinding(), initBounds(), initCurrent(), initData(), initSepa(), insertIndex(), liftCliqueVariables(), lpFlushAddCols(), lpFlushAddRows(), lpRemoveObsoleteCols(), markRowsXj(), maximalslack(), mergeMultiples(), multiAggregateBinvar(), nlpCalcFracVars(), nlpFlushVarAdditions(), nlrowAddLinearCoef(), nodepairqueueCreate(), notifyNlhdlrNewsol(), objimplicsCreate(), objimplicsDelPos(), optimize(), parseBase(), performAggregations(), performBranchingNoSol(), performBranchingSol(), performDualfix(), performFixing(), performImplicationGraphAnalysis(), performRandRounding(), performSimpleRounding(), performStrongbranchWithPropagation(), predBndStr(), preprocessConstraintPairs(), presolRoundCardinality(), presolRoundConsSOS1(), presolRoundIndicator(), presolRoundSOS2(), presolRoundVarsSOS1(), presolStuffing(), presolveAddKKTAggregatedVars(), presolveConsEst(), presolveConsLct(), presolveImplint(), presolvePropagateCons(), presolveRedundantConss(), presolveSingleLockedVars(), printActiveVariables(), printAggregatedCons(), printBoundSection(), printColumnSection(), printExpr(), printIndicatorCons(), printLinearCons(), printLinearRow(), printNLRow(), printRow(), printRowAnd(), printSignomial(), printSosCons(), processBinvarFixings(), processFixings(), processNlRow(), processRealBoundChg(), processWatchedVars(), propagateBinaryBestRootRedcost(), propagateCons(), propagateCutoffboundVar(), propagateLbTTEF(), propagateLowerBoundVar(), propagateRedcostBinvar(), propagateRedcostVar(), propagateRootRedcostBinvar(), propagateSelfReflectionVar(), propagateStaticOrbitope(), propagateTimetable(), propagateUbTTEF(), propagateUpperBoundSymVar(), propagateVbounds(), propCardinality(), propConsSOS1(), propdataInit(), propIndicator(), proposeFeasibleSolution(), propSOS2(), rangedRowPropagation(), readBinaries(), readBounds(), readCoefficients(), readCols(), readerdataAddOutputvar(), readGenerals(), readObjective(), readPolynomial(), readQCMatrix(), readQMatrix(), readSemicontinuous(), readSolFile(), readSOS(), readSos(), readVariables(), readXmlSolFile(), reformulateFactorizedBinaryQuadratic(), registerBranchingCandidates(), relaxVar(), removeConstraintsDueToNegCliques(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeFixedVariables(), removeIrrelevantJobs(), removeRedundantNonZeros(), reoptimize(), resetVarname(), resolveGenVBoundPropagation(), resolvePropagation(), resolvePropagationCoretimes(), respropCumulativeCondition(), rowAddCoef(), rowFindSlackVar(), rowprepCleanupImproveCoefrange(), rowprepCleanupIntegralCoefs(), rowprepRecordModifiedVar(), runVanillaStrongBranching(), scaleCons(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_BRANCHEXECPS(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSENFOPS(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSEXIT(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITLP(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSPARSE(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPRINT(), SCIP_DECL_CONSPROP(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_CONSSEPASOL(), SCIP_DECL_CONSTRANS(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EXPR_OWNERPRINT(), SCIP_DECL_EXPRPRINT(), SCIP_DECL_EXPRSIMPLIFY(), SCIP_DECL_HASHGETKEY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_NLHDLRENFO(), SCIP_DECL_NLHDLRINITSEPA(), SCIP_DECL_NLHDLRSOLLINEARIZE(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPRESPROP(), SCIP_DECL_READERWRITE(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_VERTEXPOLYFUN(), SCIPaddCoefLinear(), SCIPaddIneqBilinear(), SCIPaddVarCardinality(), SCIPaddVarSOS1(), SCIPaddVarSOS2(), SCIPaggrRowPrint(), SCIPanalyzeDeductionsProbing(), SCIPappendVarCardinality(), SCIPappendVarSOS1(), SCIPappendVarSOS2(), SCIPapplyHeurDualval(), SCIPapplyHeurSubNlp(), SCIPapplyLockFixings(), SCIPapplyProbingVar(), SCIPbendersGetVar(), SCIPbendersMergeSubproblemIntoMaster(), SCIPbendersSetupSubproblem(), SCIPbendersSolSlackVarsActive(), SCIPboundchgApply(), SCIPboundchgUndo(), SCIPbranchcandAddExternCand(), SCIPbranchExecExtern(), SCIPbranchVar(), SCIPbranchVarVal(), SCIPbranchVarValNary(), SCIPcatchVarEvent(), SCIPchgReoptObjective(), SCIPchgVarLb(), SCIPchgVarLbGlobal(), SCIPchgVarLbNode(), SCIPchgVarLbProbing(), SCIPchgVarType(), SCIPchgVarUb(), SCIPchgVarUbGlobal(), SCIPchgVarUbNode(), SCIPchgVarUbProbing(), SCIPcliqueAddVar(), SCIPcliqueDelVar(), SCIPcliquelistRemoveFromCliques(), SCIPcliquetableAdd(), SCIPcolChgLb(), SCIPcolChgObj(), SCIPcolChgUb(), SCIPcolDelCoef(), SCIPcolGetStrongbranch(), SCIPconflictAddRelaxedBound(), SCIPconflictAnalyzeRemainingBdchgs(), SCIPconflictAnalyzeStrongbranch(), SCIPconflictIsVarUsed(), SCIPcopyImplicationsCliques(), SCIPcreateConsAnd(), SCIPcreateConsCardinality(), SCIPcreateConsIndicatorGenericLinConsPure(), SCIPcreateConsKnapsack(), SCIPcreateConsLinear(), SCIPcreateConsLinking(), SCIPcreateConsLogicor(), SCIPcreateConsOr(), SCIPcreateConsXor(), SCIPcreateFiniteSolCopy(), SCIPcreateNlpiProblemFromNlRows(), SCIPdropVarEvent(), SCIPendStrongbranch(), SCIPeventqueueAdd(), SCIPexprDismantle(), SCIPgenerateAndApplyBendersOptCut(), SCIPgetVarCopy(), SCIPgetVarsStrongbranchesFrac(), SCIPgetVarsStrongbranchesInt(), SCIPgetVarStrongbranchFrac(), SCIPgetVarStrongbranchInt(), SCIPgetVarStrongbranchWithPropagation(), SCIPimplicsAdd(), SCIPimplicsDel(), SCIPincSolVal(), SCIPinferVarLbProp(), SCIPinferVarUbProp(), SCIPlpAddCol(), SCIPlpAddRow(), SCIPlpGetDualfarkas(), SCIPlpGetSol(), SCIPmatrixGetColName(), SCIPmatrixPrintRow(), SCIPnlpDelVar(), SCIPnlrowDelLinearCoef(), SCIPnlrowPrint(), SCIPnodeAddBoundinfer(), SCIPnodeAddHolechg(), SCIPnodeAddHoleinfer(), SCIPnodePrintAncestorBranchings(), SCIPperformGenericDivingAlgorithm(), SCIPpricestoreAddBdviolvar(), SCIPpricestoreAddProbVars(), SCIPpricestoreAddVar(), SCIPpricestoreApplyVars(), SCIPprimalTransformSol(), SCIPprintBranchingStatistics(), SCIPprintNodeRootPath(), SCIPprintRowprep(), SCIPprintRowprepSol(), SCIPprobAddVar(), SCIPprobDelVar(), SCIPprobExitSolve(), SCIPprobFree(), SCIPprobPerformVarDeletions(), SCIPprobPrintPseudoSol(), SCIPprobScaleObj(), SCIPreaderWrite(), SCIPreoptAddDualBndchg(), SCIPreoptApplyGlbConss(), SCIPreoptMergeVarHistory(), SCIProwDelCoef(), SCIProwPrint(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), SCIPseparateKnapsackCuts(), SCIPseparateRelaxedKnapsack(), SCIPsetBinaryVarIndicator(), SCIPsetSolVal(), SCIPsetSolVals(), SCIPshrinkDisjunctiveVarSet(), SCIPsolCheck(), SCIPsolCheckOrig(), SCIPsolIncVal(), SCIPsolPrint(), SCIPsolPrintRay(), SCIPsolSetVal(), SCIPstatComputeRootLPBestEstimate(), SCIPstatUpdateVarRootLPBestEstimate(), SCIPtightenVarLb(), SCIPtightenVarLbGlobal(), SCIPtightenVarUb(), SCIPtightenVarUbGlobal(), SCIPtreeBranchVar(), SCIPtreeBranchVarHole(), SCIPtreeBranchVarNary(), SCIPtreeCalcNodeselPriority(), SCIPundoBdchgsProof(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarCopy(), SCIPvarGetImplRedcost(), SCIPvarIncVSIDS(), SCIPvarMultiaggregate(), SCIPvarPrint(), SCIPvarRemoveCliquesImplicsVbs(), SCIPvarSetNLPSol(), SCIPvarSetRelaxSol(), SCIPvarUpdateBestRootSol(), SCIPvarUpdatePseudocost(), SCIPvisualCutoffNode(), SCIPvisualizeConsCumulative(), SCIPvisualNewChild(), SCIPvisualSolvedNode(), SCIPvisualUpdateChild(), SCIPwriteBnd(), SCIPwriteCliqueGraph(), SCIPwriteGms(), SCIPwriteLp(), SCIPwriteMps(), SCIPwritePip(), SCIPwriteVarName(), scoreBranchingCandidates(), scoreContainerSetScore(), selectBestCands(), selectBranchingCandidate(), selectInitialVariableDecomposition(), selectInitialVariableRandomly(), selectVarMultAggrBranching(), selectVarRecursive(), selectVarStart(), sepadataAddMinor(), sepaImplBoundCutsSOS1(), separateCuts(), separateMcCormickImplicit(), separateRltCuts(), sepastoreApplyLb(), sepastoreApplyUb(), setupAndSolveFiniteSolSubscip(), simplifyInequalities(), solUnlinkVar(), solveAndEvalSubscip(), solveBilinearLP(), solveNlp(), solveNode(), solveSubNLP(), sortAndMergeClique(), strengthenVarbounds(), tarjan(), tightenAuxVarBounds(), tightenCoefs(), tightenDualproof(), tightenedLinkvar(), tightenSingleVar(), tightenVarBounds(), tightenVarBoundsEasy(), tightenVariables(), tightenVarLb(), tightenVarsBoundsSOS1(), tightenVarUb(), tightenWeights(), tightenWeightsLift(), transformAndSolve(), transformVariable(), treeApplyPendingBdchgs(), tryFixVar(), updateArcData(), updateAuxiliaryVarLowerbound(), updateBestCandidate(), updatePseudocost(), upgradeConss(), usePreviousResult(), varAddImplic(), varAddLbchginfo(), varAddUbchginfo(), varAddVbound(), varHasName(), varIsSemicontinuous(), varProcessAddHoleGlobal(), varProcessAddHoleLocal(), varProcessChgLbGlobal(), varProcessChgUbGlobal(), writeFzn(), writeOpbFixedVars(), writeOpbObjective(), and writeOpbRelevantAnds().
◆ SCIPvarGetNUses() ◆ SCIPvarGetData() ◆ SCIPvarSetData() ◆ SCIPvarSetDelorigData() ◆ SCIPvarSetTransData() ◆ SCIPvarSetDeltransData() ◆ SCIPvarSetCopyData()sets method to copy this variable into sub-SCIPs
Definition at line 17503 of file var.c.
References NULL.
◆ SCIPvarGetStatus()gets status of variable
Definition at line 17546 of file var.c.
References NULL, and SCIP_Var::varstatus.
Referenced by addAltLPConstraint(), addBdchg(), addCliques(), addCoef(), addSplitcons(), applyBoundChanges(), applyFixings(), applyGenVBound(), applyObbt(), applyRepair(), assignVars(), branchcandCalcLPCands(), branchOnBin(), calcBdchgScore(), calcBranchScore(), calcVarBoundsDominated(), calcVarBoundsDominating(), changeAncestorBranchings(), checkForOverlapping(), checkSystemGF2(), cleanupHashDatas(), cliqueCleanup(), cliquePresolve(), colCalcInternalFarkasCoef(), colCalcInternalRedcost(), collectAggregatedVars(), computeAlternativeBounds(), computeCut(), conflictAddBound(), conflictResolveBound(), consdataCreate(), constructValidSolution(), convertToActiveVar(), correctConshdlrdata(), correctPresoldata(), createBlockproblem(), createCGCutCMIR(), createCGCuts(), createCoveringProblem(), createKKTComplementarityBounds(), createNAryBranch(), createNewSol(), createPresoldata(), determineVariableFixings(), enforceCardinality(), enforceConflictgraph(), enforceIndicators(), exitPresolve(), fixDeleteOrUpgradeCons(), fixVariables(), fixVariableZero(), fixVariableZeroNode(), getActiveVar(), getActiveVariables(), getBranchCands(), getDualBranchscore(), getImplVarRedcost(), getLinearCoeffs(), getNActiveConsScore(), getNVarsIndicators(), getRandomVariable(), getVariablePscostScore(), getVariableRedcostScore(), includeVarGenVBound(), inferVariableZero(), initLP(), liftCliqueVariables(), lpFlushAddCols(), lpFlushChgCols(), lpUpdateObjval(), lpUpdateVarColumn(), lpUpdateVarColumnProved(), lpUpdateVarLoose(), lpUpdateVarLooseProved(), lpUpdateVarProved(), markNeighborsMWISHeuristic(), markRowsXj(), mergeMultiples(), nlrowRemoveFixedLinearCoefPos(), optimize(), performInteriorSolCutStrengthening(), performRandRounding(), performSimpleRounding(), performStrongbranchSOS1(), preprocessCliques(), presolRoundIndicator(), presolve(), presolveAddKKTAggregatedVars(), printBoundSection(), probInsertVar(), probRemoveVar(), processBinvarFixings(), processRealBoundChg(), processWatchedVars(), propagateCons(), propIndicator(), propVariableNonzero(), readSolFile(), readXmlSolFile(), recomputeLooseObjectiveValue(), relaxVar(), removeConstraintsDueToNegCliques(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeFixedVariables(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONCSOLVERSYNCREAD(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPRINT(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HASHKEYVAL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_NLHDLRENFO(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPEXITPRE(), SCIP_DECL_READERWRITE(), SCIPaddPricedVar(), SCIPaddVar(), SCIPaggregateVars(), SCIPapplyLockFixings(), SCIPboundchgApply(), SCIPboundchgUndo(), SCIPbranchcandAddExternCand(), SCIPbranchcandGetPseudoCands(), SCIPbranchcandUpdateVar(), SCIPchgReoptObjective(), SCIPcliqueAddVar(), SCIPcliquetableAdd(), SCIPcliquetableCleanup(), SCIPcolCalcFarkasCoef(), SCIPcolCalcRedcost(), SCIPcolChgLb(), SCIPcolChgObj(), SCIPcolChgUb(), SCIPcolFree(), SCIPcolGetStrongbranch(), SCIPcolGetStrongbranches(), SCIPcolInvalidateStrongbranchData(), SCIPcolSetStrongbranchData(), SCIPcomputeVarLbGlobal(), SCIPcomputeVarLbLocal(), SCIPcomputeVarUbGlobal(), SCIPcomputeVarUbLocal(), SCIPconflictAddBound(), SCIPconflictAddRelaxedBound(), SCIPconflictAnalyzeRemainingBdchgs(), SCIPconflictIsVarUsed(), SCIPcreateFiniteSolCopy(), SCIPdelVar(), SCIPdomchgAddBoundchg(), SCIPeventCreateImplAdded(), SCIPeventCreateVarFixed(), SCIPeventCreateVarUnlocked(), SCIPeventProcess(), SCIPfixVar(), SCIPgetRowprepViolation(), SCIPgetVarCopy(), SCIPgetVarFarkasCoef(), SCIPgetVarImplRedcost(), SCIPgetVarLbAtIndex(), SCIPgetVarMultaggrLbGlobal(), SCIPgetVarMultaggrLbLocal(), SCIPgetVarMultaggrUbGlobal(), SCIPgetVarMultaggrUbLocal(), SCIPgetVarNStrongbranchs(), SCIPgetVarRedcost(), SCIPgetVarsStrongbranchesFrac(), SCIPgetVarsStrongbranchesInt(), SCIPgetVarStrongbranchFrac(), SCIPgetVarStrongbranchInt(), SCIPgetVarStrongbranchLast(), SCIPgetVarStrongbranchLPAge(), SCIPgetVarStrongbranchNode(), SCIPgetVarStrongbranchWithPropagation(), SCIPgetVarUbAtIndex(), SCIPimplicsAdd(), SCIPlpAddCol(), SCIPlpEndDive(), SCIPlpMarkFlushed(), SCIPlpShrinkCols(), SCIPlpStartDive(), SCIPlpSumRows(), SCIPlpUpdateAddVar(), SCIPlpUpdateDelVar(), SCIPlpUpdateVarLb(), SCIPlpUpdateVarObj(), SCIPlpUpdateVarUb(), SCIPmakeIndicatorFeasible(), SCIPmergeVariableStatistics(), SCIPnlrowAddLinearCoef(), SCIPnodeAddBoundinfer(), SCIPnodeAddHoleinfer(), SCIPnodePropagateImplics(), SCIPpricestoreAddProbVars(), SCIPpricestoreApplyVars(), SCIPprimalTransformSol(), SCIPprobAddVar(), SCIPprobChgVarType(), SCIPprobDelVar(), SCIPprobExitSolve(), SCIPprobPerformVarDeletions(), SCIPprobUpdateBestRootSol(), SCIPprobVarChangedStatus(), SCIPrelaxationUpdateVarObj(), SCIPreoptApplyCuts(), SCIProwCalcIntegralScalar(), SCIProwPrint(), SCIProwRecalcPseudoActivity(), SCIPsetVarStrongbranchData(), SCIPsolAdjustImplicitSolVals(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPsolIncVal(), SCIPsolRound(), SCIPsolSetVal(), SCIPsolUpdateVarObj(), SCIPstatUpdateVarRootLPBestEstimate(), SCIPtreeBranchVar(), SCIPtreeBranchVarHole(), SCIPtreeBranchVarNary(), SCIPvarAddClique(), SCIPvarAddCliqueToList(), SCIPvarAddHoleGlobal(), SCIPvarAddHoleLocal(), SCIPvarAddHoleOriginal(), SCIPvarAddImplic(), SCIPvarAddLocks(), SCIPvarAddObj(), SCIPvarAddToRow(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarAggregate(), SCIPvarChgBranchDirection(), SCIPvarChgBranchFactor(), SCIPvarChgBranchPriority(), SCIPvarChgLbDive(), SCIPvarChgLbGlobal(), SCIPvarChgLbLazy(), SCIPvarChgLbLocal(), SCIPvarChgLbOriginal(), SCIPvarChgObj(), SCIPvarChgObjDive(), SCIPvarChgUbDive(), SCIPvarChgUbGlobal(), SCIPvarChgUbLazy(), SCIPvarChgUbLocal(), SCIPvarChgUbOriginal(), SCIPvarColumn(), SCIPvarCompareActiveAndNegated(), SCIPvarCopy(), SCIPvarDelClique(), SCIPvarDoNotAggr(), SCIPvarDoNotMultaggr(), SCIPvarFix(), SCIPvarFlattenAggregationGraph(), SCIPvarGetActiveRepresentatives(), SCIPvarGetAggrConstant(), SCIPvarGetAggregatedObj(), SCIPvarGetAggrScalar(), SCIPvarGetAggrVar(), SCIPvarGetAvgBranchdepth(), SCIPvarGetAvgBranchdepthCurrentRun(), SCIPvarGetAvgConflictlength(), SCIPvarGetAvgConflictlengthCurrentRun(), SCIPvarGetAvgCutoffs(), SCIPvarGetAvgCutoffsCurrentRun(), SCIPvarGetAvgGMIScore(), SCIPvarGetAvgInferences(), SCIPvarGetAvgInferencesCurrentRun(), SCIPvarGetAvgSol(), SCIPvarGetBestRootLPObjval(), SCIPvarGetBestRootRedcost(), SCIPvarGetBestRootSol(), SCIPvarGetCol(), SCIPvarGetCutoffSum(), SCIPvarGetCutoffSumCurrentRun(), SCIPvarGetHolelistOriginal(), SCIPvarGetImplRedcost(), SCIPvarGetInferenceSum(), SCIPvarGetInferenceSumCurrentRun(), SCIPvarGetLastBdchgIndex(), SCIPvarGetLastGMIScore(), SCIPvarGetLbAtIndex(), SCIPvarGetLbLP(), SCIPvarGetLbOriginal(), SCIPvarGetLPSol(), SCIPvarGetLPSol_rec(), SCIPvarGetMultaggrConstant(), SCIPvarGetMultaggrLbGlobal(), SCIPvarGetMultaggrLbLocal(), SCIPvarGetMultaggrNVars(), SCIPvarGetMultaggrScalars(), SCIPvarGetMultaggrUbGlobal(), SCIPvarGetMultaggrUbLocal(), SCIPvarGetMultaggrVars(), SCIPvarGetNActiveConflicts(), SCIPvarGetNActiveConflictsCurrentRun(), SCIPvarGetNBranchings(), SCIPvarGetNBranchingsCurrentRun(), SCIPvarGetNegationConstant(), SCIPvarGetNegationVar(), SCIPvarGetNLocksDownType(), SCIPvarGetNLocksUpType(), SCIPvarGetNLPSol(), SCIPvarGetNLPSol_rec(), SCIPvarGetObjLP(), SCIPvarGetOrigvarSum(), SCIPvarGetProbvar(), SCIPvarGetProbvarBinary(), SCIPvarGetProbvarBound(), SCIPvarGetProbvarHole(), SCIPvarGetProbvarSum(), SCIPvarGetPseudocost(), SCIPvarGetPseudocostCount(), SCIPvarGetPseudocostCountCurrentRun(), SCIPvarGetPseudocostCurrentRun(), SCIPvarGetPseudocostVariance(), SCIPvarGetPseudoSol(), SCIPvarGetPseudoSol_rec(), SCIPvarGetRelaxSol(), SCIPvarGetRelaxSolTransVar(), SCIPvarGetRootSol(), SCIPvarGetTransformed(), SCIPvarGetTransVar(), SCIPvarGetUbAtIndex(), SCIPvarGetUbLP(), SCIPvarGetUbOriginal(), SCIPvarGetVSIDS(), SCIPvarGetVSIDS_rec(), SCIPvarGetVSIDSCurrentRun(), SCIPvarIncCutoffSum(), SCIPvarIncGMIeffSum(), SCIPvarIncInferenceSum(), SCIPvarIncNActiveConflicts(), SCIPvarIncNBranchings(), SCIPvarIncVSIDS(), SCIPvarIsInLP(), SCIPvarIsNegated(), SCIPvarIsOriginal(), SCIPvarIsTransformed(), SCIPvarIsTransformedOrigvar(), SCIPvarLoose(), SCIPvarMarkDoNotAggr(), SCIPvarMarkDoNotMultaggr(), SCIPvarMultiaggregate(), SCIPvarNegate(), SCIPvarPrint(), SCIPvarRemove(), SCIPvarRemoveCliquesImplicsVbs(), SCIPvarsAddClique(), SCIPvarScaleVSIDS(), SCIPvarSetDelorigData(), SCIPvarSetLastGMIScore(), SCIPvarSetNLPSol(), SCIPvarSetRelaxSol(), SCIPvarSetTransData(), SCIPvarsGetActiveVars(), SCIPvarTransform(), SCIPvarTryAggregateVars(), SCIPvarUpdatePseudocost(), SCIPvarWasFixedEarlier(), SCIPvboundsAdd(), SCIPwriteGms(), SCIPwriteLp(), SCIPwriteMps(), SCIPwritePip(), selectVarMultAggrBranching(), separateCons(), shortenConss(), solUnlinkVar(), solveLp(), sortAndMergeClique(), tightenedLinkvar(), tightenVarBounds(), tightenVarBoundsEasy(), tightenVarsBoundsSOS1(), tryAddGadgetSquaredDifference(), tryAggregateIntVars(), updateBestCandidate(), updateConsanddataUses(), updateSubproblemLowerbound(), varAddImplic(), varAddParent(), varAddTransitiveImplic(), varEventGlbChanged(), varEventGubChanged(), varEventLbChanged(), varEventObjChanged(), varEventUbChanged(), varEventVarFixed(), varFree(), varFreeParents(), varGetActiveVar(), varGetObjDelta(), varIsInteresting(), varMayRoundDown(), varMayRoundUp(), varProcessAddHoleGlobal(), varProcessAddHoleLocal(), varProcessChgBranchDirection(), varProcessChgBranchFactor(), varProcessChgBranchPriority(), varProcessChgLbGlobal(), varProcessChgLbLocal(), varProcessChgUbGlobal(), varProcessChgUbLocal(), varSetProbindex(), writeOpbConstraints(), and writeOpbObjective().
◆ SCIPvarIsOriginal()returns whether the variable belongs to the original problem
Definition at line 17556 of file var.c.
References SCIP_Var::negatedvar, NULL, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, and SCIPvarGetStatus().
Referenced by addGlobalCut(), addSplitcons(), changeAncestorBranchings(), collectDualInformation(), consdataFree(), constructCompression(), createAndAddAndCons(), fixBounds(), reoptSaveNewObj(), reoptSimilarity(), SCIP_DECL_EXPRSIMPLIFY(), SCIPcatchVarEvent(), SCIPchgCoefLinear(), SCIPchgReoptObjective(), SCIPcopyConsLinear(), SCIPdropVarEvent(), SCIPgetConcurrentVaridx(), SCIPgetReoptOldObjCoef(), SCIPreoptAddDualBndchg(), SCIPreoptApplyCuts(), SCIPreoptApplyGlbConss(), SCIPreoptMergeVarHistory(), SCIPreoptUpdateVarHistory(), SCIPvarGetHolelistOriginal(), SCIPvarGetLbOriginal(), SCIPvarGetOrigvarSum(), SCIPvarGetUbOriginal(), SCIPvarResetBounds(), separateSolution(), and transformIntoOrig().
◆ SCIPvarIsTransformed()returns whether the variable belongs to the transformed problem
Definition at line 17569 of file var.c.
References SCIP_Var::negatedvar, NULL, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, and SCIPvarGetStatus().
Referenced by addCoef(), addExtendedAsymmetricFormulation(), addExtendedFlowFormulation(), addOrbitope(), addSplitcons(), addVarCardinality(), addVarSOS1(), addVarSOS2(), appendVarCardinality(), appendVarSOS1(), appendVarSOS2(), applyFixings(), assignVars(), changeAncestorBranchings(), chgCoefPos(), consCatchEvent(), delCoefPos(), lexdataCreate(), nlpAddVars(), SCIP_DECL_CONSDEACTIVE(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSINIT(), SCIP_DECL_EVENTEXEC(), SCIPaddVarLocksType(), SCIPaddVarObj(), SCIPchgVarLb(), SCIPchgVarLbGlobal(), SCIPchgVarObj(), SCIPchgVarType(), SCIPchgVarUb(), SCIPchgVarUbGlobal(), SCIPcreateConsSOS1(), SCIPgetTransformedVar(), SCIPgetTransformedVars(), SCIPincSolVal(), SCIPinferBinvarCons(), SCIPinferBinvarProp(), SCIPinferVarLbCons(), SCIPinferVarLbProp(), SCIPinferVarUbCons(), SCIPinferVarUbProp(), SCIPlockVarCons(), SCIPnlpAddVar(), SCIPreleaseVar(), SCIPsetSolVal(), SCIPsetSolVals(), SCIPsolGetVal(), SCIPsolMarkPartial(), SCIPtightenVarLb(), SCIPtightenVarLbGlobal(), SCIPtightenVarUb(), SCIPtightenVarUbGlobal(), SCIPtransformVar(), SCIPtransformVars(), SCIPunlockVarCons(), SCIPvarAddHoleOriginal(), SCIPvarCatchEvent(), SCIPvarChgLbOriginal(), SCIPvarChgUbOriginal(), SCIPvarDropEvent(), SCIPvarIsTransformedOrigvar(), SCIPvarNegate(), SCIPvarPrint(), SCIPvarRemove(), SCIPwriteBnd(), setIntvar(), shadowtreeFillNodeDepthBranchIndices(), solUnlinkVar(), tightenBounds(), transformToOrig(), varEnsureLbchginfosSize(), varEnsureUbchginfosSize(), varEventGholeAdded(), varEventGlbChanged(), varEventGubChanged(), varEventLbChanged(), varEventObjChanged(), varEventUbChanged(), varIncRootboundchgs(), varProcessAddHoleGlobal(), varProcessChgLbGlobal(), varProcessChgLbLocal(), varProcessChgUbGlobal(), and varProcessChgUbLocal().
◆ SCIPvarIsNegated()returns whether the variable was created by negation of a different variable
Definition at line 17582 of file var.c.
References NULL, SCIP_VARSTATUS_NEGATED, and SCIPvarGetStatus().
Referenced by addCliqueDataEntry(), addCliques(), addSplitcons(), applyFixings(), checkEqualObjective(), checkParallelObjective(), checkSolution(), checkSystemGF2(), collectCliqueData(), computeRanks(), correctLocksAndCaptures(), createCoveringProblem(), createSubSCIP(), decompGetConsVarsAndLabels(), extractGates(), findAggregation(), getLinVarsAndAndRess(), mergeMultiples(), packingUpgrade(), preprocessCliques(), presolRoundIndicator(), printIndicatorCons(), printNLRow(), printRow(), propagateCons(), removeConstraintsDueToNegCliques(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_SORTPTRCOMP(), SCIPapplyHeurDualval(), SCIPchgVarType(), SCIPcomputeDecompVarsLabels(), SCIPcreateConsOrbitope(), SCIPwriteLp(), SCIPwriteMps(), SCIPwriteVarName(), setObjective(), tryUpgradingXor(), varGetObjDelta(), writeOpbObjective(), and writeOpbRelevantAnds().
◆ SCIPvarGetType()gets type of variable
Definition at line 17592 of file var.c.
References NULL, and SCIP_Var::vartype.
Referenced by addCoef(), addConstraintToBendersSubproblem(), addFixedVarsConss(), addGlobalCut(), addLinearConstraints(), addLocalBranchingConstraint(), addLocalbranchingConstraintAndObjcutoff(), addRelaxation(), addRltTerm(), addScenarioVarsToProb(), addSplitcons(), addSSTConss(), addVarboundConstraints(), aggregateVariables(), aggregation(), applyBoundChanges(), applyBoundHeur(), applyFixings(), applyNlobbt(), applyRepair(), applyVboundsFixings(), areBoundsChanged(), branchcandCalcLPCands(), branchcandInsertPseudoCand(), branchcandRemovePseudoCand(), branchingIntegralOrNonlinear(), calcBranchScore(), cancelCol(), checkAndGetVarbound(), checkRedundancy(), checkRedundancySide(), checkVarbound(), chooseVeclenVar(), colIsDiscrete(), collectNonBinaryImplicationData(), collectNonBinaryVBoundData(), compareVars(), compareVarsSignedPerm(), compensateVarLock(), componentPackingPartitioningOrbisackUpgrade(), computeDynamicRowOrder(), computeIntegerVariableBounds(), computeIntegerVariableBoundsDins(), computeMonoidalStrengthCoef(), conflictAddBound(), conflictResolveBound(), consdataCheckNonbinvar(), consdataCreate(), consdataTightenCoefs(), convertLongEquality(), copyVars(), countSparseSol(), createAndSplitProblem(), createCGMIPprimalsols(), createConsXorIntvar(), CUTOFF_CONSTRAINT(), cutsRoundStrongCG(), cutsTransformKnapsackCover(), DECL_VARFIXINGS(), decompHorizonInitialize(), delCoefPos(), detectHiddenProducts(), detectProductsClique(), detectProductsImplbnd(), determineBestBounds(), determineBoundForSNF(), determineVariableFixingsDecomp(), dfs(), domchgMakeDynamic(), dualBoundStrengthening(), dualPresolve(), ensureSymmetryMovedpermvarscountsComputed(), extractCapacityRows(), extractCliques(), extractFlowRows(), extractProducts(), fillRelationTables(), findBestLb(), findBestUb(), findFixings(), findVarAggrRedVbcons(), fixAndPropagate(), fixInterdiction(), fixMatchingSolutionValues(), forbidFixation(), fullDualPresolve(), generateGMICuts(), getBinVarIdxInDownlockRow(), getBinVarIdxInUplockRow(), getScenarioDecompVar(), getScore(), getScoreOfFarkasDiving(), getVarWeight(), heurExec(), initData(), isBoundchgUseless(), isFixedVar(), isPseudocostUpdateValid(), isSingleLockedCand(), isVlb(), isVub(), level2dataGetResult(), level2dataStoreResult(), mergeMultiples(), nlpCalcFracVars(), AMPLProblemHandler::OnVarBounds(), optimize(), performSimpleRounding(), predBndStr(), presolStuffing(), presolveSingleLockedVars(), prettifyConss(), printBoundSection(), printColumnSection(), printLinearCons(), probInsertVar(), probRemoveVar(), propagateStaticLexred(), propagateStaticOrbitope(), rangedRowPropagation(), readBounds(), readIndicators(), registerBranchingCandidates(), removeDoubleAndSingletonsAndPerformDualpresolve(), resolvePropagation(), roundPartition(), rowCalculateGauss(), rowFindSlackVar(), rowIsBranchRow(), sampleRandomPoints(), saveGlobalCons(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONCSOLVERSYNCREAD(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPRINT(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EVENTEXITSOL(), SCIP_DECL_EVENTINITSOL(), SCIP_DECL_EXPR_INTEVALVAR(), SCIP_DECL_HEUREXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_NONLINCONSUPGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SORTINDCOMP(), SCIP_DECL_SORTPTRCOMP(), SCIPaddTrustregionNeighborhoodConstraint(), SCIPaddVarImplication(), SCIPaddVarIndicator(), SCIPaddVarVlb(), SCIPaddVarVub(), SCIPanalyzeDeductionsProbing(), SCIPapplyLockFixings(), SCIPbendersChgMastervarsToCont(), SCIPbendersMergeSubproblemIntoMaster(), SCIPbranchcandAddExternCand(), SCIPbranchcandContainsExternCand(), SCIPbranchcandGetPseudoCands(), SCIPbranchcandUpdateVar(), SCIPbranchExecLP(), SCIPbranchExecPseudo(), SCIPbranchGetBranchingPoint(), SCIPbranchVar(), SCIPbranchVarVal(), SCIPbranchVarValNary(), SCIPcalcChildEstimateIncrease(), SCIPchgVarType(), SCIPclassifyConstraintTypesLinear(), SCIPcliquetableCleanup(), SCIPconflictAnalyzeRemainingBdchgs(), SCIPcreateConsAnd(), SCIPcreateConsIndicatorGeneric(), SCIPcreateConsIndicatorGenericLinCons(), SCIPcreateConsIndicatorGenericLinConsPure(), SCIPdomchgAddBoundchg(), SCIPdomchgMakeStatic(), SCIPisObjIntegral(), SCIPnlpHasContinuousNonlinearity(), SCIPprobCheckObjIntegral(), SCIPprobChgVarType(), SCIPreoptApplyGlbConss(), SCIPreoptnodeAddCons(), SCIPreoptSplitRoot(), SCIPsetBinaryVarIndicator(), SCIPsetLinearConsIndicator(), SCIPshrinkDisjunctiveVarSet(), SCIPsolAdjustImplicitSolVals(), SCIPtreeBranchVar(), SCIPtreeBranchVarHole(), SCIPtreeBranchVarNary(), SCIPtreeCalcChildEstimate(), SCIPupgradeConsLinear(), SCIPvarAddHoleGlobal(), SCIPvarAddHoleLocal(), SCIPvarAddHoleOriginal(), SCIPvarAddImplic(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarAdjustLb(), SCIPvarAdjustUb(), SCIPvarAggregate(), SCIPvarChgLbGlobal(), SCIPvarChgLbLocal(), SCIPvarChgLbOriginal(), SCIPvarChgType(), SCIPvarChgUbGlobal(), SCIPvarChgUbLocal(), SCIPvarChgUbOriginal(), SCIPvarCopy(), SCIPvarIsBinary(), SCIPvarIsIntegral(), SCIPvarNegate(), SCIPvarPrint(), SCIPvarRemoveCliquesImplicsVbs(), SCIPvarTransform(), SCIPvarTryAggregateVars(), SCIPvboundsAdd(), SCIPwriteGms(), SCIPwriteLp(), SCIPwriteMps(), SCIPwritePip(), SCIPwriteVarName(), scoreBranchingCandidates(), selectEssentialRounding(), selectInitialVariableDecomposition(), selectInitialVariableRandomly(), selectOrbitLeaderSSTConss(), selectRounding(), selectShifting(), selectVarMultAggrBranching(), separateCons(), separateCuts(), separateGLS(), separateHeur(), separateSolution(), setupAndSolveSubscipRapidlearning(), simplifyInequalities(), singletonColumnStuffing(), soltreeAddSol(), solveNode(), sortComponents(), tcliquegraphAddNode(), tcliquegraphConstructCliqueTable(), tightenBounds(), tightenCoefs(), tightenDualproof(), tightenSides(), tightenVarLb(), tightenVarUb(), transformAndSolve(), tryAdd2variableBuffer(), tryAggregateIntVars(), updateActivities(), updateBestCandidate(), updatePseudocost(), useValuehistory(), varAddImplic(), varAddLbchginfo(), varAddTransitiveImplic(), varAddUbchginfo(), varGetChar(), varIsDiscrete(), varIsSemicontinuous(), varIsUnfixedLocal(), varProcessAddHoleGlobal(), varProcessAddHoleLocal(), varProcessBoundChanges(), varProcessChgLbGlobal(), varProcessChgLbLocal(), varProcessChgUbGlobal(), varProcessChgUbLocal(), writeFzn(), and writeOpbConstraints().
◆ SCIPvarIsBinary()returns TRUE if the variable is of binary type; this is the case if: (1) variable type is binary (2) variable type is integer or implicit integer and (i) the global lower bound is greater than or equal to zero (ii) the global upper bound is less than or equal to one
Definition at line 17607 of file var.c.
References SCIP_Var::glbdom, SCIP_Dom::lb, NULL, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_CONTINUOUS, SCIPvarGetType(), and SCIP_Dom::ub.
Referenced by addBinaryConstraint(), addCand(), addCoef(), addConflictBinvar(), addOrbitopeSubgroup(), addSSTConssOrbitAndUpdateSST(), addVarCardinality(), adjustCutoffbound(), aggregateVariables(), analyzeStrongbranch(), appendVarCardinality(), applyBinaryConstraints(), applyFixings(), applyProbing(), bdchginfoIsInvalid(), binaryVarListAppend(), buildQuadExprMatrix(), calcBranchScore(), calcPscostQuot(), calculateAlternatives(), cancelCol(), cancelRow(), checkAndCollectQuadratic(), checkCons(), checkLogicor(), checkSystemGF2(), checkTwoCyclePermsAreOrbitope(), chooseCoefVar(), chooseDoubleVar(), chooseFracVar(), chooseGuidedVar(), cliquetableGetNodeIndexBinvar(), collectBinaryCliqueData(), collectMaxactVar(), collectMinactImplicVars(), collectMinactObjchg(), collectNonBinaryImplicationData(), collectNonBinaryVBoundData(), computeNogoodCut(), conflictQueueBound(), consdataCreate(), consdataPrint(), consdataSort(), convertLongEquality(), createConflict(), createConsSetppc(), createConsXorIntvar(), createKKTDualCons(), createSolFromSubScipSol(), createSubproblem(), CUTOFF_CONSTRAINT(), DECL_VARFIXINGS(), detectAndHandleSubgroups(), detectImpliedBounds(), detectMinors(), detectSocNorm(), detectSocQuadraticSimple(), dfs(), dropVarEvents(), dualPresolve(), enforceConflictgraph(), enforceConssSOS1(), executeBranchingRecursive(), extractCliques(), findFixings(), fixMatchingSolutionValues(), fullDualPresolve(), getClosestVlb(), getClosestVub(), getConflictImplics(), getCover(), getFixedVariable(), getMaxactImplicObjchg(), getMaxactObjchg(), getMinactImplicObjchg(), getMinactObjchg(), getNOrbitopesInComp(), getScore(), getScoreLikeCoefdiving(), getVarObjchg(), handleDoublelLexMatrix(), handleOrbitope(), heurExec(), isConsViolated(), lpCopyIntegrality(), mergeMultiples(), objimplicsCreate(), orbisackUpgrade(), predBndStr(), preprocessConstraintPairs(), presolRoundCardinality(), presolRoundConsSOS1(), printIndicatorCons(), processBinvarFixings(), propagateCutoffboundBinvar(), propagateLowerbound(), propagateLowerboundBinvar(), propagateVbounds(), propCardinality(), propdataInit(), rangedRowPropagation(), rangedRowSimplify(), removeDoubleAndSingletonsAndPerformDualpresolve(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EXPRSIMPLIFY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_NLHDLRDETECT(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPEXEC(), SCIP_DECL_PROPPRESOL(), SCIP_DECL_PROPRESPROP(), SCIP_DECL_SORTINDCOMP(), SCIP_DECL_SORTPTRCOMP(), SCIPaddConflictBinvar(), SCIPaddVarImplication(), SCIPanalyzeDeductionsProbing(), SCIPapplyHeurDualval(), SCIPapplyProximity(), SCIPchgVarLb(), SCIPchgVarLbGlobal(), SCIPchgVarUb(), SCIPchgVarUbGlobal(), SCIPcliqueAddVar(), SCIPcliqueDelVar(), SCIPcliquelistRemoveFromCliques(), SCIPcliquetableAdd(), SCIPcliquetableComputeCliqueComponents(), SCIPcliquetableGetVarComponentIdx(), SCIPcreateConsAnd(), SCIPcreateConsCardinality(), SCIPcreateConsIndicatorGeneric(), SCIPcreateConsIndicatorGenericLinCons(), SCIPcreateConsIndicatorGenericLinConsPure(), SCIPcreateConsKnapsack(), SCIPcreateConsLogicor(), SCIPcreateConsOr(), SCIPcreateConsOrbitope(), SCIPcreateConsXor(), SCIPdomchgAddBoundchg(), SCIPextendSubOrbitope(), SCIPgenerateOrbitopeVarsMatrix(), SCIPgetVarWasFixedAtIndex(), SCIPhaveVarsCommonClique(), SCIPinferBinvarCons(), SCIPinferBinvarProp(), SCIPinferVarLbCons(), SCIPinferVarLbProp(), SCIPinferVarUbCons(), SCIPinferVarUbProp(), SCIPisInvolutionPerm(), SCIPnodePropagateImplics(), SCIPprobGetNImplBinVars(), SCIPprobUpdateBestRootSol(), SCIPseparateRelaxedKnapsack(), SCIPshrinkDisjunctiveVarSet(), SCIPtightenVarLb(), SCIPtightenVarLbGlobal(), SCIPtightenVarUb(), SCIPtightenVarUbGlobal(), SCIPupgradeConsLinear(), SCIPvarAddClique(), SCIPvarAddCliqueToList(), SCIPvarAddImplic(), SCIPvarAddVub(), SCIPvarAggregate(), SCIPvarChgType(), SCIPvarDelClique(), SCIPvarDelCliqueFromList(), SCIPvarGetImplRedcost(), SCIPvarGetProbvarBinary(), SCIPvarHasBinaryImplic(), SCIPvarHasImplic(), SCIPvarNegate(), SCIPvarRemoveCliquesImplicsVbs(), SCIPvarsAddClique(), SCIPvarsHaveCommonClique(), SCIPvarTryAggregateVars(), SCIPvarWasFixedAtIndex(), SCIPvarWasFixedEarlier(), separateCuts(), separateGLS(), separateHeur(), setSymmetryData(), simplifyInequalities(), sortAndMergeClique(), sortVariables(), tightenCoefs(), tightenDualproof(), tryHandleSingleOrDoubleLexMatricesComponent(), upgradeCons(), upgradeConss(), varAddImplic(), varAddLbchginfo(), varAddUbchginfo(), varGetObjDelta(), and varIsInteresting().
◆ SCIPvarIsIntegral()returns whether variable is of integral type (binary, integer, or implicit integer)
Definition at line 17618 of file var.c.
References NULL, SCIP_VARTYPE_CONTINUOUS, and SCIPvarGetType().
Referenced by addBilinearTermToCut(), addConflictBounds(), addRltTerm(), adjustCutoffbound(), aggregation(), analyzeConflict(), analyzeConflictLowerbound(), analyzeConflictUpperbound(), applyFixings(), branchingIntegralFirst(), calculateAlternatives(), cancelCol(), cancelRow(), checkExec(), checkKnapsack(), computeCut(), computeFixingOrder(), computeRelaxedLowerbound(), computeRelaxedUpperbound(), conflictAddConflictCons(), conflictCreateReconvergenceConss(), consdataIsResidualIntegral(), createAndAddProofcons(), createCGCutCMIR(), createNewSol(), createSubSCIP(), cutsRoundStrongCG(), cutTightenCoefs(), cutTightenCoefsQuad(), DECL_VARFIXINGS(), detectAndHandleSubgroups(), detectImpliedBounds(), determineBound(), determineVariableFixings(), enforceConflictgraph(), findNewBounds(), fixAndPropagate(), fixMatchingSolutionValues(), fullDualPresolve(), generateClusterCuts(), initializeCandsLists(), isBinaryProduct(), isOverlapping(), lpCopyIntegrality(), performFixing(), performStrongbranchSOS1(), presolveImplint(), propagateLowerboundVar(), propagateRedcostVar(), propIndicator(), proposeFeasibleSolution(), rangedRowPropagation(), resolveGenVBoundPropagation(), resolvePropagation(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_EXPR_INTEVALVAR(), SCIP_DECL_EXPRINTEGRALITY(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPEXEC(), SCIP_DECL_PROPRESPROP(), SCIP_DECL_SORTINDCOMP(), SCIPaddVarIndicator(), SCIPboundchgApply(), SCIPcolCreate(), SCIPcolGetStrongbranch(), SCIPcolGetStrongbranches(), SCIPcolInvalidateStrongbranchData(), SCIPcolIsIntegral(), SCIPcolSetStrongbranchData(), SCIPcreateConsIndicatorGeneric(), SCIPcreateConsIndicatorGenericLinConsPure(), SCIPcutsTightenCoefficients(), SCIPfixVar(), SCIPgetVarStrongbranchWithPropagation(), SCIPlpAddCol(), SCIPlpWriteMip(), SCIPprobAddVar(), SCIProwCreate(), SCIPsolPrint(), SCIPstatComputeRootLPBestEstimate(), SCIPtreeBranchVarHole(), SCIPvarAddVlb(), SCIPvarFix(), selectShifting(), tightenBoundProbing(), tightenDualproof(), tightenSingleVar(), tightenVarBounds(), tightenVariables(), tightenVarLb(), tightenVarsBoundsSOS1(), tightenVarUb(), transformVariable(), tryAdd2variableBuffer(), updateArcData(), varGetChar(), varIncRootboundchgs(), and varIsDiscrete().
◆ SCIPvarIsInitial()returns whether variable's column should be present in the initial root LP
Definition at line 17628 of file var.c.
References SCIP_Var::initial, and NULL.
Referenced by addConstraintToBendersSubproblem(), addScenarioVarsToProb(), aggregation(), applyFixings(), convertLongEquality(), getScenarioDecompVar(), initLP(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PRESOLEXEC(), SCIPvarCopy(), and tryAggregateIntVars().
◆ SCIPvarIsRemovable()returns whether variable's column is removable from the LP (due to aging or cleanup)
Definition at line 17638 of file var.c.
References NULL, and SCIP_Var::removable.
Referenced by addConstraintToBendersSubproblem(), addScenarioVarsToProb(), aggregation(), applyFixings(), convertLongEquality(), getScenarioDecompVar(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PRESOLEXEC(), SCIPvarCopy(), and tryAggregateIntVars().
◆ SCIPvarIsDeleted() ◆ SCIPvarMarkDeletable() void SCIPvarMarkDeletable ( SCIP_VAR * var ) ◆ SCIPvarMarkNotDeletable() void SCIPvarMarkNotDeletable ( SCIP_VAR * var ) ◆ SCIPvarIsDeletable() ◆ SCIPvarMarkDeleteGlobalStructures() void SCIPvarMarkDeleteGlobalStructures ( SCIP_VAR * var ) ◆ SCIPvarIsActive()returns whether variable is an active (neither fixed nor aggregated) variable
Definition at line 17756 of file var.c.
References NULL, and SCIP_Var::probindex.
Referenced by addCliqueDataEntry(), addCliques(), addCoef(), addConsToOccurList(), applyFixings(), applyGenVBounds(), applyProbing(), branchruledataEnsureArraySize(), calcCliquePartitionGreedy(), checkForOverlapping(), checkLocksAndRes(), checkRedundantCons(), checkSystemGF2(), cliquePresolve(), cliquetableGetNodeIndexBinvar(), collectCliqueData(), conflictAddBound(), conflictAnalyze(), conflictCreateReconvergenceConss(), conflictResolveBound(), consCatchEvent(), convertLongEquality(), createAndSplitProblem(), createCoveringProblem(), createNAryBranch(), createSolFromNLP(), createSolFromSubScipSol(), createSubproblem(), createSubSCIP(), cutsRoundMIR(), decompGetConsVarsAndLabels(), dfs(), dualPresolving(), extractGates(), findAggregation(), freeSubSCIP(), getActiveVar(), getMaxactImplicObjchg(), getRandomVariable(), GUBsetCalcCliquePartition(), heurdataEnsureArraySize(), initData(), initTCliquegraph(), liftCliqueVariables(), mergeMultiples(), nlpAddVars(), nlpRemoveFixedVar(), nlpSetupNlpiIndices(), nlrowAddLinearCoef(), nlrowRemoveFixedLinearCoefPos(), nlrowRemoveFixedVar(), performBoundSubstitution(), preprocessCliques(), preprocessConstraintPairs(), presolRoundIndicator(), propagateCons(), propagateVbounds(), removeConstraintsDueToNegCliques(), removeFixedVariables(), resolvePropagationCoretimes(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_EXPR_MAPEXPR(), SCIP_DECL_EXPRSIMPLIFY(), SCIP_DECL_HASHKEYVAL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROBCOPY(), SCIP_DECL_SEPAEXECLP(), SCIPaddVarImplication(), SCIPcalcCliquePartition(), SCIPcliquetableComputeCliqueComponents(), SCIPcomputeDecompVarsLabels(), SCIPconflictAddBound(), SCIPconflictAddRelaxedBound(), SCIPconflictIsVarUsed(), SCIPcreateConsOrbitope(), SCIPgetReoptOldObjCoef(), SCIPhaveVarsCommonClique(), SCIPimplicsAdd(), SCIPnlrowAddLinearCoef(), SCIPnlrowDelLinearCoef(), SCIPprimalTransformSol(), SCIPreoptMergeVarHistory(), SCIPreoptUpdateVarHistory(), SCIPseparateRelaxedKnapsack(), SCIPsolLinkNLPSol(), SCIPtreeBranchVar(), SCIPtreeBranchVarHole(), SCIPtreeBranchVarNary(), SCIPupdateVarPseudocostSymmetric(), SCIPvarAddImplic(), SCIPvarAddObj(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarChgObj(), SCIPvarCompareActiveAndNegated(), SCIPvarGetClosestVlb(), SCIPvarGetClosestVub(), SCIPvarGetImplBounds(), SCIPvarGetImplIds(), SCIPvarGetImplRedcost(), SCIPvarGetImplTypes(), SCIPvarGetImplVars(), SCIPvarGetLastBdchgIndex(), SCIPvarGetLbchgInfo(), SCIPvarGetNImpls(), SCIPvarGetUbchgInfo(), SCIPvarHasImplic(), SCIPvariablegraphBreadthFirst(), SCIPvarRemoveCliquesImplicsVbs(), SCIPvarsHaveCommonClique(), SCIPvarWasFixedEarlier(), SCIPwriteGms(), selectInitialVariableRandomly(), shortenConss(), solveComponent(), sortVariables(), tarjan(), tcliquegraphAddNode(), tightenVariables(), tryUpgradingXor(), updateBestCandidate(), varAddImplic(), varAddTransitiveBinaryClosureImplic(), varAddTransitiveImplic(), varIncRootboundchgs(), varMayRoundDown(), varMayRoundUp(), and writeOpbRelevantAnds().
◆ SCIPvarGetIndex()gets unique index of variable
Definition at line 17766 of file var.c.
References SCIP_Var::index, and NULL.
Referenced by addAdjacentVars(), addCoef(), addProductVars(), applyProbing(), calcSignature(), checkForOverlapping(), componentSetupWorkingSol(), computeConsAndDataChanges(), conflictsetAddBound(), conflictsetAddBounds(), consdataCalcSignature(), consdataGetSignature(), consdataUpdateSignatures(), correctLocksAndCaptures(), correctPresoldata(), createAltLPColumn(), createPresoldata(), createTcliqueGraph(), detectProductsUnconditional(), evaluateValueCand(), extractGates(), fixAdditionalVars(), getAdjacentVars(), getFactorizedBinaryQuadraticExpr(), getHashmapKey(), initConcsolver(), initConflictgraph(), liftCliqueVariables(), printNLRow(), propagateCons(), removeRedundantConstraints(), reoptSaveNewObj(), reoptSimilarity(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_EXPRCOMPARE(), SCIP_DECL_EXPRHASH(), SCIP_DECL_HASHKEYEQ(), SCIP_DECL_HASHKEYVAL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_SORTINDCOMP(), SCIP_DECL_SORTPTRCOMP(), SCIPcliqueSearchVar(), SCIPgetConcurrentVaridx(), SCIPgetReoptOldObjCoef(), SCIPisPackingPartitioningOrbitope(), SCIPreoptMergeVarHistory(), SCIPreoptUpdateVarHistory(), SCIPsolGetVal(), SCIPsolIncVal(), SCIPsolMarkPartial(), SCIPsolRound(), SCIPsolSetVal(), SCIPvarCompareActiveAndNegated(), solGetArrayVal(), solIncArrayVal(), solSetArrayVal(), solUnlinkVar(), solveClassification(), solveMinIISC(), sortVariables(), tiebreakAggrCand(), tryAddGadgetSquaredDifference(), tryUpgradingLogicor(), tryUpgradingSetppc(), tryUpgradingXor(), and writeOpbObjective().
◆ SCIPvarGetProbindex() int SCIPvarGetProbindex ( SCIP_VAR * var )gets position of variable in problem, or -1 if variable is not active
Definition at line 17776 of file var.c.
References NULL, and SCIP_Var::probindex.
Referenced by addGLSCliques(), addLowerBound(), addNextLevelCliques(), addRow(), addUpperBound(), alnsFixMoreVariables(), alnsUnfixVariables(), applyRepair(), branchruledataAddBoundChangeVar(), branchruledataEnsureArraySize(), branchruledataPopBoundChangeVar(), branchruledataUpdateCurrentBounds(), buildBlockGraph(), calcSignature(), checkRedundancy(), collectBinaryCliqueData(), collectNonBinaryImplicationData(), collectNonBinaryVBoundData(), computeAlternativeBounds(), computeCut(), computeMIRForOptimalityCut(), conflictAnalyzeLP(), constructCompression(), constructSNFRelaxation(), correctLocksAndCaptures(), countNonlinearities(), createCGCutDirect(), createCoveringProblem(), createEdgesFromRow(), createRows(), createSubproblem(), createSubSCIP(), createTcliqueGraph(), cutsRoundMIR(), cutsRoundStrongCG(), detectImpliedBounds(), determineBestBounds(), determineBoundForSNF(), dfs(), ensureScoresPresent(), execRelpscost(), executeBranchingRecursive(), fillDigraph(), fillVariableGraph(), filterCandidates(), findBestLb(), findBestUb(), findInsertionPoint(), forbidFixation(), freeMemory(), freeSubSCIP(), fullDualPresolve(), generateAverageNBRay(), getClosestVlb(), getClosestVub(), getMaxactImplicObjchg(), getMaxActivity(), getMinActivity(), getNLPVarsNonConvexity(), getNodeIdx(), getNVarsIndicators(), getOldBranching(), getRowFracActivity(), heurdataAddBoundChangeVar(), heurdataEnsureArraySize(), heurdataFreeArrays(), heurdataPopBoundChangeVar(), heurdataUpdateCurrentBounds(), initLP(), insertIndex(), insertSortedRootNeighbors(), isNeighbor(), isUseOldBranching(), isVariableInNeighborhood(), LNSFixMoreVariables(), LNSUnfixVariables(), lpUpdateVarColumn(), lpUpdateVarColumnProved(), lpUpdateVarLoose(), lpUpdateVarLooseProved(), lpUpdateVarProved(), mergeMultiples(), mod2MatrixAddCol(), packingUpgrade(), performBoundSubstitution(), printLinearCons(), printRow(), probInsertVar(), probRemoveVar(), processNlRow(), reoptCheckLocalRestart(), rowAddCoef(), rowCalculateGauss(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PROPPRESOL(), SCIP_DECL_SORTINDCOMP(), SCIP_DECL_SORTPTRCOMP(), SCIPaddPricedVar(), SCIPaddSymgraphVarAggregation(), SCIPaddVar(), SCIPaggrRowAddObjectiveFunction(), SCIPaggrRowCancelVarWithBound(), SCIPaggrRowGetMinActivity(), SCIPaggrRowPrint(), SCIPapplyHeurSubNlp(), SCIPapplyLockFixings(), SCIPchgVarName(), SCIPchgVarType(), SCIPcolCreate(), SCIPeventProcess(), SCIPextendPermsymDetectionGraphLinear(), SCIPfixSymgraphVarnode(), SCIPgetSymgraphVarnodeidx(), SCIPlpGetPrimalRay(), SCIPlpSumRows(), SCIPlpUpdateAddVar(), SCIPlpUpdateDelVar(), SCIPlpUpdateVarLb(), SCIPlpUpdateVarObj(), SCIPlpUpdateVarUb(), SCIPpricestoreApplyVars(), SCIPprimalTransformSol(), SCIPprobAddVar(), SCIPprobAddVarName(), SCIPprobChgVarType(), SCIPprobDelVar(), SCIPprobFree(), SCIPprobPerformVarDeletions(), SCIPprobVarChangedStatus(), SCIPrunBoundHeuristic(), SCIPseparateRelaxedKnapsack(), SCIPshrinkDisjunctiveVarSet(), SCIPsolRetransform(), SCIPtreeBranchVar(), SCIPtreeBranchVarHole(), SCIPtreeBranchVarNary(), SCIPundoBdchgsProof(), SCIPvarGetImplRedcost(), SCIPvariablegraphBreadthFirst(), SCIPvarRemove(), SCIPwriteCliqueGraph(), scoreContainerSetScore(), selectInitialVariableRandomly(), selectNextVariable(), selectOrbitLeaderSSTConss(), selectShifting(), selectVarStart(), separateCuts(), separateGLS(), separateHeur(), solveSubNLP(), sortFirstCandidatesByScore(), tarjan(), tightenDualproof(), tightenVariables(), tightenWeightsLift(), transformNonIntegralRow(), updateOldBranching(), and varProcessBoundChanges().
◆ SCIPvarGetTransVar()gets transformed variable of ORIGINAL variable
Definition at line 17786 of file var.c.
References SCIP_Var::data, NULL, SCIP_Var::original, SCIP_VARSTATUS_ORIGINAL, SCIPvarGetStatus(), and SCIP_Original::transvar.
Referenced by assignAuxiliaryVariables(), assignVars(), computeRanks(), createSolFromNLP(), createSolFromSubScipSol(), createSubSCIP(), fixDiscreteVars(), reoptSimilarity(), SCIP_DECL_HEUREXEC(), SCIPapplyHeurDualval(), SCIPmergeVariableStatistics(), SCIPreoptApplyCuts(), SCIPreoptMergeVarHistory(), SCIPreoptUpdateVarHistory(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPsolIncVal(), SCIPsolSetVal(), SCIPvarResetBounds(), and setupAndSolveSubscipRapidlearning().
◆ SCIPvarGetCol()gets column of COLUMN variable
Definition at line 17797 of file var.c.
References SCIP_Var::col, SCIP_Var::data, NULL, SCIP_VARSTATUS_COLUMN, and SCIPvarGetStatus().
Referenced by addBdchg(), addCols(), addFracCounter(), analyzeStrongbranch(), branchcandCalcLPCands(), calcBdchgScore(), calcBranchScore(), calcShiftVal(), calculateBounds(), checkConstraintMatching(), colCalcInternalFarkasCoef(), colCalcInternalRedcost(), computeCut(), constructLPPos2ConsPosMap(), countBasicVars(), createCGCutCMIR(), determineBound(), determineVariableFixings(), filterExistingLP(), filterRound(), findVertexAndGetRays(), generateAverageRay(), getDualBranchscore(), getImplVarRedcost(), getNActiveConsScore(), getTableauRows(), initLP(), lpFlushAddCols(), lpFlushChgCols(), markRowsXj(), relaxVar(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SEPAEXECLP(), SCIPapplyLockFixings(), SCIPcolCalcFarkasCoef(), SCIPcolCalcRedcost(), SCIPcolChgLb(), SCIPcolChgObj(), SCIPcolChgUb(), SCIPcolGetStrongbranch(), SCIPcolGetStrongbranches(), SCIPcolInvalidateStrongbranchData(), SCIPcolSetStrongbranchData(), SCIPeventProcess(), SCIPgetVarFarkasCoef(), SCIPgetVarNStrongbranchs(), SCIPgetVarRedcost(), SCIPgetVarsStrongbranchesFrac(), SCIPgetVarsStrongbranchesInt(), SCIPgetVarStrongbranchFrac(), SCIPgetVarStrongbranchInt(), SCIPgetVarStrongbranchLast(), SCIPgetVarStrongbranchLPAge(), SCIPgetVarStrongbranchNode(), SCIPgetVarStrongbranchWithPropagation(), SCIPlpAddCol(), SCIPlpEndDive(), SCIPlpMarkFlushed(), SCIPlpShrinkCols(), SCIPlpStartDive(), SCIPlpSumRows(), SCIPpricestoreAddProbVars(), SCIPpricestoreApplyVars(), SCIPprobUpdateBestRootSol(), SCIPreoptApplyCuts(), SCIProwCalcIntegralScalar(), SCIPsetVarStrongbranchData(), SCIPsolAdjustImplicitSolVals(), SCIPvarGetImplRedcost(), setupAggregationData(), shiftValues(), storeDenseTableauRowsByColumns(), tryFixVar(), updateActivities(), updateRowActivities(), updateSlacks(), varColCompare(), and varProcessBoundChanges().
◆ SCIPvarIsInLP()returns whether the variable is a COLUMN variable that is member of the current LP
Definition at line 17808 of file var.c.
References SCIP_Var::col, SCIP_Var::data, NULL, SCIP_VARSTATUS_COLUMN, SCIPcolIsInLP(), and SCIPvarGetStatus().
Referenced by COLORprobPrintStableSets(), focusnodeCleanupVars(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRICERFARKAS(), SCIPselectVarPseudoStrongBranching(), SCIPundoBdchgsProof(), and setupAggregationData().
◆ SCIPvarGetAggrVar()gets aggregation variable y of an aggregated variable x = a*y + c
Definition at line 17818 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::donotaggr, NULL, SCIP_VARSTATUS_AGGREGATED, SCIPvarGetStatus(), and SCIP_Aggregate::var.
Referenced by checkSystemGF2(), markNeighborsMWISHeuristic(), presolveAddKKTAggregatedVars(), processBinvarFixings(), processRealBoundChg(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_READERWRITE(), SCIPgetVarCopy(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPsolIncVal(), SCIPsolSetVal(), and varGetObjDelta().
◆ SCIPvarGetAggrScalar()gets aggregation scalar a of an aggregated variable x = a*y + c
Definition at line 17830 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::data, SCIP_Var::donotaggr, NULL, SCIP_Aggregate::scalar, SCIP_VARSTATUS_AGGREGATED, and SCIPvarGetStatus().
Referenced by checkSystemGF2(), presolveAddKKTAggregatedVars(), SCIP_DECL_LINCONSUPGD(), SCIPgetVarCopy(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPsolIncVal(), SCIPsolSetVal(), and varGetObjDelta().
◆ SCIPvarGetAggrConstant()gets aggregation constant c of an aggregated variable x = a*y + c
Definition at line 17842 of file var.c.
References SCIP_Var::aggregate, SCIP_Aggregate::constant, SCIP_Var::data, SCIP_Var::donotaggr, NULL, SCIP_VARSTATUS_AGGREGATED, and SCIPvarGetStatus().
Referenced by checkSystemGF2(), markNeighborsMWISHeuristic(), presolveAddKKTAggregatedVars(), SCIP_DECL_LINCONSUPGD(), SCIPgetVarCopy(), SCIPsolGetVal(), and SCIPsolSetVal().
◆ SCIPvarGetMultaggrNVars() int SCIPvarGetMultaggrNVars ( SCIP_VAR * var )gets number n of aggregation variables of a multi aggregated variable x = a0*y0 + ... + a(n-1)*y(n-1) + c
Definition at line 17854 of file var.c.
References SCIP_Var::data, SCIP_Var::donotmultaggr, SCIP_Var::multaggr, NULL, SCIP_Multaggr::nvars, SCIP_VARSTATUS_MULTAGGR, and SCIPvarGetStatus().
Referenced by applyFixings(), conflictResolveBound(), exitPresolve(), fixVariableZero(), getRandomVariable(), nlrowRemoveFixedLinearCoefPos(), presolveAddKKTAggregatedVars(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_READERWRITE(), SCIPconflictAddBound(), SCIPgetVarCopy(), SCIPnlrowAddLinearCoef(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPsolSetVal(), selectVarMultAggrBranching(), and updateBestCandidate().
◆ SCIPvarGetMultaggrVars()gets vector of aggregation variables y of a multi aggregated variable x = a0*y0 + ... + a(n-1)*y(n-1) + c
Definition at line 17866 of file var.c.
References SCIP_Var::data, SCIP_Var::donotmultaggr, SCIP_Var::multaggr, NULL, SCIP_VARSTATUS_MULTAGGR, SCIPvarGetStatus(), and SCIP_Multaggr::vars.
Referenced by applyFixings(), exitPresolve(), fixVariableZero(), getRandomVariable(), nlrowRemoveFixedLinearCoefPos(), presolveAddKKTAggregatedVars(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_READERWRITE(), SCIPconflictAddBound(), SCIPgetVarCopy(), SCIPnlrowAddLinearCoef(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPsolSetVal(), selectVarMultAggrBranching(), and updateBestCandidate().
◆ SCIPvarGetMultaggrScalars()gets vector of aggregation scalars a of a multi aggregated variable x = a0*y0 + ... + a(n-1)*y(n-1) + c
Definition at line 17878 of file var.c.
References SCIP_Var::data, SCIP_Var::donotmultaggr, SCIP_Var::multaggr, NULL, SCIP_Multaggr::scalars, SCIP_VARSTATUS_MULTAGGR, and SCIPvarGetStatus().
Referenced by applyFixings(), fixVariableZero(), nlrowRemoveFixedLinearCoefPos(), presolveAddKKTAggregatedVars(), SCIP_DECL_BRANCHEXECLP(), SCIPconflictAddBound(), SCIPgetVarCopy(), SCIPnlrowAddLinearCoef(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPsolSetVal(), selectVarMultAggrBranching(), and updateBestCandidate().
◆ SCIPvarGetMultaggrConstant()gets aggregation constant c of a multi aggregated variable x = a0*y0 + ... + a(n-1)*y(n-1) + c
Definition at line 17890 of file var.c.
References SCIP_Multaggr::constant, SCIP_Var::data, SCIP_Var::donotmultaggr, SCIP_Var::multaggr, NULL, SCIP_VARSTATUS_MULTAGGR, and SCIPvarGetStatus().
Referenced by applyFixings(), fixVariableZero(), nlrowRemoveFixedLinearCoefPos(), presolveAddKKTAggregatedVars(), SCIP_DECL_BRANCHEXECLP(), SCIPgetVarCopy(), SCIPsolGetVal(), SCIPsolSetVal(), SCIPvarGetActiveRepresentatives(), and selectVarMultAggrBranching().
◆ SCIPvarGetNegatedVar()gets the negation of the given variable; may return NULL, if no negation is existing yet
Definition at line 17902 of file var.c.
References SCIP_Var::negatedvar, and NULL.
Referenced by addCliqueDataEntry(), addCliques(), addConsToOccurList(), applyFixings(), checkEqualObjective(), checkOrigPbCons(), checkParallelObjective(), checkSolution(), checkSystemGF2(), cliquePresolve(), collectCliqueData(), computeRanks(), consdataPrint(), correctLocksAndCaptures(), createCoveringProblem(), decompGetConsVarsAndLabels(), extractGates(), findAggregation(), getActiveVariables(), getLinearCoeffs(), mergeMultiples(), preprocessCliques(), preprocessConstraintPairs(), presolRoundIndicator(), removeConstraintsDueToNegCliques(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeRedundantNonZeros(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPARSE(), SCIP_DECL_CONSPRINT(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_READERWRITE(), SCIP_DECL_SORTPTRCOMP(), SCIPcomputeDecompVarsLabels(), SCIPcreateConsOrbitope(), SCIPprobDelVar(), SCIPvarCompareActiveAndNegated(), SCIPwriteLp(), SCIPwriteMps(), separateIISRounding(), strengthenConss(), tcliquegraphConstructCliqueTable(), and varGetObjDelta().
◆ SCIPvarGetNegationVar()gets the negation variable x of a negated variable x' = offset - x
Definition at line 17912 of file var.c.
References SCIP_Var::negatedvar, NULL, SCIP_VARSTATUS_NEGATED, and SCIPvarGetStatus().
Referenced by addCliques(), applyFixings(), checkForOverlapping(), checkSolution(), cliqueCleanup(), cliquePresolve(), collectCliqueData(), createBlockproblem(), createCoveringProblem(), findAggregation(), getLinVarsAndAndRess(), liftCliqueVariables(), markNeighborsMWISHeuristic(), mergeMultiples(), preprocessCliques(), presolveAddKKTAggregatedVars(), printNLRow(), printRow(), removeConstraintsDueToNegCliques(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_READERWRITE(), SCIPaddPricedVar(), SCIPaddVar(), SCIPchgVarType(), SCIPgetBinaryVarIndicatorGeneric(), SCIPgetVarCopy(), SCIPmakeIndicatorFeasible(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPsolIncVal(), SCIPsolSetVal(), setObjective(), shortenConss(), tryUpgradingXor(), writeOpbConstraints(), writeOpbFixedVars(), writeOpbObjective(), and writeOpbRelevantAnds().
◆ SCIPvarGetNegationConstant() ◆ SCIPvarGetObj()gets objective function value of variable
Definition at line 17934 of file var.c.
References NULL, and SCIP_Var::obj.
Referenced by addBoundViolated(), addConflictBinvar(), addConflictBounds(), addConstraintToBendersSubproblem(), addObjcut(), addObjCutoff(), addScenarioVarsToProb(), addTrustRegionConstraints(), adjustCutoffbound(), applyAlternativeBoundsBranching(), applyCliqueFixings(), applyObbt(), applyOptcumulative(), applyOptcumulativeFixings(), applyRepair(), applyVboundsFixings(), BENDERS_CUTORACLE(), calcMaxObjPseudoactivity(), calcShiftVal(), catchObjEvent(), changeSubvariableObjective(), checkConsQuadraticProblem(), checkDivingCandidates(), checkEqualObjective(), checkExec(), checkParallelObjective(), checkSystemGF2(), chooseFracVar(), chooseGuidedVar(), chooseVeclenVar(), collectMinactImplicVar(), collectMinactImplicVars(), collectMinactVar(), compareVars(), compareVarsSignedPerm(), compensateVarLock(), componentSetupWorkingSol(), computeStandardLPOptimalityCut(), computeStandardNLPOptimalityCut(), consdataPrint(), createBlockproblem(), createCGCutDirect(), createNewSol(), createObjRow(), createSubproblem(), createSubproblems(), createSubSCIP(), dropObjEvent(), dualBoundStrengthening(), dualPresolve(), dualPresolving(), evaluateValueCand(), findComponents(), findDominancePairs(), findDownlockAggregations(), findFixings(), findUnlockedLinearVar(), findUplockAggregations(), fixIntegerVariable(), fullDualPresolve(), generateAndApplyBendersCuts(), generateObjectiveRay(), getConflictImplics(), getMaxactImplicObjchg(), getMaxObjPseudoactivityResidual(), getMinactImplicObjchg(), getObjectiveFactor(), getPotential(), getScoreOfFarkasDiving(), getVariable(), getVarObjchg(), initSolve(), isSingleLockedCand(), isVlb(), isVub(), lpUpdateVarColumn(), lpUpdateVarColumnProved(), lpUpdateVarLoose(), lpUpdateVarLooseProved(), nlpAddVars(), nlpDelVarPos(), nlpFlushObjective(), nlpFlushVarAdditions(), nlpSolve(), nlpUpdateObjCoef(), objimplicsCreate(), optimize(), performDualfix(), performRandRounding(), performSimpleRounding(), predBndStr(), presolStuffing(), propagateCons(), propagateCutoffbound(), propagateCutoffboundGlobally(), propagateLowerbound(), propagateLowerboundVar(), propdataInit(), propIndicator(), readObjective(), readOPBFile(), recomputeGlbPseudoObjectiveValue(), recomputeLooseObjectiveValue(), recomputePseudoObjectiveValue(), removeDoubleAndSingletonsAndPerformDualpresolve(), reoptSaveNewObj(), resolvePropagation(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPARSE(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPPRESOL(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_SORTPTRCOMP(), SCIPaggrRowAddObjectiveFunction(), SCIPapplyHeurDualval(), SCIPapplyLockFixings(), SCIPapplyProximity(), SCIPbendersMergeSubproblemIntoMaster(), SCIPchgReoptObjective(), SCIPchgVarObjProbing(), SCIPcolCreate(), SCIPconflictAnalyzePseudo(), SCIPcreateConsOrbitope(), SCIPcreateNlpiProblemFromNlRows(), SCIPgetVarStrongbranchFrac(), SCIPgetVarStrongbranchInt(), SCIPgetVarStrongbranchWithPropagation(), SCIPisObjIntegral(), SCIPlpEndDive(), SCIPlpGetModifiedProvedPseudoObjval(), SCIPlpGetModifiedPseudoObjval(), SCIPlpRecomputeLocalAndGlobalPseudoObjval(), SCIPlpStartDive(), SCIPlpUpdateAddVar(), SCIPlpUpdateDelVar(), SCIPlpUpdateVarLb(), SCIPlpUpdateVarLbGlobal(), SCIPlpUpdateVarUb(), SCIPlpUpdateVarUbGlobal(), SCIPnlpChgVarObjDive(), SCIPnlpGetPseudoObjval(), SCIPnodeAddBoundinfer(), SCIPnodeAddHoleinfer(), SCIPprobAddVar(), SCIPprobCheckObjIntegral(), SCIPprobGetAbsMaxObjCoef(), SCIPprobGetAbsMinObjCoef(), SCIPprobGetNObjVars(), SCIPprobPerformVarDeletions(), SCIPprobScaleObj(), SCIPpropagateCutoffboundVar(), SCIPsolRetransform(), SCIPtreeBranchVar(), SCIPvarCopy(), SCIPvarGetAggregatedObj(), SCIPvarMarkRelaxationOnly(), SCIPwriteGms(), SCIPwriteLp(), SCIPwriteMps(), SCIPwritePip(), selectEssentialRounding(), selectRounding(), selectShifting(), setupAndSolveSubscip(), setupSubproblem(), setupSubScip(), singletonColumnStuffing(), solCutIsViolated(), solveAndEvalSubscip(), solveCoveringProblem(), solveCumulative(), solveIndependentCons(), tiebreakAggrCand(), transformColumn(), updateBestCandidate(), updateLambda(), updateVariableRounding(), varGetObjDelta(), varMayRoundDown(), varMayRoundUp(), writeExpandedSolutions(), writeFzn(), writeOpbConstraints(), and writeOpbObjective().
◆ SCIPvarGetUnchangedObj()gets the unchanged objective function value of variable (ignoring temproray changes performed in probing mode)
gets the unchanged objective function value of a variable (ignoring temproray changes performed in probing mode)
Definition at line 17944 of file var.c.
References NULL, and SCIP_Var::unchangedobj.
Referenced by computeStandardLPOptimalityCut(), computeStandardNLPOptimalityCut(), SCIPcolChgObj(), SCIPcolCreate(), SCIPsolAdjustImplicitSolVals(), SCIPsolCheck(), SCIPsolIncVal(), SCIPsolLinkLPSol(), SCIPsolLinkNLPSol(), SCIPsolPrint(), SCIPsolPrintRay(), SCIPsolRecomputeObj(), SCIPsolRetransform(), SCIPsolRound(), and SCIPsolSetVal().
◆ SCIPvarGetLbOriginal()gets original lower bound of original problem variable (i.e. the bound set in problem creation)
Definition at line 18032 of file var.c.
References SCIP_Negate::constant, SCIP_Var::data, SCIP_Dom::lb, SCIP_Var::negate, SCIP_Var::negatedvar, NULL, SCIP_Original::origdom, SCIP_Var::original, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPvarGetStatus(), SCIPvarIsOriginal(), and SCIP_Dom::ub.
Referenced by addCut(), addScenarioVarsToProb(), checkConsQuadraticProblem(), getScenarioDecompVar(), parseConstantArrayAssignment(), parseValue(), printBoundSection(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSENFOPS(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_HEUREXEC(), SCIPbendersMergeSubproblemIntoMaster(), SCIPcreateFiniteSolCopy(), SCIPsolCheckOrig(), SCIPvarAddHoleOriginal(), SCIPvarChgUbOriginal(), SCIPvarCopy(), SCIPvarPrint(), SCIPwriteBnd(), SCIPwriteGms(), SCIPwriteLp(), SCIPwritePip(), writeFzn(), writeOpbFixedVars(), and writeOpbRelevantAnds().
◆ SCIPvarGetUbOriginal()gets original upper bound of original problem variable (i.e. the bound set in problem creation)
Definition at line 18052 of file var.c.
References SCIP_Negate::constant, SCIP_Var::data, SCIP_Dom::lb, SCIP_Var::negate, SCIP_Var::negatedvar, NULL, SCIP_Original::origdom, SCIP_Var::original, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPvarGetStatus(), SCIPvarIsOriginal(), and SCIP_Dom::ub.
Referenced by addCut(), addScenarioVarsToProb(), checkConsQuadraticProblem(), getScenarioDecompVar(), parseConstantArrayAssignment(), parseValue(), printBoundSection(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSENFOPS(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSINITSOL(), SCIPbendersMergeSubproblemIntoMaster(), SCIPcreateFiniteSolCopy(), SCIPsolCheckOrig(), SCIPvarAddHoleOriginal(), SCIPvarChgLbOriginal(), SCIPvarCopy(), SCIPvarPrint(), SCIPwriteBnd(), SCIPwriteGms(), SCIPwriteLp(), SCIPwritePip(), writeFzn(), writeOpbFixedVars(), and writeOpbRelevantAnds().
◆ SCIPvarGetHolelistOriginal() ◆ SCIPvarGetLbGlobal()gets global lower bound of variable
Definition at line 18086 of file var.c.
References SCIP_Var::glbdom, SCIP_Dom::lb, and NULL.
Referenced by addAltLPColumn(), addCoef(), addComponent(), addConflictBinvar(), addConflictBounds(), addConflictFixedVars(), addConflictReasonVars(), addConstraintToBendersSubproblem(), addCut(), addFixedVarsConss(), addGlobalCut(), addLocalBranchingConstraint(), addLowerboundCons(), addRltTerm(), addSplitcons(), adjustCutoffbound(), adjustOversizedJobBounds(), aggregation(), alnsFixMoreVariables(), analyzeEnergyRequirement(), analyzeStrongbranch(), applyFixings(), applyGenVBound(), applyImplic(), applyRepair(), assignVars(), boundchgApplyGlobal(), buildMod2Matrix(), calcMaxObjPseudoactivity(), calcShiftVal(), calculateBounds(), cancelCol(), catchEventBinvar(), checkCounters(), checkGlbfirstnonfixed(), checkIISlocal(), checkImplic(), checkImplicsApplied(), checkOverloadViaThetaTree(), checkRedundancy(), checkRedundancySide(), checkSolution(), checkSystemGF2(), chgCoeffWithBound(), chgQuadCoeffWithBound(), cliqueCleanup(), cliquePresolve(), collectBinaryCliqueData(), collectMinactImplicVar(), collectMinactImplicVars(), collectNonBinaryImplicationData(), collectNonBinaryVBoundData(), collectVars(), compareVars(), compareVarsSignedPerm(), compensateVarLock(), componentSetupWorkingSol(), computeCut(), computeEnergyContribution(), computeIntegerVariableBounds(), computeIntegerVariableBoundsDins(), computeMaxEnergy(), computeOffValues(), computeRanks(), computeRltCut(), computeStandardLPFeasibilityCut(), conflictAnalyze(), consdataCreate(), consdataCreateBinvars(), consdataCreateRedundant(), consdataDeletePos(), consdataFree(), consdataGetGlbActivityResiduals(), consdataGetReliableResidualActivity(), consdataLinearize(), consdataPrint(), consdataRecomputeGlbMaxactivity(), consdataRecomputeGlbMinactivity(), consdataUpdateAddCoef(), consdataUpdateDelCoef(), consdataUpdateSignatures(), constructSNFRelaxation(), convertLongEquality(), createAuxVar(), createBlockproblem(), createConflictCons(), createCoveringProblem(), createIndicatorConstraint(), createKKTComplementarityBounds(), createKKTDualCons(), createObjRow(), createProjRow(), createSolFromSubScipSol(), createSortedEventpoints(), createSubscip(), createSubSCIP(), createVarboundCons(), cutsRoundMIR(), cutsRoundStrongCG(), cutTightenCoefs(), cutTightenCoefsQuad(), DECL_CHANGESUBSCIP(), detectHiddenProducts(), detectImplications(), detectImpliedBounds(), determineBestBounds(), determineBound(), determineVariableFixings(), dfs(), doSolveSubMIP(), dropEventBinvar(), dualBoundStrengthening(), dualPresolve(), dualPresolving(), enfopsCons(), estimateBivariateQuotient(), estimateConvexSecant(), estimateGradient(), estimateUnivariateQuotient(), extractCliques(), extractLinearValues(), filterExistingLP(), findAggregation(), findBestLb(), findDominancePairs(), findDownlockAggregations(), findUncapacitatedArcs(), findUplockAggregations(), fixDiscreteVars(), fixIntegerVariableUb(), fixVariables(), focusnodeCleanupVars(), forbidFixation(), freeMemory(), fullDualPresolve(), generateAndApplyBendersIntegerCuts(), generateBoundInequalityFromSOS1Nodes(), generateRowCardinality(), generateRowSOS2(), generateZerohalfCut(), getActivityResidualsLowerBound(), getActivityResidualsUpperBound(), getClosestVub(), getCorner(), getDomainCenter(), getFixVal(), getGenVBoundsMinActivity(), getMaxactImplicObjchg(), getMaxActivity(), getMaxObjPseudoactivityResidual(), getMinactImplicObjchg(), getMinActivity(), getNewSidesAfterAggregation(), getObjectiveFactor(), getPotential(), getPotentialContributed(), getSolutionValues(), handleNewVariableCardinality(), handleNewVariableSOS1(), identifyOrbitalSymmetriesBroken(), implBndToBigM(), isBoundchgUseless(), isCandidate(), isSingleLockedCand(), isVlb(), isVub(), LNSFixMoreVariables(), lockVariableCardinality(), lockVariableSOS1(), lockVariableSOS2(), markRowsXj(), objimplicsCreate(), optimize(), performDualfix(), predBndStr(), preprocessConstraintPairs(), presolRoundIndicator(), presolRoundSOS2(), presolStuffing(), presolveAddKKTAggregatedVars(), presolveConsEffectiveHorizon(), presolveConsEst(), presolveConsLct(), presolveCumulativeCondition(), presolveSingleLockedVars(), proofsetCancelVarWithBound(), propagateBinaryBestRootRedcost(), propagateCutoffboundGlobally(), propagateCutoffboundVar(), propagateLongProof(), propagateLowerbound(), propagateLowerboundVar(), propagateRootRedcostVar(), propagateVbounds(), propdataInit(), proposeFeasibleSolution(), readBinaries(), readBounds(), readGenerals(), readSemicontinuous(), readSol(), reboundIntegerVariables(), recomputeGlbPseudoObjectiveValue(), relaxVar(), removeDoubleAndSingletonsAndPerformDualpresolve(), removeFixedVariables(), removeIrrelevantJobs(), removeZeros(), removeZerosQuad(), resolveGenVBoundPropagation(), resolvePropagationCoretimes(), rowFindSlackVar(), rowprepCleanupImproveCoefrange(), rowprepCleanupIntegralCoefs(), rowScale(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_CONCSOLVERSYNCREAD(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSENABLE(), SCIP_DECL_CONSGETSIGNEDPERMSYMGRAPH(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPROP(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EXPR_INTEVALVAR(), SCIP_DECL_HEUREXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_NLHDLRESTIMATE(), SCIP_DECL_NLHDLRINITSEPA(), SCIP_DECL_NLHDLRSOLLINEARIZE(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPRESPROP(), SCIP_DECL_SORTINDCOMP(), SCIPaddVarImplication(), SCIPaggrRowCancelVarWithBound(), SCIPaggrRowGetMinActivity(), SCIPapplyHeurDualval(), SCIPapplyHeurSubNlp(), SCIPapplyProximity(), SCIPapplyUndercover(), SCIPbendersComputeSubproblemLowerbound(), SCIPbranchGetBranchingPoint(), SCIPchgVarLbLazy(), SCIPclassifyConstraintTypesLinear(), SCIPcliqueDelVar(), SCIPcliquetableAdd(), SCIPcomputeVarLbGlobal(), SCIPconflictAddRelaxedBound(), SCIPconflictGetVarLb(), SCIPconsResolvePropagation(), SCIPcreateConsLinking(), SCIPcreateConsOrbitope(), SCIPcreateFiniteSolCopy(), SCIPcutGenerationHeuristicCMIR(), SCIPcutsTightenCoefficients(), SCIPgetSymActiveVariables(), SCIPimplicsAdd(), SCIPlpRecomputeLocalAndGlobalPseudoObjval(), SCIPlpUpdateVarObj(), SCIPmatrixCreate(), SCIPmatrixPrintRow(), SCIPmergeRowprepTerms(), SCIPnodeAddBoundinfer(), SCIPpropResolvePropagation(), SCIPreoptSaveGlobalBounds(), SCIPseparateRelaxedKnapsack(), SCIPshrinkDisjunctiveVarSet(), SCIPsolAdjustImplicitSolVals(), SCIPsolCheck(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPsolSetVal(), SCIPtightenVarLbGlobal(), SCIPtightenVarUbGlobal(), SCIPundoBdchgsProof(), SCIPvarAddHoleGlobal(), SCIPvarAddImplic(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarCopy(), SCIPvarGetMultaggrLbGlobal(), SCIPvarGetMultaggrUbGlobal(), SCIPvarGetNLPSol_rec(), SCIPvarGetRelaxSol(), SCIPvarPrint(), SCIPvarRemoveCliquesImplicsVbs(), SCIPvarUpdateBestRootSol(), SCIPvisualizeConsCumulative(), SCIPwriteBnd(), SCIPwriteLp(), selectShifting(), sepaImplBoundCutsSOS1(), separateCuts(), separatePerspective(), sepastoreApplyLb(), sepastoreApplyUb(), sepastoreIsBdchgApplicable(), setSymmetryData(), setupAggregationData(), setupAndSolveCumulativeSubscip(), setupAndSolveSubscip(), setupAndSolveSubscipRapidlearning(), shiftValues(), simplifyInequalities(), singletonColumnStuffing(), skipRedundantBdchginfos(), solveAndEvalSubscip(), solveClassification(), solveComponent(), solveCumulative(), solveLp(), solveMinIISC(), solveSubNLP(), sortAndMergeClique(), termIsConstant(), tightenBounds(), tightenCoefs(), tightenDualproof(), tightenSingleVar(), tightenVariables(), tightenVarUb(), transformDualredsToBounddisjunction(), transformNonIntegralRow(), treeAddPendingBdchg(), tryAdd2variableBuffer(), tryAddGadgetBilinearProductSignedPerm(), tryAddGadgetSquaredDifference(), tryFixVar(), tryUpgradingXor(), unlockVariableCardinality(), unlockVariableSOS1(), unlockVariableSOS2(), updateAuxiliaryVarLowerbound(), updateFirstRow(), updateFirstRowGlobal(), updateSlacks(), updateSubproblemCutConstant(), varAddImplic(), varAddVbound(), varIncRootboundchgs(), varIsCenteredAt0(), varIsFixed(), varIsSemicontinuous(), and varProcessAddHoleGlobal().
◆ SCIPvarGetUbGlobal()gets global upper bound of variable
Definition at line 18096 of file var.c.
References SCIP_Var::glbdom, NULL, and SCIP_Dom::ub.
Referenced by addAltLPColumn(), addCoef(), addComponent(), addConflictBinvar(), addConflictBounds(), addConflictFixedVars(), addConflictReasonVars(), addConstraintToBendersSubproblem(), addCut(), addFixedVarsConss(), addGlobalCut(), addLocalBranchingConstraint(), addRltTerm(), addSplitcons(), adjustCutoffbound(), adjustOversizedJobBounds(), aggregation(), alnsFixMoreVariables(), analyzeEnergyRequirement(), analyzeStrongbranch(), applyFixings(), applyGenVBound(), applyImplic(), applyRepair(), applyZeroFixings(), assignVars(), boundchgApplyGlobal(), buildMod2Matrix(), calcMaxObjPseudoactivity(), calcShiftVal(), calculateBounds(), cancelCol(), catchEventBinvar(), checkCounters(), checkGlbfirstnonfixed(), checkIISlocal(), checkImplic(), checkOverloadViaThetaTree(), checkRedundancy(), checkRedundancySide(), checkSolution(), checkSystemGF2(), chgCoeffWithBound(), chgQuadCoeffWithBound(), cliqueCleanup(), cliquePresolve(), collectActivities(), collectBinaryCliqueData(), collectBinaryVars(), collectDemands(), collectEstLst(), collectMinactImplicVar(), collectMinactImplicVars(), collectNonBinaryImplicationData(), collectNonBinaryVBoundData(), collectVars(), compareVars(), compareVarsSignedPerm(), compensateVarLock(), componentSetupWorkingSol(), computeCut(), computeEnergyContribution(), computeIntegerVariableBounds(), computeIntegerVariableBoundsDins(), computeMaxEnergy(), computeOffValues(), computeRanks(), computeRltCut(), computeStandardLPFeasibilityCut(), conflictAnalyze(), consdataCreate(), consdataCreateBinvars(), consdataCreateRedundant(), consdataDeletePos(), consdataGetGlbActivityResiduals(), consdataGetReliableResidualActivity(), consdataLinearize(), consdataPrint(), consdataRecomputeGlbMaxactivity(), consdataRecomputeGlbMinactivity(), consdataUpdateAddCoef(), consdataUpdateDelCoef(), consdataUpdateSignatures(), constructSNFRelaxation(), convertLongEquality(), createAuxVar(), createBlockproblem(), createCoveringProblem(), createIndicatorConstraint(), createKKTComplementarityBounds(), createKKTDualCons(), createProjRow(), createSortedEventpoints(), createSubscip(), createSubSCIP(), createVarboundCons(), createVarUbs(), cutsRoundMIR(), cutsRoundStrongCG(), cutTightenCoefs(), cutTightenCoefsQuad(), DECL_CHANGESUBSCIP(), detectHiddenProducts(), detectImplications(), detectImpliedBounds(), determineBestBounds(), determineBound(), determineVariableFixings(), dfs(), doSolveSubMIP(), dropEventBinvar(), dualBoundStrengthening(), dualPresolve(), dualPresolving(), enfopsCons(), estimateBivariateQuotient(), estimateConvexSecant(), estimateGradient(), estimateUnivariateQuotient(), extractCliques(), extractLinearValues(), filterExistingLP(), findAggregation(), findBestUb(), findDominancePairs(), findDownlockAggregations(), findFixings(), findUncapacitatedArcs(), findUplockAggregations(), fixDiscreteVars(), fixIntegerVariableUb(), fixTriangle(), fixVariables(), focusnodeCleanupVars(), forbidFixation(), freeMemory(), fullDualPresolve(), generateBoundInequalityFromSOS1Nodes(), generateRowCardinality(), generateRowSOS2(), generateZerohalfCut(), getActivityResidualsLowerBound(), getActivityResidualsUpperBound(), getClosestVlb(), getCorner(), getDomainCenter(), getFixVal(), getGenVBoundsMinActivity(), getMaxactImplicObjchg(), getMaxActivity(), getMaxObjPseudoactivityResidual(), getMinactImplicObjchg(), getMinActivity(), getNewSidesAfterAggregation(), getObjectiveFactor(), getPotential(), getPotentialContributed(), getSolutionValues(), handleNewVariableCardinality(), handleNewVariableSOS1(), identifyOrbitalSymmetriesBroken(), implBndToBigM(), isBoundchgUseless(), isCandidate(), isSingleLockedCand(), LNSFixMoreVariables(), lockVariableCardinality(), lockVariableSOS1(), lockVariableSOS2(), markRowsXj(), objimplicsCreate(), optimize(), performDualfix(), predBndStr(), preprocessConstraintPairs(), presolRoundIndicator(), presolRoundSOS2(), presolStuffing(), presolveAddKKTAggregatedVars(), presolveConsEffectiveHorizon(), presolveConsEst(), presolveConsLct(), presolveCumulativeCondition(), presolveSingleLockedVars(), printIndicatorCons(), proofsetCancelVarWithBound(), propagateBinaryBestRootRedcost(), propagateCons(), propagateCutoffboundGlobally(), propagateCutoffboundVar(), propagateLongProof(), propagateLowerbound(), propagateLowerboundVar(), propagateRootRedcostVar(), propagateVbounds(), propdataInit(), proposeFeasibleSolution(), readBinaries(), readBounds(), readGenerals(), readSol(), reboundIntegerVariables(), recomputeGlbPseudoObjectiveValue(), relaxVar(), removeFixedVariables(), removeIrrelevantJobs(), removeZeros(), removeZerosQuad(), resolveGenVBoundPropagation(), resolvePropagationCoretimes(), rowFindSlackVar(), rowprepCleanupImproveCoefrange(), rowprepCleanupIntegralCoefs(), rowScale(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_CONCSOLVERSYNCREAD(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSGETSIGNEDPERMSYMGRAPH(), SCIP_DECL_CONSINITLP(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EXPR_INTEVALVAR(), SCIP_DECL_HEUREXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_NLHDLRESTIMATE(), SCIP_DECL_NLHDLRINITSEPA(), SCIP_DECL_NLHDLRSOLLINEARIZE(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPRESPROP(), SCIP_DECL_SORTINDCOMP(), SCIPaddVarImplication(), SCIPaggrRowCancelVarWithBound(), SCIPaggrRowGetMinActivity(), SCIPapplyHeurDualval(), SCIPapplyHeurSubNlp(), SCIPapplyProximity(), SCIPbranchGetBranchingPoint(), SCIPchgVarUbLazy(), SCIPclassifyConstraintTypesLinear(), SCIPcliqueDelVar(), SCIPcliquetableAdd(), SCIPcomputeVarUbGlobal(), SCIPconflictAddRelaxedBound(), SCIPconflictGetVarUb(), SCIPconsResolvePropagation(), SCIPcreateConsLinking(), SCIPcreateConsOrbitope(), SCIPcreateFiniteSolCopy(), SCIPcutGenerationHeuristicCMIR(), SCIPcutsTightenCoefficients(), SCIPgetSymActiveVariables(), SCIPimplicsAdd(), SCIPlpRecomputeLocalAndGlobalPseudoObjval(), SCIPlpUpdateVarObj(), SCIPmatrixCreate(), SCIPmatrixPrintRow(), SCIPmergeRowprepTerms(), SCIPnodeAddBoundinfer(), SCIPpropResolvePropagation(), SCIPreoptSaveGlobalBounds(), SCIPseparateRelaxedKnapsack(), SCIPshrinkDisjunctiveVarSet(), SCIPsolAdjustImplicitSolVals(), SCIPsolCheck(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPtightenVarLbGlobal(), SCIPtightenVarUbGlobal(), SCIPundoBdchgsProof(), SCIPvarAddHoleGlobal(), SCIPvarAddImplic(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarCopy(), SCIPvarGetMultaggrLbGlobal(), SCIPvarGetMultaggrUbGlobal(), SCIPvarGetNLPSol_rec(), SCIPvarGetProbvarBinary(), SCIPvarGetRelaxSol(), SCIPvarPrint(), SCIPvarRemoveCliquesImplicsVbs(), SCIPvarUpdateBestRootSol(), SCIPvisualizeConsCumulative(), SCIPwriteBnd(), SCIPwriteLp(), selectShifting(), sepaImplBoundCutsSOS1(), separateCuts(), separateIndicators(), separatePerspective(), sepastoreApplyLb(), sepastoreApplyUb(), sepastoreIsBdchgApplicable(), setSymmetryData(), setupAggregationData(), setupAndSolveCumulativeSubscip(), setupAndSolveSubscip(), setupAndSolveSubscipRapidlearning(), shiftValues(), simplifyInequalities(), singletonColumnStuffing(), skipRedundantBdchginfos(), solveAndEvalSubscip(), solveClassification(), solveCumulative(), solveLp(), solveMinIISC(), solveSubNLP(), sortAndMergeClique(), termIsConstant(), tightenBounds(), tightenCoefs(), tightenDualproof(), tightenSingleVar(), tightenVariables(), tightenVarLb(), transformDualredsToBounddisjunction(), transformNonIntegralRow(), treeAddPendingBdchg(), tryAdd2variableBuffer(), tryAddGadgetBilinearProductSignedPerm(), tryAddGadgetSquaredDifference(), tryFixVar(), tryUpgradingXor(), unlockVariableCardinality(), unlockVariableSOS1(), unlockVariableSOS2(), updateDistances(), updateFirstRow(), updateFirstRowGlobal(), updateSlacks(), varAddImplic(), varAddVbound(), varIncRootboundchgs(), varIsCenteredAt0(), varIsFixed(), varIsSemicontinuous(), and varProcessAddHoleGlobal().
◆ SCIPvarGetHolelistGlobal() ◆ SCIPvarGetBestBoundGlobal() ◆ SCIPvarGetWorstBoundGlobal() ◆ SCIPvarGetLbLocal()gets current lower bound of variable
Definition at line 18142 of file var.c.
References SCIP_Dom::lb, SCIP_Var::locdom, and NULL.
Referenced by addBilinearTermToCut(), addBoundViolated(), addBranchingComplementaritiesSOS1(), addCand(), addCliqueDataEntry(), addColToCut(), addConflictReasonVars(), addExprsViolScore(), addFacetToCut(), addFixedVarsConss(), addLinearTermToCut(), addRelaxation(), addRltTerm(), addSplitcons(), addSSTConssOrbitAndUpdateSST(), analyseInfeasibelCoreInsertion(), analyseOnoffBounds(), analyseVarOnoffBounds(), analyzeConflictOne(), analyzeConflictUpperbound(), analyzeConflictZero(), analyzeEnergyRequirement(), analyzeGenVBoundConflict(), analyzeViolation(), analyzeZeroResultant(), applyAlternativeBoundsBranching(), applyAlternativeBoundsFixing(), applyBdchgs(), applyBinaryConstraints(), applyBoundChgs(), applyBoundHeur(), applyCliqueFixings(), applyDomainReductions(), applyGenVBound(), applyNlobbt(), applyObbt(), applyOptcumulative(), applyOptcumulativeFixings(), applyOrbitalBranchingPropagations(), applyOrbitalReductionPart(), applyProbing(), applyProbingVar(), applyVboundsFixings(), areBoundsChanged(), assertIsOrbitopeMatrix(), bilinboundGetScore(), branch(), branchBalancedCardinality(), branchcandCalcLPCands(), branching(), branchOnVar(), branchruledataUpdateCurrentBounds(), branchUnbalancedCardinality(), buildMod2Matrix(), calcBranchScore(), calculateAlternatives(), catchEvent(), catchEventBinvar(), changeAncestorBranchings(), checkBounddisjunction(), checkCounters(), checkExec(), checkFeasible(), checkForOverlapping(), checkIISlocal(), checkImplicsApplied(), checkKnapsack(), checkLogicor(), checkOverloadViaThetaTree(), checkRikun(), checkSetupTolerances(), checkSignomialBounds(), checkSolution(), checkSwitchNonoverlappingSOS1Methods(), checkVarbound(), checkVariable(), chgCoeffWithBound(), chgProbingBound(), chgQuadCoeffWithBound(), chooseCoefVar(), chooseDoubleVar(), chooseFracVar(), chooseGuidedVar(), choosePscostVar(), chooseVeclenVar(), collectActivities(), collectBranchingCandidates(), collectBranchingCands(), collectCliqueData(), collectDataTTEF(), collectEstLst(), collectIntVars(), collectSolActivities(), collectSolution(), componentSetupWorkingSol(), computeAlternativeBounds(), computeConvexEnvelopeFacet(), computeCut(), computeEnergyContribution(), computeImpliedEst(), computeImpliedLct(), computeMinDistance(), computeRltCut(), computeStandardLPOptimalityCut(), conflictAnalyzeLP(), consCheckRedundancy(), consdataComputePseudoActivity(), consdataCreate(), consdataCreateRedundant(), consdataGetActivityResiduals(), consdataGetReliableResidualActivity(), consdataPrint(), consdataRecomputeMaxactivity(), consdataRecomputeMaxActivityDelta(), consdataRecomputeMinactivity(), consdataTightenCoefs(), consdataUpdateAddCoef(), consdataUpdateDelCoef(), consFixLinkvar(), constraintNonOverlappingGraph(), coretimesUpdateLb(), coretimesUpdateUb(), countSparseSol(), createCoreProfile(), createCoverCuts(), createCoverCutsTimepoint(), createCoveringProblem(), createGenVBound(), createNewSol(), createProjRow(), createSelectedSortedEventpointsSol(), createSolFromNLP(), createSolFromSubScipSol(), createSortedEventpoints(), createSubscip(), CUTOFF_CONSTRAINT(), cutsRoundMIR(), cutsRoundStrongCG(), cutTightenCoefs(), cutTightenCoefsQuad(), deleteCliqueDataEntry(), deleteVarCardinality(), determineBestBounds(), domainReductionsCreate(), doSeachEcAggr(), doSolveSubMIP(), dropEvent(), dropEventBinvar(), dryBranch(), dualBoundStrengthening(), enforceCardinality(), enforceConflictgraph(), enforceConstraint(), enforceConstraints(), enforceIndicators(), enforceSol(), estimateBivariateQuotient(), estimateVertexPolyhedral(), evalBound(), evalCorner(), execRelpscost(), executeBranching(), executeBranchingRecursive(), extractCycle(), extractGates(), filterCands(), filterExistingLP(), filterRound(), findBestLb(), findComponents(), findNewBounds(), fixAndPropagate(), fixBounds(), fixIntegerVariable(), fixIntegerVariableLb(), fixInterdiction(), fixVariable(), fixVariableZero(), fixVariableZeroNode(), forbidCover(), generateAverageNBRay(), generateBoundInequalityFromSOS1Cons(), generateBoundInequalityFromSOS1Nodes(), generateCloseCutPoint(), generateRowCardinality(), generateRowSOS2(), generateZerohalfCut(), getBoundConsFromVertices(), getCliqueUnfixedVars(), getClosestVub(), getDiveBdChgsSOS1conflictgraph(), getDiveBdChgsSOS1constraints(), getFilterCoef(), getFixingValue(), getGenVBoundsMinActivity(), getGenVBoundsMinActivityConflict(), getImplVarRedcost(), getIneqViol(), getMaxactImplicObjchg(), getNLPFracVars(), getRandomVariable(), getRelDistance(), getValueScore(), getVarBounds(), getViolSplitWeight(), handle1Cycle(), handleNewVariableCardinality(), handleNewVariableSOS1(), handleNewVariableSOS2(), hasUnfixedSCIndicator(), heurdataUpdateCurrentBounds(), heurExec(), impliesVlbPrecedenceCondition(), improvePoint(), inferboundsEdgeFinding(), inferVariableZero(), initConflictgraph(), initializeSol(), initLP(), initProblem(), initSepa(), isBinaryProduct(), isNonstandardPerm(), isPossibleToComputeCut(), isPseudocostUpdateValid(), isViolatedAndNotFixed(), isViolatedSOS1(), liftCliqueVariables(), lpUpdateVarColumn(), lpUpdateVarColumnProved(), lpUpdateVarLoose(), lpUpdateVarLooseProved(), makeSOS1conflictgraphFeasible(), makeSOS1constraintsFeasible(), markRowsXj(), nlpCalcFracVars(), nlpFlushVarAdditions(), nlpSolve(), nlpUpdateVarBounds(), nlrowCalcActivityBounds(), nodeGetSolvalBinaryBigMSOS1(), nodeGetSolvalVarboundLbSOS1(), normalizeWeights(), notifyNlhdlrNewsol(), orbitalReductionGetSymmetryStabilizerSubgroup(), performBranchingNoSol(), performBranchingSol(), performDualfix(), performFixing(), performRandRounding(), performStrongbranchSOS1(), performStrongbranchWithPropagation(), preprocessCliques(), presolRoundCardinality(), presolRoundConsSOS1(), presolRoundIndicator(), presolRoundSOS2(), presolRoundVarsSOS1(), presolveConsEst(), presolvePropagateCons(), presolveRedundantConss(), printBoundSection(), processBinvarFixings(), processFixings(), processRealBoundChg(), processWatchedVars(), projectVbd(), propagateCons(), propagateCutoffboundBinvars(), propagateCutoffboundVar(), propagateFullOrbitopeCons(), propagateLbTTEF(), propagatePackingPartitioningCons(), propagateRedcostBinvar(), propagateRedcostVar(), propagateRootRedcostBinvar(), propagateStaticOrbitope(), propagateTimetable(), propagateTTEF(), propagateUbTTEF(), propagateVariablePair(), propagateVbounds(), propCardinality(), propConsSOS1(), propIndicator(), propSOS2(), propVariableNonzero(), propVariables(), rangedRowPropagation(), recomputeLooseObjectiveValue(), recomputePseudoObjectiveValue(), registerBranchingCandidates(), registerBranchingCandidatesAllUnfixed(), removeZeros(), removeZerosQuad(), reoptCheckLocalRestart(), reoptSimilarity(), resolveGenVBoundPropagation(), retransformVariable(), rowCalculateGauss(), rowprepCleanupImproveCoefrange(), rowprepCleanupIntegralCoefs(), rowprepRecordModifiedVar(), sampleRandomPoints(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSENFOPS(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSGETDIVEBDCHGS(), SCIP_DECL_CONSINITLP(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPROP(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_CONSSEPASOL(), SCIP_DECL_CONSTRANS(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EXPR_INTEVALVAR(), SCIP_DECL_EXPR_OWNERPRINT(), SCIP_DECL_EXPRINTEVAL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_NLHDLRENFO(), SCIP_DECL_NLHDLRESTIMATE(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPEXEC(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPaddConflictBinvar(), SCIPaggrRowCancelVarWithBound(), SCIPanalyzeDeductionsProbing(), SCIPapplyLockFixings(), SCIPapplyProbingVar(), SCIPbendersSetupSubproblem(), SCIPbranchcandAddExternCand(), SCIPbranchcandGetPseudoCands(), SCIPbranchcandUpdateVar(), SCIPbranchExecExtern(), SCIPbranchExecLP(), SCIPbranchExecPseudo(), SCIPbranchGetBranchingPoint(), SCIPbranchVar(), SCIPbranchVarVal(), SCIPbranchVarValNary(), SCIPchgVarLb(), SCIPchgVarLbGlobal(), SCIPchgVarLbNode(), SCIPchgVarLbProbing(), SCIPcolCreate(), SCIPcomputeVarLbLocal(), SCIPconflictAnalyzePseudo(), SCIPconflictAnalyzeRemainingBdchgs(), SCIPconflictAnalyzeStrongbranch(), SCIPcreateNlpiProblemFromNlRows(), SCIPcreateWorstCaseProfile(), SCIPcutGenerationHeuristicCMIR(), SCIPcutsTightenCoefficients(), SCIPexprDismantle(), SCIPfixVar(), SCIPfixVarProbing(), SCIPgetVarLbAtIndex(), SCIPgetVarStrongbranchFrac(), SCIPgetVarStrongbranchInt(), SCIPgetVarStrongbranchWithPropagation(), SCIPgetVarWasFixedAtIndex(), SCIPinferBinvarCons(), SCIPinferBinvarProp(), SCIPinferVarLbCons(), SCIPinferVarLbProp(), SCIPinferVarUbCons(), SCIPinferVarUbProp(), SCIPlpEndDive(), SCIPlpRecomputeLocalAndGlobalPseudoObjval(), SCIPlpStartDive(), SCIPlpUpdateVarObj(), SCIPlpUpdateVarUb(), SCIPmakeIndicatorFeasible(), SCIPmergeRowprepTerms(), SCIPnlpEndDive(), SCIPnodeAddBoundinfer(), SCIPnodeAddHoleinfer(), SCIPnodePropagateImplics(), SCIPperformGenericDivingAlgorithm(), SCIPpricestoreAddBdviolvar(), SCIPpricestoreAddProbVars(), SCIPpricestoreAddVar(), SCIPpricestoreResetBounds(), SCIPprobUpdateBestRootSol(), SCIPreoptnodeAddCons(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), SCIPseparateRelaxedKnapsack(), SCIPsetBinaryVarIndicator(), SCIPsnprintfProbingStats(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPtightenVarLb(), SCIPtightenVarLbGlobal(), SCIPtreeBranchVar(), SCIPtreeBranchVarHole(), SCIPtreeBranchVarNary(), SCIPupdateNlpiProblem(), SCIPupgradeConsLinear(), SCIPvarAddHoleLocal(), SCIPvarChgLbGlobal(), SCIPvarChgUbGlobal(), SCIPvarCopy(), SCIPvarGetImplRedcost(), SCIPvarGetLbAtIndex(), SCIPvarGetMultaggrLbLocal(), SCIPvarGetMultaggrUbLocal(), SCIPvarGetNLPSol_rec(), SCIPvarGetRelaxSol(), SCIPvarPrint(), SCIPvarWasFixedAtIndex(), SCIPvisualCutoffNode(), SCIPvisualNewChild(), SCIPvisualSolvedNode(), SCIPvisualUpdateChild(), SCIPwriteGms(), SCIPwriteLp(), SCIPwritePip(), scoreBranchingCandidates(), selectBranchVar(), selectNextDiving(), selectVarRecursive(), selectVarStart(), separateCons(), separateCuts(), separateMcCormickImplicit(), separatePerspective(), sepastoreApplyLb(), sepastoreApplyUb(), sepastoreIsBdchgApplicable(), setupAggregationData(), setupAndSolveFiniteSolSubscip(), setVarToNearestBound(), solveAndEvalSubscip(), solveCumulative(), solveIndependentCons(), solveNLP(), solveNlp(), solveNode(), solveSubproblem(), sparsifyIntercut(), startProbing(), TCLIQUE_NEWSOL(), termIsConstant(), testColumnsAreSymmetricallyEquivalent(), tightenAuxVarBounds(), tightenBoundProbing(), tightenBounds(), tightenCoefs(), tightenedLinkvar(), tightenOnBounds(), tightenSingleVar(), tightenUbTTEF(), tightenVarBounds(), tightenVarBoundsEasy(), tightenVariables(), tightenVarLb(), tightenVarsBoundsSOS1(), tightenVarUb(), transformNonIntegralRow(), transformVariable(), translateSubSol(), treeApplyPendingBdchgs(), tryOneOpt(), trySolCandidate(), updateBestCandidate(), updateBilinearRelaxation(), updateColumnOrderWhenBranchingOnColumn(), updateFirstRow(), updateImplicationGraphSOS1(), updatePseudocost(), updateVariableRounding(), updateWeightsTCliquegraph(), updateWeightSums(), useBilinIneqs(), varIsFixed(), varIsFixedLocal(), varIsUnfixedLocal(), varProcessAddHoleLocal(), varProcessBoundChanges(), writeFzn(), writeOpbFixedVars(), and writeOpbRelevantAnds().
◆ SCIPvarGetUbLocal()gets current upper bound of variable
Definition at line 18152 of file var.c.
References SCIP_Var::locdom, NULL, and SCIP_Dom::ub.
Referenced by addBilinearTermToCut(), addBoundViolated(), addBranchingComplementaritiesSOS1(), addCand(), addCliqueDataEntry(), addColToCut(), addConflictReasonVars(), addExprsViolScore(), addFacetToCut(), addFixedVarsConss(), addLinearTermToCut(), addRelaxation(), addRltTerm(), addSplitcons(), addSSTConssOrbitAndUpdateSST(), analyseInfeasibelCoreInsertion(), analyseOnoffBounds(), analyseVarOnoffBounds(), analyzeConflictLowerbound(), analyzeConflictOne(), analyzeConflictZero(), analyzeEnergyRequirement(), analyzeGenVBoundConflict(), analyzeViolation(), analyzeZeroResultant(), applyAlternativeBoundsBranching(), applyAlternativeBoundsFixing(), applyBdchgs(), applyBoundChgs(), applyBoundHeur(), applyCliqueFixings(), applyDomainReductions(), applyGenVBound(), applyNlobbt(), applyObbt(), applyOptcumulative(), applyOptcumulativeFixings(), applyOrbitalBranchingPropagations(), applyOrbitalReductionPart(), applyProbing(), applyProbingVar(), applyVboundsFixings(), areBoundsChanged(), assertIsOrbitopeMatrix(), bilinboundGetScore(), branch(), branchBalancedCardinality(), branchcandCalcLPCands(), branching(), branchOnVar(), branchruledataUpdateCurrentBounds(), branchUnbalancedCardinality(), buildMod2Matrix(), calcBranchScore(), calculateAlternatives(), catchEvent(), catchEventBinvar(), changeAncestorBranchings(), checkBounddisjunction(), checkCounters(), checkExec(), checkFeasible(), checkForOverlapping(), checkIISlocal(), checkImplicsApplied(), checkKnapsack(), checkOverloadViaThetaTree(), checkRikun(), checkSetupTolerances(), checkSignomialBounds(), checkSolution(), checkSwitchNonoverlappingSOS1Methods(), checkVarbound(), checkVariable(), chgCoeffWithBound(), chgProbingBound(), chgQuadCoeffWithBound(), chooseCoefVar(), chooseDoubleVar(), chooseFracVar(), chooseGuidedVar(), choosePscostVar(), chooseVeclenVar(), collectActivities(), collectBranchingCandidates(), collectBranchingCands(), collectCliqueData(), collectDataTTEF(), collectIntVars(), collectSolActivities(), collectSolution(), COLORprobPrintStableSet(), COLORprobPrintStableSets(), componentSetupWorkingSol(), computeAlternativeBounds(), computeConvexEnvelopeFacet(), computeCut(), computeEnergyContribution(), computeImpliedEst(), computeImpliedLct(), computeMinDistance(), computeRltCut(), computeStandardLPOptimalityCut(), conflictAnalyzeLP(), consCheckRedundancy(), consdataCheck(), consdataComputePseudoActivity(), consdataCreate(), consdataCreateRedundant(), consdataGetActivityResiduals(), consdataGetReliableResidualActivity(), consdataPrint(), consdataRecomputeMaxactivity(), consdataRecomputeMaxActivityDelta(), consdataRecomputeMinactivity(), consdataTightenCoefs(), consdataUpdateAddCoef(), consdataUpdateDelCoef(), consFixLinkvar(), constraintNonOverlappingGraph(), coretimesUpdateLb(), coretimesUpdateUb(), countSparseSol(), createCoreProfile(), createCoverCuts(), createCoverCutsTimepoint(), createCoveringProblem(), createGenVBound(), createNewSol(), createProjRow(), createSelectedSortedEventpointsSol(), createSolFromNLP(), createSolFromSubScipSol(), createSortedEventpoints(), createSubscip(), CUTOFF_CONSTRAINT(), cutsRoundMIR(), cutsRoundStrongCG(), cutTightenCoefs(), cutTightenCoefsQuad(), deleteCliqueDataEntry(), determineBestBounds(), domainReductionsCreate(), doSeachEcAggr(), doSolveSubMIP(), dropEvent(), dropEventBinvar(), dryBranch(), dualBoundStrengthening(), enforceCardinality(), enforceConflictgraph(), enforceConstraints(), enforceIndicators(), enforceSol(), estimateBivariateQuotient(), estimateVertexPolyhedral(), evalBound(), evalCorner(), execRelpscost(), executeBranching(), executeBranchingRecursive(), extractCycle(), extractGates(), filterCands(), filterExistingLP(), filterRound(), findBestUb(), findComponents(), findNewBounds(), fixAndPropagate(), fixBounds(), fixIntegerVariable(), fixIntegerVariableUb(), fixInterdiction(), fixVariable(), fixVariableZero(), fixVariableZeroNode(), generateAverageNBRay(), generateBoundInequalityFromSOS1Cons(), generateBoundInequalityFromSOS1Nodes(), generateCloseCutPoint(), generateRowSOS2(), generateZerohalfCut(), getBoundConsFromVertices(), getCliqueUnfixedVars(), getClosestVlb(), getDiveBdChgsSOS1conflictgraph(), getDiveBdChgsSOS1constraints(), getFilterCoef(), getFixingValue(), getGenVBoundsMinActivity(), getGenVBoundsMinActivityConflict(), getImplVarRedcost(), getIneqViol(), getMaxactImplicObjchg(), getNLPFracVars(), getRandomVariable(), getRelDistance(), getScore(), getValueScore(), getVarBounds(), getViolSplitWeight(), handle1Cycle(), handleNewVariableSOS1(), handleNewVariableSOS2(), hasUnfixedSCIndicator(), ObjPricerVRP::have_edge(), heurdataUpdateCurrentBounds(), heurExec(), impliesVlbPrecedenceCondition(), improvePoint(), indicatorVarIsInteresting(), inferboundsEdgeFinding(), inferVariableZero(), initConflictgraph(), initLP(), initProblem(), initSepa(), isBinaryProduct(), isNonstandardPerm(), isPossibleToComputeCut(), isPseudocostUpdateValid(), isViolatedAndNotFixed(), isViolatedSOS1(), liftCliqueVariables(), lpUpdateVarColumn(), lpUpdateVarColumnProved(), lpUpdateVarLoose(), lpUpdateVarLooseProved(), makeSOS1conflictgraphFeasible(), makeSOS1constraintsFeasible(), markRowsXj(), nlpCalcFracVars(), nlpFlushVarAdditions(), nlpSolve(), nlpUpdateVarBounds(), nlrowCalcActivityBounds(), nodeGetSolvalBinaryBigMSOS1(), nodeGetSolvalVarboundUbSOS1(), normalizeWeights(), notifyNlhdlrNewsol(), orbitalReductionGetSymmetryStabilizerSubgroup(), performBranchingNoSol(), performBranchingSol(), performDualfix(), performFixing(), performRandRounding(), performStrongbranchSOS1(), performStrongbranchWithPropagation(), preprocessCliques(), presolRoundCardinality(), presolRoundConsSOS1(), presolRoundIndicator(), presolRoundSOS2(), presolRoundVarsSOS1(), presolveConsLct(), presolvePropagateCons(), presolveRedundantConss(), printBoundSection(), processBinvarFixings(), processFixings(), processRealBoundChg(), processWatchedVars(), projectVbd(), propagateCons(), propagateCutoffboundBinvars(), propagateCutoffboundVar(), propagateFullOrbitopeCons(), propagateLbTTEF(), propagatePackingPartitioningCons(), propagateRedcostBinvar(), propagateRedcostVar(), propagateRootRedcostBinvar(), propagateStaticOrbitope(), propagateTimetable(), propagateTTEF(), propagateUbTTEF(), propagateVariablePair(), propagateVbounds(), propCardinality(), propConsSOS1(), propIndicator(), propSOS2(), propVariableNonzero(), propVariables(), rangedRowPropagation(), recomputeLooseObjectiveValue(), recomputePseudoObjectiveValue(), registerBranchingCandidates(), registerBranchingCandidatesAllUnfixed(), removeFixedBinvars(), removeZeros(), removeZerosQuad(), reoptCheckLocalRestart(), reoptSimilarity(), resolveGenVBoundPropagation(), retransformVariable(), rowCalculateGauss(), rowprepCleanupImproveCoefrange(), rowprepCleanupIntegralCoefs(), rowprepRecordModifiedVar(), sampleRandomPoints(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSGETDIVEBDCHGS(), SCIP_DECL_CONSPROP(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_CONSTRANS(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EXPR_INTEVALVAR(), SCIP_DECL_EXPR_OWNERPRINT(), SCIP_DECL_EXPRINTEVAL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_NLHDLRENFO(), SCIP_DECL_NLHDLRESTIMATE(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRICERFARKAS(), SCIP_DECL_PROPEXEC(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SEPAEXECLP(), SCIPaddConflictBinvar(), SCIPaggrRowCancelVarWithBound(), SCIPanalyzeDeductionsProbing(), SCIPapplyLockFixings(), SCIPapplyProbingVar(), SCIPbendersSetupSubproblem(), SCIPbranchcandAddExternCand(), SCIPbranchcandGetPseudoCands(), SCIPbranchcandUpdateVar(), SCIPbranchExecExtern(), SCIPbranchExecLP(), SCIPbranchExecPseudo(), SCIPbranchGetBranchingPoint(), SCIPbranchVar(), SCIPbranchVarVal(), SCIPbranchVarValNary(), SCIPchgVarUb(), SCIPchgVarUbGlobal(), SCIPchgVarUbNode(), SCIPchgVarUbProbing(), SCIPcolCreate(), SCIPcomputeVarUbLocal(), SCIPconflictAnalyzePseudo(), SCIPconflictAnalyzeRemainingBdchgs(), SCIPconflictAnalyzeStrongbranch(), SCIPcreateNlpiProblemFromNlRows(), SCIPcreateWorstCaseProfile(), SCIPcutGenerationHeuristicCMIR(), SCIPcutsTightenCoefficients(), SCIPexprDismantle(), SCIPfixVar(), SCIPfixVarProbing(), SCIPgetVarStrongbranchFrac(), SCIPgetVarStrongbranchInt(), SCIPgetVarStrongbranchWithPropagation(), SCIPgetVarUbAtIndex(), SCIPgetVarWasFixedAtIndex(), SCIPinferBinvarCons(), SCIPinferBinvarProp(), SCIPinferVarLbCons(), SCIPinferVarLbProp(), SCIPinferVarUbCons(), SCIPinferVarUbProp(), SCIPlpEndDive(), SCIPlpRecomputeLocalAndGlobalPseudoObjval(), SCIPlpStartDive(), SCIPlpUpdateVarLb(), SCIPlpUpdateVarObj(), SCIPmergeRowprepTerms(), SCIPnlpEndDive(), SCIPnodeAddBoundinfer(), SCIPnodeAddHoleinfer(), SCIPnodePropagateImplics(), SCIPperformGenericDivingAlgorithm(), SCIPpricestoreAddBdviolvar(), SCIPpricestoreAddProbVars(), SCIPpricestoreAddVar(), SCIPpricestoreResetBounds(), SCIPprobUpdateBestRootSol(), SCIPreoptnodeAddCons(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), SCIPseparateRelaxedKnapsack(), SCIPsnprintfProbingStats(), SCIPsolGetRayVal(), SCIPsolGetVal(), SCIPtightenVarUb(), SCIPtightenVarUbGlobal(), SCIPtreeBranchVar(), SCIPtreeBranchVarHole(), SCIPtreeBranchVarNary(), SCIPupdateNlpiProblem(), SCIPupgradeConsLinear(), SCIPvarAddHoleLocal(), SCIPvarChgLbGlobal(), SCIPvarChgUbGlobal(), SCIPvarCopy(), SCIPvarGetImplRedcost(), SCIPvarGetMultaggrLbLocal(), SCIPvarGetMultaggrUbLocal(), SCIPvarGetNLPSol_rec(), SCIPvarGetRelaxSol(), SCIPvarGetUbAtIndex(), SCIPvarPrint(), SCIPvarWasFixedAtIndex(), SCIPvisualCutoffNode(), SCIPvisualNewChild(), SCIPvisualSolvedNode(), SCIPvisualUpdateChild(), SCIPwriteGms(), SCIPwriteLp(), SCIPwritePip(), scoreBranchingCandidates(), selectBranchVar(), selectNextDiving(), selectVarRecursive(), selectVarStart(), separateCons(), separateCuts(), separateIndicators(), separateMcCormickImplicit(), separatePerspective(), sepastoreApplyLb(), sepastoreApplyUb(), sepastoreIsBdchgApplicable(), setupAggregationData(), setupAndSolveFiniteSolSubscip(), setVarToNearestBound(), solveAndEvalSubscip(), solveCumulative(), solveIndependentCons(), solveNLP(), solveNlp(), solveNode(), solveSubproblem(), sparsifyIntercut(), startProbing(), TCLIQUE_NEWSOL(), termIsConstant(), testColumnsAreSymmetricallyEquivalent(), tightenAuxVarBounds(), tightenBoundProbing(), tightenBounds(), tightenCoefs(), tightenedLinkvar(), tightenLbTTEF(), tightenOnBounds(), tightenSingleVar(), tightenVarBounds(), tightenVarBoundsEasy(), tightenVariables(), tightenVarLb(), tightenVarsBoundsSOS1(), tightenVarUb(), transformNonIntegralRow(), transformVariable(), translateSubSol(), treeApplyPendingBdchgs(), tryOneOpt(), trySolCandidate(), updateBestCandidate(), updateBilinearRelaxation(), updateColumnOrderWhenBranchingOnColumn(), updateFirstRow(), updateImplicationGraphSOS1(), updatePseudocost(), updateVariableRounding(), updateWeightsTCliquegraph(), useBilinIneqs(), varIsFixed(), varIsFixedLocal(), varIsUnfixedLocal(), varProcessAddHoleLocal(), varProcessBoundChanges(), writeFzn(), writeOpbFixedVars(), and writeOpbRelevantAnds().
◆ SCIPvarGetHolelistLocal() ◆ SCIPvarGetBestBoundLocal()gets best local bound of variable with respect to the objective function
Definition at line 18172 of file var.c.
References SCIP_Dom::lb, SCIP_Var::locdom, NULL, SCIP_Var::obj, and SCIP_Dom::ub.
Referenced by addBoundViolated(), nlpAddVars(), SCIPnlpGetPseudoObjval(), SCIPnlrowRecalcPseudoActivity(), SCIPvarGetLPSol_rec(), SCIPvarGetPseudoSol(), and SCIPvarGetPseudoSol_rec().
◆ SCIPvarGetWorstBoundLocal() ◆ SCIPvarGetBestBoundType()gets type (lower or upper) of best bound of variable with respect to the objective function
Definition at line 18198 of file var.c.
References NULL, SCIP_Var::obj, SCIP_BOUNDTYPE_LOWER, and SCIP_BOUNDTYPE_UPPER.
Referenced by adjustCutoffbound(), collectMinactImplicVars(), collectMinactObjchg(), collectMinactVar(), consdataComputePseudoActivity(), getMinactObjchg(), objimplicsCreate(), SCIP_DECL_NLHDLRINITSEPA(), SCIPgetVarStrongbranchFrac(), SCIPgetVarStrongbranchInt(), SCIPgetVarStrongbranchWithPropagation(), SCIPlpGetModifiedProvedPseudoObjval(), and SCIPlpGetModifiedPseudoObjval().
◆ SCIPvarGetWorstBoundType() ◆ SCIPvarGetLbLazy() ◆ SCIPvarGetUbLazy() ◆ SCIPvarGetBranchFactor()gets the branch factor of the variable; this value can be used in the branching methods to scale the score values of the variables; higher factor leads to a higher probability that this variable is chosen for branching
Definition at line 18246 of file var.c.
References SCIP_Var::branchfactor, and NULL.
Referenced by SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_BRANCHEXECLP(), SCIPaddVarBranchFactor(), SCIPbranchExecExtern(), SCIPbranchExecLP(), SCIPbranchExecPseudo(), SCIPbranchGetScore(), SCIPprintBranchingStatistics(), SCIPscaleVarBranchFactor(), and updateBestCandidate().
◆ SCIPvarGetBranchPriority() int SCIPvarGetBranchPriority ( SCIP_VAR * var )gets the branch priority of the variable; variables with higher priority should always be preferred to variables with lower priority
Definition at line 18258 of file var.c.
References SCIP_Var::branchpriority, and NULL.
Referenced by branchcandCalcLPCands(), branchcandInsertPseudoCand(), branchcandRemovePseudoCand(), branchcandSortPseudoCands(), nlpCalcFracVars(), performBranchingNoSol(), performBranchingSol(), SCIP_DECL_DIALOGEXEC(), SCIPaddVarBranchPriority(), SCIPbranchcandAddExternCand(), SCIPbranchcandContainsExternCand(), SCIPbranchcandUpdateVarBranchPriority(), SCIPbranchExecExtern(), SCIPbranchExecLP(), SCIPbranchExecPseudo(), SCIPprintBranchingStatistics(), SCIPtransformMinUC(), SCIPtreeBranchVar(), SCIPupdateVarBranchPriority(), and selectBestCands().
◆ SCIPvarGetBranchDirection() ◆ SCIPvarGetNVlbs()gets number of variable lower bounds x >= b_i*z_i + d_i of given variable x
Definition at line 18278 of file var.c.
References NULL, SCIPvboundsGetNVbds(), and SCIP_Var::vlbs.
Referenced by collectNonBinaryVBoundData(), computeImpliedEst(), constructSNFRelaxation(), cutsRoundMIR(), detectHiddenProducts(), detectImpliedBounds(), determineBestBounds(), dfs(), getClosestVlb(), initData(), performBoundSubstitution(), projectVbd(), SCIPseparateRelaxedKnapsack(), SCIPvarGetClosestVlb(), SCIPvisualizeConsCumulative(), separateCuts(), strengthenVarbounds(), and varIsSemicontinuous().
◆ SCIPvarGetVlbVars()gets array with bounding variables z_i in variable lower bounds x >= b_i*z_i + d_i of given variable x; the variable bounds are sorted by increasing variable index of the bounding variable z_i (see SCIPvarGetIndex())
Definition at line 18290 of file var.c.
References NULL, SCIPvboundsGetVars(), and SCIP_Var::vlbs.
Referenced by collectNonBinaryVBoundData(), computeImpliedEst(), constructSNFRelaxation(), cutsRoundMIR(), detectHiddenProducts(), determineBestBounds(), determineBoundForSNF(), dfs(), findBestLb(), getClosestVlb(), initData(), performBoundSubstitution(), projectVbd(), SCIPcutGenerationHeuristicCMIR(), SCIPseparateRelaxedKnapsack(), SCIPvarGetClosestVlb(), SCIPvisualizeConsCumulative(), separateCuts(), strengthenVarbounds(), transformNonIntegralRow(), and varIsSemicontinuous().
◆ SCIPvarGetVlbCoefs()gets array with bounding coefficients b_i in variable lower bounds x >= b_i*z_i + d_i of given variable x
Definition at line 18300 of file var.c.
References NULL, SCIPvboundsGetCoefs(), and SCIP_Var::vlbs.
Referenced by collectNonBinaryVBoundData(), computeImpliedEst(), constructSNFRelaxation(), cutsRoundMIR(), detectHiddenProducts(), determineBestBounds(), dfs(), getClosestVlb(), initData(), performBoundSubstitution(), projectVbd(), SCIPcutGenerationHeuristicCMIR(), SCIPseparateRelaxedKnapsack(), SCIPvarGetClosestVlb(), separateCuts(), strengthenVarbounds(), transformNonIntegralRow(), and varIsSemicontinuous().
◆ SCIPvarGetVlbConstants()gets array with bounding constants d_i in variable lower bounds x >= b_i*z_i + d_i of given variable x
Definition at line 18310 of file var.c.
References NULL, SCIPvboundsGetConstants(), and SCIP_Var::vlbs.
Referenced by collectNonBinaryVBoundData(), computeImpliedEst(), constructSNFRelaxation(), cutsRoundMIR(), detectHiddenProducts(), determineBestBounds(), getClosestVlb(), initData(), performBoundSubstitution(), projectVbd(), SCIPcutGenerationHeuristicCMIR(), SCIPseparateRelaxedKnapsack(), SCIPvarGetClosestVlb(), separateCuts(), strengthenVarbounds(), transformNonIntegralRow(), and varIsSemicontinuous().
◆ SCIPvarGetNVubs()gets number of variable upper bounds x <= b_i*z_i + d_i of given variable x
Definition at line 18320 of file var.c.
References NULL, SCIPvboundsGetNVbds(), and SCIP_Var::vubs.
Referenced by collectNonBinaryVBoundData(), computeImpliedLct(), constructSNFRelaxation(), cutsRoundMIR(), detectHiddenProducts(), detectImpliedBounds(), determineBestBounds(), dfs(), getClosestVub(), initData(), performBoundSubstitution(), projectVbd(), SCIPseparateRelaxedKnapsack(), SCIPvarGetClosestVub(), SCIPvisualizeConsCumulative(), separateCuts(), and varIsSemicontinuous().
◆ SCIPvarGetVubVars()gets array with bounding variables z_i in variable upper bounds x <= b_i*z_i + d_i of given variable x; the variable bounds are sorted by increasing variable index of the bounding variable z_i (see SCIPvarGetIndex())
Definition at line 18332 of file var.c.
References NULL, SCIPvboundsGetVars(), and SCIP_Var::vubs.
Referenced by collectNonBinaryVBoundData(), computeImpliedLct(), constructSNFRelaxation(), cutsRoundMIR(), detectHiddenProducts(), determineBestBounds(), determineBoundForSNF(), dfs(), findBestUb(), getClosestVub(), initData(), performBoundSubstitution(), projectVbd(), SCIPcutGenerationHeuristicCMIR(), SCIPseparateRelaxedKnapsack(), SCIPvarGetClosestVub(), SCIPvisualizeConsCumulative(), separateCuts(), transformNonIntegralRow(), and varIsSemicontinuous().
◆ SCIPvarGetVubCoefs()gets array with bounding coefficients b_i in variable upper bounds x <= b_i*z_i + d_i of given variable x
Definition at line 18342 of file var.c.
References NULL, SCIPvboundsGetCoefs(), and SCIP_Var::vubs.
Referenced by collectNonBinaryVBoundData(), computeImpliedLct(), constructSNFRelaxation(), cutsRoundMIR(), detectHiddenProducts(), determineBestBounds(), dfs(), getClosestVub(), initData(), performBoundSubstitution(), projectVbd(), SCIPcutGenerationHeuristicCMIR(), SCIPseparateRelaxedKnapsack(), SCIPvarGetClosestVub(), separateCuts(), transformNonIntegralRow(), and varIsSemicontinuous().
◆ SCIPvarGetVubConstants()gets array with bounding constants d_i in variable upper bounds x <= b_i*z_i + d_i of given variable x
Definition at line 18352 of file var.c.
References NULL, SCIPvboundsGetConstants(), and SCIP_Var::vubs.
Referenced by collectNonBinaryVBoundData(), computeImpliedLct(), constructSNFRelaxation(), cutsRoundMIR(), detectHiddenProducts(), determineBestBounds(), getClosestVub(), initData(), performBoundSubstitution(), projectVbd(), SCIPcutGenerationHeuristicCMIR(), SCIPseparateRelaxedKnapsack(), SCIPvarGetClosestVub(), separateCuts(), transformNonIntegralRow(), and varIsSemicontinuous().
◆ SCIPvarGetNImpls()gets number of implications y <= b or y >= b for x == 0 or x == 1 of given active problem variable x, there are no implications for nonbinary variable x
Definition at line 18364 of file var.c.
References SCIP_Var::implics, NULL, SCIPimplicsGetNImpls(), and SCIPvarIsActive().
Referenced by catchEvents(), checkImplicsApplied(), collectNonBinaryImplicationData(), detectHiddenProducts(), dfs(), extractCycle(), getMaxactImplicObjchg(), propagateVbounds(), removeConstraintsDueToNegCliques(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIPapplyProbingVar(), SCIPcopyImplicationsCliques(), SCIPnodePropagateImplics(), SCIPvarGetAvgInferences(), SCIPvarGetAvgInferencesCurrentRun(), separateCuts(), and sortVariables().
◆ SCIPvarGetImplVars()gets array with implication variables y of implications y <= b or y >= b for x == 0 or x == 1 of given active problem variable x, there are no implications for nonbinary variable x; the implications are sorted such that implications with binary implied variables precede the ones with non-binary implied variables, and as a second criteria, the implied variables are sorted by increasing variable index (see SCIPvarGetIndex())
Definition at line 18381 of file var.c.
References SCIP_Var::implics, NULL, SCIPimplicsGetVars(), and SCIPvarIsActive().
Referenced by checkImplicsApplied(), collectNonBinaryImplicationData(), detectHiddenProducts(), dfs(), extractCycle(), getMaxactImplicObjchg(), propagateVbounds(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_PRESOLEXEC(), SCIPcopyImplicationsCliques(), SCIPnodePropagateImplics(), and separateCuts().
◆ SCIPvarGetImplTypes()gets array with implication types of implications y <= b or y >= b for x == 0 or x == 1 of given active problem variable x (SCIP_BOUNDTYPE_UPPER if y <= b, SCIP_BOUNDTYPE_LOWER if y >= b), there are no implications for nonbinary variable x
Definition at line 18396 of file var.c.
References SCIP_Var::implics, NULL, SCIPimplicsGetTypes(), and SCIPvarIsActive().
Referenced by checkImplicsApplied(), collectNonBinaryImplicationData(), detectHiddenProducts(), dfs(), extractCycle(), getMaxactImplicObjchg(), propagateVbounds(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_PRESOLEXEC(), SCIPcopyImplicationsCliques(), SCIPnodePropagateImplics(), and separateCuts().
◆ SCIPvarGetImplBounds()gets array with implication bounds b of implications y <= b or y >= b for x == 0 or x == 1 of given active problem variable x, there are no implications for nonbinary variable x
Definition at line 18410 of file var.c.
References SCIP_Var::implics, NULL, SCIPimplicsGetBounds(), and SCIPvarIsActive().
Referenced by checkImplicsApplied(), collectNonBinaryImplicationData(), detectHiddenProducts(), extractCycle(), getMaxactImplicObjchg(), propagateVbounds(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_PRESOLEXEC(), SCIPcopyImplicationsCliques(), SCIPnodePropagateImplics(), SCIPvarGetImplicVarBounds(), and separateCuts().
◆ SCIPvarGetImplIds()Gets array with unique ids of implications y <= b or y >= b for x == 0 or x == 1 of given active problem variable x, there are no implications for nonbinary variable x. If an implication is a shortcut, i.e., it was added as part of the transitive closure of another implication, its id is negative, otherwise it is nonnegative.
Definition at line 18426 of file var.c.
References SCIP_Var::implics, NULL, SCIPimplicsGetIds(), and SCIPvarIsActive().
Referenced by dfs(), and propagateVbounds().
◆ SCIPvarGetNCliques()gets number of cliques, the active variable is contained in
Definition at line 18438 of file var.c.
References SCIP_Var::cliquelist, NULL, and SCIPcliquelistGetNCliques().
Referenced by addNextLevelCliques(), addRltTerm(), calcCliquePartitionGreedy(), catchEvents(), collectBinaryCliqueData(), collectMinactImplicVars(), collectMinactVar(), detectImpliedBounds(), dfs(), extractCycle(), getBinaryProductExpr(), getMaxactImplicObjchg(), GUBsetCalcCliquePartition(), insertSortedRootNeighbors(), isNeighbor(), propagateVbounds(), removeConstraintsDueToNegCliques(), SCIP_DECL_HEUREXEC(), SCIPapplyProbingVar(), SCIPcliquelistCheck(), SCIPcliquelistRemoveFromCliques(), SCIPhaveVarsCommonClique(), SCIPnodePropagateImplics(), SCIPvarGetAvgInferences(), SCIPvarGetAvgInferencesCurrentRun(), SCIPvarGetImplRedcost(), separateGLS(), separateHeur(), sortVariables(), tarjan(), tcliquegraphAddCliqueVars(), tcliquegraphAddNode(), and tightenWeightsLift().
◆ SCIPvarGetCliques()gets array of cliques, the active variable is contained in
Definition at line 18449 of file var.c.
References SCIP_Var::cliquelist, NULL, and SCIPcliquelistGetCliques().
Referenced by addGLSCliques(), addNextLevelCliques(), addRltTerm(), collectBinaryCliqueData(), collectMinactImplicVars(), dfs(), extractCycle(), getBinaryProductExpr(), getMaxactImplicObjchg(), insertSortedRootNeighbors(), isNeighbor(), propagateVbounds(), SCIPcliquelistCheck(), SCIPcliquelistRemoveFromCliques(), SCIPnodePropagateImplics(), SCIPvarGetImplRedcost(), tarjan(), tcliquegraphAddNode(), and tightenWeightsLift().
◆ SCIPvarGetLPSol()gets primal LP solution value of variable
Definition at line 18460 of file var.c.
References SCIP_Var::col, SCIP_Var::data, NULL, SCIP_VARSTATUS_COLUMN, SCIPcolGetPrimsol(), SCIPvarGetLPSol_rec(), and SCIPvarGetStatus().
Referenced by addPathCuts(), addSubtourCuts(), applySeparation(), bilinboundGetScore(), branch(), branchOnBin(), changeSubvariableObjective(), computeFixingrate(), computeIntegerVariableBounds(), computeIntegerVariableBoundsDins(), computeRestrictionToRay(), createCGCuts(), createGenVBound(), cutsTransformMIR(), DECL_VARFIXINGS(), determineBestBounds(), determineFixings(), determineVariableFixings(), evalBound(), execRelpscost(), filterExistingLP(), filterRound(), findNewBounds(), generateAverageNBRay(), generateCloseCutPoint(), generateDifferenceRay(), generateStartingPoint(), getBranchCands(), getFixingValue(), getVariablePscostScore(), getVariableRedcostScore(), handle1Cycle(), handleCycle(), initCurrent(), isPseudocostUpdateValid(), runVanillaStrongBranching(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_HEUREXEC(), SCIP_DECL_SEPAEXECLP(), SCIPgetDualSolVal(), SCIPgetVarSols(), SCIPgetVarStrongbranchFrac(), SCIPgetVarStrongbranchInt(), SCIPnodeAddBoundinfer(), SCIPselectVarPseudoStrongBranching(), SCIPvarGetClosestVlb(), SCIPvarGetClosestVub(), SCIPvarGetLPSol_rec(), SCIPvarGetSol(), selectVarMultAggrBranching(), separateDeterminant(), separatePoint(), solCutIsViolated(), solGetArrayVal(), solUnlinkVar(), solveBilinearLP(), and updatePseudocost().
◆ SCIPvarGetNLPSol()gets primal NLP solution value of variable
Definition at line 18473 of file var.c.
References SCIP_Var::nlpsol, NULL, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIPvarGetNLPSol_rec(), and SCIPvarGetStatus().
Referenced by computeFixingrate(), createSolFromNLP(), getFixingValue(), getNlpVarSol(), maximalslack(), nlpCalcFracVars(), nlpDelVarPos(), nlpUpdateVarBounds(), SCIP_DECL_HEUREXEC(), SCIPnlrowRecalcNLPActivity(), SCIProwGetNLPFeasibility(), SCIPsolLinkNLPSol(), SCIPvarGetNLPSol_rec(), separateCuts(), solGetArrayVal(), and solUnlinkVar().
◆ SCIPvarGetBdchgInfoLb() ◆ SCIPvarGetNBdchgInfosLb() int SCIPvarGetNBdchgInfosLb ( SCIP_VAR * var ) ◆ SCIPvarGetBdchgInfoUb() ◆ SCIPvarGetNBdchgInfosUb() int SCIPvarGetNBdchgInfosUb ( SCIP_VAR * var ) ◆ SCIPvarGetValuehistory() ◆ SCIPvarIsRelaxationOnly()returns whether a variable has been introduced to define a relaxation
These variables are only valid for the current SCIP solve round, they are not contained in any (checked) constraints, but may be used in cutting planes, for example. Relaxation-only variables are not copied by SCIPcopyVars and cuts that contain these variables are not added as linear constraints when restarting or transferring information from a copied SCIP to a SCIP. Also conflicts with relaxation-only variables are not generated at the moment. Relaxation-only variables do not appear in the objective.
returns whether a variable has been introduced to define a relaxation
These variables are only valid for the current SCIP solve round, they are not contained in any (checked) constraints, but may be used in cutting planes, for example. Relaxation-only variables are not copied by SCIPcopyVars and cuts that contain these variables are not added as linear constraints when restarting or transferring information from a copied SCIP to a SCIP. Also conflicts with relaxation-only variables are not generated at the moment.
Definition at line 17714 of file var.c.
References NULL, and SCIP_Var::relaxationonly.
Referenced by addCoef(), conflictsetAddBound(), conflictsetAddBounds(), copyCuts(), copyVars(), createAndAddProofcons(), createCoveringProblem(), createSepaData(), determineVariableFixings(), exprIsSemicontinuous(), SCIP_DECL_CONSTRANS(), SCIP_DECL_RELAXEXEC(), SCIPapplyUndercover(), SCIPcopyConsLinear(), SCIPcreateConsLinear(), SCIPgenVBoundAdd(), SCIPgetVarCopy(), SCIPprobExitSolve(), SCIPreoptInstallBounds(), and SCIPreoptSaveGlobalBounds().
◆ SCIPvarMarkRelaxationOnly() void SCIPvarMarkRelaxationOnly ( SCIP_VAR * var ) ◆ SCIPvarGetLPSol_rec()gets primal LP solution value of variable
Definition at line 13077 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::col, SCIP_Aggregate::constant, SCIP_Multaggr::constant, SCIP_Negate::constant, SCIP_Var::data, SCIP_Var::donotaggr, SCIP_Var::donotmultaggr, SCIP_Dom::lb, SCIP_Var::locdom, SCIP_Var::multaggr, SCIP_Var::negate, SCIP_Var::negatedvar, NULL, SCIP_Multaggr::nvars, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_Multaggr::scalars, SCIP_DEFAULT_INFINITY, SCIP_INVALID, SCIP_Real, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPcolGetPrimsol(), SCIPerrorMessage, SCIPvarGetBestBoundLocal(), SCIPvarGetLPSol(), SCIPvarGetStatus(), SCIP_Original::transvar, SCIP_Dom::ub, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by SCIPvarGetLPSol().
◆ SCIPvarGetNLPSol_rec()gets primal NLP solution value of variable
Definition at line 13150 of file var.c.
References SCIP_Var::aggregate, SCIP_Aggregate::constant, SCIP_Multaggr::constant, SCIP_Negate::constant, SCIP_Var::data, SCIP_Var::multaggr, SCIP_Var::negate, SCIP_Var::negatedvar, SCIP_Var::nlpsol, NULL, SCIP_Multaggr::nvars, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_Multaggr::scalars, SCIP_INVALID, SCIP_Real, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPerrorMessage, SCIPvarGetLbGlobal(), SCIPvarGetLbLocal(), SCIPvarGetNLPSol(), SCIPvarGetStatus(), SCIPvarGetUbGlobal(), SCIPvarGetUbLocal(), SCIP_Original::transvar, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by SCIPvarGetNLPSol().
◆ SCIPvarGetPseudoSol()gets pseudo solution value of variable at current node
gets pseudo solution value of variable
Definition at line 18538 of file var.c.
References NULL, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIPvarGetBestBoundLocal(), SCIPvarGetPseudoSol_rec(), and SCIPvarGetStatus().
Referenced by SCIPgetVarSols(), SCIPprobPrintPseudoSol(), SCIPvarGetPseudoSol_rec(), SCIPvarGetSol(), solGetArrayVal(), and solUnlinkVar().
◆ SCIPvarGetSol()gets current LP or pseudo solution value of variable
Definition at line 13265 of file var.c.
References SCIPvarGetLPSol(), and SCIPvarGetPseudoSol().
Referenced by computeStandardLPOptimalityCut(), SCIP_DECL_BRANCHEXECLP(), SCIPbranchGetBranchingPoint(), SCIPgetSolVal(), SCIPgetVarSol(), SCIPprobUpdateBestRootSol(), SCIPtreeBranchVar(), SCIPtreeBranchVarHole(), SCIPtreeBranchVarNary(), SCIPtreeCalcChildEstimate(), SCIPtreeCalcNodeselPriority(), and SCIPvarStoreRootSol().
◆ SCIPvarGetRootSol()returns the solution of the variable in the last root node's relaxation, if the root relaxation is not yet completely solved, zero is returned
Definition at line 13358 of file var.c.
References SCIP_Var::aggregate, SCIP_Aggregate::constant, SCIP_Multaggr::constant, SCIP_Negate::constant, SCIP_Var::data, SCIP_Var::donotaggr, SCIP_Var::donotmultaggr, SCIP_Dom::lb, SCIP_Var::locdom, SCIP_Var::multaggr, SCIP_Var::negate, SCIP_Var::negatedvar, NULL, SCIP_Multaggr::nvars, SCIP_Var::original, SCIP_Var::rootsol, SCIP_Aggregate::scalar, SCIP_Multaggr::scalars, SCIP_DEFAULT_INFINITY, SCIP_INVALID, SCIP_Real, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPerrorMessage, SCIPvarGetRootSol(), SCIPvarGetStatus(), SCIP_Original::transvar, SCIP_Dom::ub, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by calcPscostQuot(), changeSubvariableObjective(), DECL_VARFIXINGS(), determineVariableFixings(), generateDifferenceRay(), getPotential(), getVariablePscostScore(), SCIP_DECL_BRANCHEXECLP(), SCIP_DECL_DIVESETGETSCORE(), SCIP_DECL_HEUREXEC(), SCIPstatComputeRootLPBestEstimate(), SCIPstatUpdateVarRootLPBestEstimate(), SCIPtreeBranchVar(), SCIPtreeCalcNodeselPriority(), SCIPvarGetRootSol(), and SCIPvarUpdatePseudocost().
◆ SCIPvarGetBestRootSol()returns the best solution (w.r.t. root reduced cost propagation) of the variable in the root node's relaxation, if the root relaxation is not yet completely solved, zero is returned
Definition at line 13723 of file var.c.
References SCIP_Var::aggregate, SCIP_Var::bestrootsol, SCIP_Aggregate::constant, SCIP_Multaggr::constant, SCIP_Negate::constant, SCIP_Var::data, SCIP_Var::donotaggr, SCIP_Var::donotmultaggr, SCIP_Dom::lb, SCIP_Var::locdom, SCIP_Var::multaggr, SCIP_Var::negate, SCIP_Var::negatedvar, NULL, SCIP_Multaggr::nvars, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_Multaggr::scalars, SCIP_DEFAULT_INFINITY, SCIP_Real, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPerrorMessage, SCIPvarGetBestRootSol(), SCIPvarGetStatus(), SCIP_Original::transvar, SCIP_Dom::ub, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by getVariableRedcostScore(), propagateBinaryBestRootRedcost(), propagateRootRedcostBinvar(), propagateRootRedcostVar(), and SCIPvarGetBestRootSol().
◆ SCIPvarGetBestRootRedcost()returns the best reduced costs (w.r.t. root reduced cost propagation) of the variable in the root node's relaxation, if the root relaxation is not yet completely solved, or the variable was no column of the root LP, SCIP_INVALID is returned
Definition at line 13790 of file var.c.
References SCIP_Var::bestrootredcost, SCIP_Var::data, NULL, SCIP_Var::original, SCIP_INVALID, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPerrorMessage, SCIPvarGetBestRootRedcost(), SCIPvarGetStatus(), and SCIP_Original::transvar.
Referenced by countNonZeroRootRedcostVars(), getVariableRedcostScore(), propagateBinaryBestRootRedcost(), propagateRootRedcostBinvar(), propagateRootRedcostVar(), propdataInit(), SCIP_DECL_SORTPTRCOMP(), and SCIPvarGetBestRootRedcost().
◆ SCIPvarGetBestRootLPObjval()returns the best objective value (w.r.t. root reduced cost propagation) of the root LP which belongs the root reduced cost which is accessible via SCIPvarGetRootRedcost() or the variable was no column of the root LP, SCIP_INVALID is returned
Definition at line 13824 of file var.c.
References SCIP_Var::bestrootlpobjval, SCIP_Var::data, NULL, SCIP_Var::original, SCIP_INVALID, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPerrorMessage, SCIPvarGetBestRootLPObjval(), SCIPvarGetStatus(), and SCIP_Original::transvar.
Referenced by propagateBinaryBestRootRedcost(), propagateRootRedcostBinvar(), propagateRootRedcostVar(), SCIP_DECL_SORTPTRCOMP(), and SCIPvarGetBestRootLPObjval().
◆ SCIPvarSetBestRootSol() ◆ SCIPvarGetAvgSol()returns a weighted average solution value of the variable in all feasible primal solutions found so far
Definition at line 14070 of file var.c.
References SCIP_Var::aggregate, SCIP_Aggregate::constant, SCIP_Multaggr::constant, SCIP_Negate::constant, SCIP_Var::data, SCIP_Var::donotaggr, SCIP_Var::donotmultaggr, SCIP_Var::glbdom, SCIP_Dom::lb, SCIP_Var::locdom, MAX, MIN, SCIP_Var::multaggr, SCIP_Var::negate, SCIP_Var::negatedvar, NULL, SCIP_Multaggr::nvars, SCIP_Var::original, SCIP_Var::primsolavg, SCIP_Aggregate::scalar, SCIP_Multaggr::scalars, SCIP_Real, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPerrorMessage, SCIPvarGetAvgSol(), SCIPvarGetStatus(), SCIP_Original::transvar, SCIP_Dom::ub, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by SCIPvarGetAvgSol(), and separateAlternativeProofs().
◆ SCIPvarGetLbchgInfo()returns the bound change information for the last lower bound change on given active problem variable before or after the bound change with the given index was applied; returns NULL, if no change to the lower bound was applied up to this point of time
Definition at line 16585 of file var.c.
References SCIP_BdChgInfo::bdchgidx, SCIP_BdChgInfo::boundtype, SCIP_Var::lbchginfos, SCIP_BdChgInfo::newbound, SCIP_Var::nlbchginfos, NULL, SCIP_BdChgInfo::oldbound, SCIP_BdChgInfo::pos, SCIP_BdChgInfo::redundant, SCIP_BOUNDTYPE_LOWER, SCIPbdchgidxIsEarlier(), SCIPvarIsActive(), and SCIP_BdChgInfo::var.
Referenced by SCIPgetVarLbAtIndex(), SCIPvarGetBdchgInfo(), and SCIPvarGetLbAtIndex().
◆ SCIPvarGetUbchgInfo()returns the bound change information for the last upper bound change on given active problem variable before or after the bound change with the given index was applied; returns NULL, if no change to the upper bound was applied up to this point of time
Definition at line 16641 of file var.c.
References SCIP_BdChgInfo::bdchgidx, SCIP_BdChgInfo::boundtype, SCIP_BdChgInfo::newbound, SCIP_Var::nubchginfos, NULL, SCIP_BdChgInfo::oldbound, SCIP_BdChgInfo::pos, SCIP_BdChgInfo::redundant, SCIP_BOUNDTYPE_UPPER, SCIPbdchgidxIsEarlier(), SCIPvarIsActive(), SCIP_Var::ubchginfos, and SCIP_BdChgInfo::var.
Referenced by SCIPgetVarUbAtIndex(), SCIPvarGetBdchgInfo(), and SCIPvarGetUbAtIndex().
◆ SCIPvarGetBdchgInfo() ◆ SCIPvarGetLbAtIndex()returns lower bound of variable directly before or after the bound change given by the bound change index was applied
returns lower bound of variable directly before or after the bound change given by the bound change index was applied
Definition at line 16718 of file var.c.
References SCIP_Var::aggregate, SCIP_Aggregate::constant, SCIP_Multaggr::constant, SCIP_Negate::constant, SCIP_Var::data, SCIP_Var::glbdom, SCIP_Dom::lb, SCIP_Var::multaggr, SCIP_Var::negate, SCIP_Var::negatedvar, NULL, SCIP_Multaggr::nvars, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_Multaggr::scalars, SCIP_DEFAULT_INFINITY, SCIP_INVALID, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPbdchginfoGetNewbound(), SCIPerrorMessage, SCIPvarGetLbAtIndex(), SCIPvarGetLbchgInfo(), SCIPvarGetLbLocal(), SCIPvarGetStatus(), SCIPvarGetUbAtIndex(), SCIP_Original::transvar, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by resolvePropagationFullOrbitope(), SCIP_DECL_CONSRESPROP(), SCIPvarGetBdAtIndex(), SCIPvarGetLbAtIndex(), SCIPvarGetUbAtIndex(), and SCIPvarWasFixedAtIndex().
◆ SCIPvarGetUbAtIndex()returns upper bound of variable directly before or after the bound change given by the bound change index was applied
returns upper bound of variable directly before or after the bound change given by the bound change index was applied
Definition at line 16837 of file var.c.
References SCIP_Var::aggregate, SCIP_Aggregate::constant, SCIP_Multaggr::constant, SCIP_Negate::constant, SCIP_Var::data, SCIP_Var::glbdom, SCIP_Var::multaggr, SCIP_Var::negate, SCIP_Var::negatedvar, NULL, SCIP_Multaggr::nvars, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_Multaggr::scalars, SCIP_DEFAULT_INFINITY, SCIP_INVALID, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPbdchginfoGetNewbound(), SCIPerrorMessage, SCIPvarGetLbAtIndex(), SCIPvarGetStatus(), SCIPvarGetUbAtIndex(), SCIPvarGetUbchgInfo(), SCIPvarGetUbLocal(), SCIP_Original::transvar, SCIP_Dom::ub, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by resolvePropagationFullOrbitope(), SCIP_DECL_CONSRESPROP(), SCIPvarGetBdAtIndex(), SCIPvarGetLbAtIndex(), SCIPvarGetUbAtIndex(), and SCIPvarWasFixedAtIndex().
◆ SCIPvarGetBdAtIndex() ◆ SCIPvarWasFixedAtIndex() ◆ SCIPvarGetLastBdchgIndex()returns the last bound change index, at which the bounds of the given variable were tightened
Definition at line 17001 of file var.c.
References SCIP_BdChgInfo::bdchgidx, initbdchgidx, SCIP_Var::lbchginfos, SCIP_Var::nlbchginfos, SCIP_Var::nubchginfos, NULL, presolvebdchgidx, SCIP_BdChgInfo::redundant, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIPbdchgidxIsEarlierNonNull(), SCIPvarGetProbvar(), SCIPvarGetStatus(), SCIPvarIsActive(), and SCIP_Var::ubchginfos.
Referenced by SCIPvarGetLastBdchgDepth().
◆ SCIPvarGetLastBdchgDepth() int SCIPvarGetLastBdchgDepth ( SCIP_VAR * var )returns the last depth level, at which the bounds of the given variable were tightened; returns -2, if the variable's bounds are still the global bounds returns -1, if the variable was fixed in presolving
Definition at line 17038 of file var.c.
References SCIP_BdChgIdx::depth, NULL, and SCIPvarGetLastBdchgIndex().
◆ SCIPvarWasFixedEarlier()returns whether the first binary variable was fixed earlier than the second one; returns FALSE, if the first variable is not fixed, and returns TRUE, if the first variable is fixed, but the second one is not fixed
Definition at line 17126 of file var.c.
References SCIP_BdChgInfo::bdchgidx, FALSE, SCIP_Var::glbdom, SCIP_Dom::lb, SCIP_Var::lbchginfos, SCIP_Var::nlbchginfos, SCIP_Var::nubchginfos, NULL, SCIP_BdChgInfo::redundant, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_LOOSE, SCIPbdchgidxIsEarlier(), SCIPvarGetProbvar(), SCIPvarGetStatus(), SCIPvarIsActive(), SCIPvarIsBinary(), TRUE, SCIP_Dom::ub, and SCIP_Var::ubchginfos.
◆ SCIPbdchgidxIsEarlier()returns whether first bound change index belongs to an earlier applied bound change than second one; if a bound change index is NULL, the bound change index represents the current time, i.e. the time after the last bound change was applied to the current node
Definition at line 18648 of file var.c.
References SCIP_BdChgIdx::depth, FALSE, NULL, SCIP_BdChgIdx::pos, and TRUE.
Referenced by SCIPconflictAddBound(), SCIPconflictAddRelaxedBound(), SCIPvarGetLbchgInfo(), SCIPvarGetUbchgInfo(), SCIPvarWasFixedEarlier(), varAddLbchginfo(), and varAddUbchginfo().
◆ SCIPbdchgidxIsEarlierNonNull() ◆ SCIPbdchginfoGetOldbound() ◆ SCIPbdchginfoGetNewbound()returns new bound installed for given bound change information
Definition at line 18678 of file var.c.
References SCIP_BdChgInfo::newbound, and NULL.
Referenced by bdchginfoIsInvalid(), checkRedundancy(), conflictAddBound(), conflictAddConflictBound(), conflictAnalyze(), conflictCreateReconvergenceConss(), conflictFirstCand(), conflictMarkBoundCheckPresence(), conflictQueueBound(), conflictResolveBound(), conflictsetAddBounds(), detectImpliedBounds(), isBoundchgUseless(), SCIP_DECL_CONFLICTEXEC(), SCIPconflictAddBound(), SCIPconflictAddRelaxedBound(), SCIPconflictAnalyzeRemainingBdchgs(), SCIPgetVarLbAtIndex(), SCIPgetVarUbAtIndex(), SCIPvarGetLbAtIndex(), and SCIPvarGetUbAtIndex().
◆ SCIPbdchginfoGetVar()returns variable that belongs to the given bound change information
Definition at line 18688 of file var.c.
References NULL, and SCIP_BdChgInfo::var.
Referenced by bdchginfoIsInvalid(), checkRedundancy(), conflictAddBound(), conflictAddConflictBound(), conflictAnalyze(), conflictCreateReconvergenceConss(), conflictFirstCand(), conflictMarkBoundCheckPresence(), conflictQueueBound(), conflictRemoveCand(), conflictResolveBound(), conflictsetAddBound(), conflictsetAddBounds(), detectImpliedBounds(), isBoundchgUseless(), and SCIP_DECL_CONFLICTEXEC().
◆ SCIPbdchginfoGetChgtype() ◆ SCIPbdchginfoGetBoundtype()returns whether the bound change information belongs to a lower or upper bound change
Definition at line 18708 of file var.c.
References SCIP_BdChgInfo::boundtype, and NULL.
Referenced by bdchginfoIsInvalid(), checkRedundancy(), conflictAddBound(), conflictAddConflictBound(), conflictAnalyze(), conflictCreateReconvergenceConss(), conflictFirstCand(), conflictMarkBoundCheckPresence(), conflictQueueBound(), conflictRemoveCand(), conflictResolveBound(), conflictsetAddBound(), conflictsetAddBounds(), detectImpliedBounds(), isBoundchgUseless(), SCIP_DECL_CONFLICTEXEC(), SCIPbdchginfoIsTighter(), SCIPconflictAnalyzeRemainingBdchgs(), and updateStatistics().
◆ SCIPbdchginfoGetDepth()returns depth level of given bound change information
Definition at line 18718 of file var.c.
References SCIP_BdChgInfo::bdchgidx, SCIP_BdChgIdx::depth, and NULL.
Referenced by conflictAddBound(), conflictAddConflictBound(), conflictAnalyze(), conflictCreateReconvergenceConss(), conflictFirstCand(), conflictResolveBound(), conflictsetAddBounds(), conflictsetCalcConflictDepth(), conflictsetCalcInsertDepth(), and SCIPconflictAddRelaxedBound().
◆ SCIPbdchginfoGetPos() ◆ SCIPbdchginfoGetIdx() ◆ SCIPbdchginfoGetInferVar() ◆ SCIPbdchginfoGetInferCons() ◆ SCIPbdchginfoGetInferProp() ◆ SCIPbdchginfoGetInferInfo() ◆ SCIPbdchginfoGetInferBoundtype() ◆ SCIPbdchginfoIsRedundant()returns whether the bound change information belongs to a redundant bound change
Definition at line 18816 of file var.c.
References SCIP_BdChgInfo::newbound, NULL, SCIP_BdChgInfo::oldbound, and SCIP_BdChgInfo::redundant.
Referenced by bdchginfoIsResolvable(), conflictAddBound(), conflictAddConflictBound(), conflictAnalyze(), conflictCreateReconvergenceConss(), conflictFirstCand(), conflictQueueBound(), conflictRemoveCand(), conflictResolveBound(), SCIP_DECL_SORTPTRCOMP(), SCIPconflictAddRelaxedBound(), and SCIPconflictAnalyzeRemainingBdchgs().
◆ SCIPbdchginfoHasInferenceReason() ◆ SCIPbdchginfoIsTighter() ◆ SCIPboundchgGetNewbound() ◆ SCIPboundchgGetVar() ◆ SCIPboundchgGetBoundchgtype() ◆ SCIPboundchgGetBoundtype() ◆ SCIPboundchgIsRedundant() ◆ SCIPdomchgGetNBoundchgs() ◆ SCIPdomchgGetBoundchg() ◆ SCIPholelistGetLeft() ◆ SCIPholelistGetRight() ◆ SCIPholelistGetNext() ◆ SCIPcreateVar() SCIP_RETCODE SCIPcreateVar ( SCIP * scip, SCIP_VAR ** var, const char * name, SCIP_Real lb, SCIP_Real ub, SCIP_Real obj, SCIP_VARTYPE vartype, SCIP_Bool initial, SCIP_Bool removable, SCIP_DECL_VARDELORIG((*vardelorig)) , SCIP_DECL_VARTRANS((*vartrans)) , SCIP_DECL_VARDELTRANS((*vardeltrans)) , SCIP_DECL_VARCOPY((*varcopy)) , SCIP_VARDATA * vardata )creates and captures problem variable; if variable is of integral type, fractional bounds are automatically rounded; an integer variable with bounds zero and one is automatically converted into a binary variable;
scip
is in one of the following stages:
Definition at line 114 of file scip_var.c.
References FALSE, NULL, REALABS, SCIP_CALL, SCIP_INVALIDCALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMING, SCIPcheckStage(), SCIPerrorMessage, SCIPisInfinity(), SCIPvarCreateOriginal(), SCIPvarCreateTransformed(), and TRUE.
Referenced by ObjPricerVRP::add_tour_variable(), addConstraintToBendersSubproblem(), addExtendedAsymmetricFormulation(), addExtendedFlowFormulation(), addScenarioVarsToProb(), addVarCardinality(), aggregation(), appendVarCardinality(), applyFixings(), consdataCreateBinvars(), convertLongEquality(), createAndAddAndCons(), createConstraint(), createCoveringProblem(), createMipCpFormulation(), createObjRow(), createRelaxation(), createSubscip(), createSubSCIP(), createVariable(), execmain(), getScenarioDecompVar(), getVariable(), scipexamples::QueensSolver::QueensSolver(), readBounds(), readCnf(), readCols(), readLIBSVM(), readObjective(), readQMatrix(), readVariables(), SCIP_DECL_HEUREXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRICERFARKAS(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_READERREAD(), SCIPcreateConsCardinality(), SCIPcreateConsIndicatorGeneric(), SCIPcreateConsIndicatorGenericLinConsPure(), SCIPcreateObjVar(), SCIPcreateSchedulingProblem(), SCIPcreateVarBasic(), SCIPtransformMinUC(), setObjective(), setupAndSolveFiniteSolSubscip(), solveClassification(), and solveMinIISC().
◆ SCIPcreateVarBasic()creates and captures problem variable with optional callbacks and variable data set to NULL, which can be set afterwards using SCIPvarSetDelorigData(), SCIPvarSetTransData(), SCIPvarSetDeltransData(), SCIPvarSetCopy(), and SCIPvarSetData(); sets variable flags initial=TRUE and removable = FALSE, which can be adjusted by using SCIPvarSetInitial() and SCIPvarSetRemovable(), resp.; if variable is of integral type, fractional bounds are automatically rounded; an integer variable with bounds zero and one is automatically converted into a binary variable;
scip
is in one of the following stages:
Definition at line 194 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPcreateVar(), and TRUE.
Referenced by addAuxiliaryVariablesToMaster(), addSlackVars(), addVariable(), applyRepair(), createAuxVar(), createBlockproblem(), createCipFormulation(), createConstraints(), createDisaggrVars(), createKKTComplementarityBinary(), createKKTComplementarityBounds(), createKKTComplementarityLinear(), createKKTDualCons(), createMasterproblem(), createMIP(), createMipFormulation(), createOriginalproblem(), createPatternVars(), createProbQP(), createSubproblem(), createSubproblems(), createVariables(), AMPLProblemHandler::EndInput(), getBinaryProductExprDo(), initPricing(), main(), AMPLProblemHandler::OnBinaryLogical(), AMPLProblemHandler::OnHeader(), AMPLProblemHandler::OnObj(), AMPLProblemHandler::OnRelational(), presolveAddKKTLinearCons(), readObjective(), reformulateFactorizedBinaryQuadratic(), SCIP_DECL_HEUREXEC(), SCIPaddTrustregionNeighborhoodConstraint(), SCIPbendersMergeSubproblemIntoMaster(), SCIPcreateVarBinpacking(), SCIPverifyCircularPatternNLP(), setupAndSolveCumulativeSubscip(), setupProblem(), and solvePricingMINLP().
◆ SCIPwriteVarName()outputs the variable name to the file stream
scip
is in one of the following stages:
Definition at line 230 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_BINARY_CHAR, SCIP_VARTYPE_CONTINUOUS_CHAR, SCIP_VARTYPE_IMPLINT, SCIP_VARTYPE_IMPLINT_CHAR, SCIP_VARTYPE_INTEGER, SCIP_VARTYPE_INTEGER_CHAR, SCIPcheckStage(), SCIPgetNegatedVar(), SCIPinfoMessage(), SCIPvarGetName(), SCIPvarGetType(), SCIPvarIsNegated(), and TRUE.
Referenced by consdataPrint(), consPrintConsSol(), SCIP_DECL_CONSPRINT(), SCIPwriteVarsLinearsum(), SCIPwriteVarsList(), and SCIPwriteVarsPolynomial().
◆ SCIPwriteVarsList()print the given list of variables to output stream separated by the given delimiter character;
i. e. the variables x1, x2, ..., xn with given delimiter ',' are written as: <x1>, <x2>, ..., <xn>;
the method SCIPparseVarsList() can parse such a string
scip
is in one of the following stages:
Definition at line 292 of file scip_var.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPinfoMessage(), SCIPwriteVarName(), and TRUE.
Referenced by consdataPrint().
◆ SCIPwriteVarsLinearsum() ◆ SCIPwriteVarsPolynomial() ◆ SCIPparseVar() SCIP_RETCODE SCIPparseVar ( SCIP * scip, SCIP_VAR ** var, const char * str, SCIP_Bool initial, SCIP_Bool removable, SCIP_DECL_VARCOPY((*varcopy)) , SCIP_DECL_VARDELORIG((*vardelorig)) , SCIP_DECL_VARTRANS((*vartrans)) , SCIP_DECL_VARDELTRANS((*vardeltrans)) , SCIP_VARDATA * vardata, char ** endptr, SCIP_Bool * success )parses variable information (in cip format) out of a string; if the parsing process was successful a variable is created and captured; if variable is of integral type, fractional bounds are automatically rounded; an integer variable with bounds zero and one is automatically converted into a binary variable
scip
is in one of the following stages:
Definition at line 474 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMING, SCIPcheckStage(), SCIPerrorMessage, SCIPvarParseOriginal(), SCIPvarParseTransformed(), and TRUE.
Referenced by getFixedVariable(), and getVariable().
◆ SCIPparseVarName()parses the given string for a variable name and stores the variable in the corresponding pointer if such a variable exits and returns the position where the parsing stopped
scip
is in one of the following stages:
Definition at line 533 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_VARTYPE_BINARY_CHAR, SCIP_VARTYPE_CONTINUOUS_CHAR, SCIP_VARTYPE_IMPLINT_CHAR, SCIP_VARTYPE_INTEGER_CHAR, SCIPcheckStage(), SCIPdebugMsg, SCIPfindVar(), SCIPgetNegatedVar(), SCIPstrCopySection(), and TRUE.
Referenced by getFixedVariable(), parseBase(), readBounds(), SCIP_DECL_CONSPARSE(), SCIPparseVarsList(), and SCIPparseVarsPolynomial().
◆ SCIPparseVarsList() SCIP_RETCODE SCIPparseVarsList ( SCIP * scip, const char * str, SCIP_VAR ** vars, int * nvars, int varssize, int * requiredsize, char ** endptr, char delimiter, SCIP_Bool * success )parse the given string as variable list (here ',' is the delimiter)) (<x1>, <x2>, ..., <xn>) (see SCIPwriteVarsList() ); if it was successful, the pointer success is set to TRUE
scip
is in one of the following stages:
Definition at line 610 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBufferArray, SCIPcheckStage(), SCIPfreeBufferArray, SCIPparseVarName(), SCIPskipSpace(), and TRUE.
Referenced by SCIP_DECL_CONSPARSE().
◆ SCIPparseVarsLinearsum()parse the given string as linear sum of variables and coefficients (c1 <x1> + c2 <x2> + ... + cn <xn>) (see SCIPwriteVarsLinearsum() ); if it was successful, the pointer success is set to TRUE
scip
is in one of the following stages:
Definition at line 704 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPcheckStage(), SCIPerrorMessage, SCIPfreeParseVarsPolynomialData(), SCIPparseVarsPolynomial(), and TRUE.
Referenced by getFixedVariable(), and SCIP_DECL_CONSPARSE().
◆ SCIPparseVarsPolynomial()parse the given string as signomial of variables and coefficients (c1 <x11>^e11 <x12>^e12 ... <x1n>^e1n + c2 <x21>^e21 <x22>^e22 ... + ... + cn <xn1>^en1 ...) (see SCIPwriteVarsPolynomial()); if it was successful, the pointer success is set to TRUE
The user has to call SCIPfreeParseVarsPolynomialData(scip, monomialvars, monomialexps, monomialcoefs, monomialnvars, *nmonomials) short after SCIPparseVarsPolynomial to free all the allocated memory again. Do not keep the arrays created by SCIPparseVarsPolynomial around, since they use buffer memory that is intended for short term use only.
Parsing is stopped at the end of string (indicated by the \0-character) or when no more monomials are recognized.
scip
is in one of the following stages:
parse the given string as signomial of variables and coefficients (c1 <x11>^e11 <x12>^e12 ... <x1n>^e1n + c2 <x21>^e21 <x22>^e22 ... + ... + cn <xn1>^en1 ...) (see SCIPwriteVarsPolynomial()); if it was successful, the pointer success is set to TRUE
The user has to call SCIPfreeParseVarsPolynomialData(scip, monomialvars, monomialexps, monomialcoefs, monomialnvars, *nmonomials) short after SCIPparseVarsPolynomial to free all the allocated memory again.
Parsing is stopped at the end of string (indicated by the \0-character) or when no more monomials are recognized.
scip
is in one of the following stages:
Definition at line 813 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALID, SCIP_OKAY, SCIP_READERROR, SCIP_Real, SCIPcalcMemGrowSize(), SCIPcheckStage(), SCIPdebugMsg, SCIPduplicateBlockMemoryArray, SCIPerrorMessage, SCIPfreeBlockMemoryArrayNull, SCIPfreeParseVarsPolynomialData(), SCIPparseVarName(), SCIPreallocBlockMemoryArray, SCIPskipSpace(), SCIPstrToRealValue(), and TRUE.
Referenced by SCIP_DECL_CONSPARSE(), and SCIPparseVarsLinearsum().
◆ SCIPfreeParseVarsPolynomialData() void SCIPfreeParseVarsPolynomialData ( SCIP * scip, SCIP_VAR **** monomialvars, SCIP_Real *** monomialexps, SCIP_Real ** monomialcoefs, int ** monomialnvars, int nmonomials ) ◆ SCIPcaptureVar()increases usage counter of variable
scip
is in one of the following stages:
Definition at line 1214 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarCapture(), and TRUE.
Referenced by addAuxiliaryVariablesToMaster(), addAuxVar(), addCoef(), addComponent(), addOrbitope(), applyFixings(), applyProbing(), assignAuxiliaryVariables(), bilinearTermsInsertEntry(), computeConsAndDataChanges(), consdataCreate(), correctPresoldata(), createAndAddAndCons(), createMasterVarMapping(), createPresoldata(), createSepaData(), createSubSCIP(), createVariableMappings(), determineSymmetry(), exprIsSemicontinuous(), initializeCandsLists(), lexdataCreate(), objimplicsCreate(), presolRoundIndicator(), propdataInit(), tsp::ProbDataTSP::scip_copy(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSTRANS(), SCIP_DECL_EXPRCOPYDATA(), SCIP_DECL_NLHDLRDETECT(), SCIP_DECL_PROBCOPY(), SCIP_DECL_PROPEXITPRE(), SCIP_DECL_PROPPRESOL(), tsp::ProbDataTSP::scip_trans(), SCIPcreateConsIndicatorGeneric(), SCIPcreateConsIndicatorGenericLinCons(), SCIPcreateConsIndicatorGenericLinConsPure(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateExprVar(), SCIPgenVBoundAdd(), SCIPinsertBilinearTermExistingNonlinear(), SCIPinsertBilinearTermImplicitNonlinear(), SCIPprobdataAddVar(), sepadataAddMinor(), setIntvar(), storeCaptureVars(), and tcliquegraphAddNode().
◆ SCIPreleaseVar()decreases usage counter of variable, if the usage pointer reaches zero the variable gets freed
scip
is in one of the following stages:
Definition at line 1248 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVED, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIPcheckStage(), SCIPerrorMessage, SCIPvarIsTransformed(), SCIPvarRelease(), and TRUE.
Referenced by ObjPricerVRP::add_tour_variable(), addConstraintToBendersSubproblem(), addScenarioConsToProb(), addScenarioVarsToProb(), addSlackVars(), addVarCardinality(), addVariable(), aggregation(), appendVarCardinality(), applyFixings(), applyProbing(), applyRepair(), bilinearTermsFree(), cleanupHashDatas(), computeCoverUndercover(), consdataFree(), convertLongEquality(), correctConshdlrdata(), createAndAddAndCons(), createBlockproblem(), createCipFormulation(), createConstraint(), createInitialColumns(), createKKTComplementarityBinary(), createKKTComplementarityBounds(), createKKTComplementarityLinear(), createKKTDualCons(), createMipCpFormulation(), createMipFormulation(), createOriginalproblem(), createProbQP(), createSubproblem(), createSubproblems(), createSubSCIP(), createVariable(), delCoefPos(), doPricing(), doSeachEcAggr(), dropVarEvents(), AMPLProblemHandler::EndInput(), execmain(), freeAuxVar(), freeComponent(), freeDisaggrVars(), freeGenVBound(), freeGenVBounds(), freeNlhdlrExprData(), freeOrbitope(), freeSepaData(), freeSortedvars(), freeSubSCIP(), freeSubscip(), freeSymmetryData(), getBinaryProductExprDo(), getFixedVariable(), getVariable(), initPricing(), lexdataFree(), main(), objimplicsDelPos(), objimplicsFree(), AMPLProblemHandler::OnBinaryLogical(), AMPLProblemHandler::OnObj(), AMPLProblemHandler::OnRelational(), presolRoundIndicator(), presolveAddKKTLinearCons(), probdataFree(), propdataExit(), readBounds(), readCnf(), readCols(), readLIBSVM(), readObjective(), readQMatrix(), reformulateFactorizedBinaryQuadratic(), releaseHashmapEntries(), releaseVarMappingHashmapVars(), removeIndicator(), runBrachistochrone(), runPacking(), SCIP_DECL_BENDERSEXIT(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSEXIT(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_EXPRFREEDATA(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEUREXITSOL(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_NLHDLRFREEEXPRDATA(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRESOLEXIT(), SCIP_DECL_PROBDELORIG(), SCIP_DECL_PROBDELTRANS(), SCIP_DECL_PROPEXITPRE(), SCIP_DECL_READERREAD(), SCIP_DECL_SEPAEXITSOL(), tsp::ProbDataTSP::scip_delorig(), tsp::ProbDataTSP::scip_deltrans(), SCIPaddTrustregionNeighborhoodConstraint(), SCIPapplyUndercover(), SCIPbendersExit(), SCIPbendersMergeSubproblemIntoMaster(), SCIPcreateConsCardinality(), SCIPcreateSchedulingProblem(), SCIPgenVBoundAdd(), SCIPgetVarCopy(), SCIPtransformMinUC(), SCIPverifyCircularPatternNLP(), sepadataClear(), setIntvar(), setObjective(), setupAndSolveCumulativeSubscip(), setupAndSolveFiniteSolSubscip(), setupProblem(), solveClassification(), solveMinIISC(), solvePricingMINLP(), tcliquegraphFree(), transformToOrig(), and scipexamples::QueensSolver::~QueensSolver().
◆ SCIPchgVarName()changes the name of a variable
scip
is in stage SCIP_STAGE_PROBLEM
Definition at line 1299 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_PROBLEM, SCIPABORT, SCIPblkmem(), SCIPcheckStage(), SCIPerrorMessage, SCIPgetStage(), SCIPprobAddVarName(), SCIPprobRemoveVarName(), SCIPvarChgName(), SCIPvarGetProbindex(), and TRUE.
◆ SCIPtransformVar() ◆ SCIPtransformVars() ◆ SCIPgetTransformedVar()gets corresponding transformed variable of a given variable; returns NULL as transvar, if transformed variable is not yet existing
scip
is in one of the following stages:
Definition at line 1439 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarGetTransformed(), SCIPvarIsTransformed(), and TRUE.
Referenced by addCoef(), addVarCardinality(), addVarSOS1(), addVarSOS2(), appendVarCardinality(), appendVarSOS1(), appendVarSOS2(), consdataCreate(), consdataCreateSuperindicator(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSTRANS(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EXPR_MAPEXPR(), SCIP_DECL_PRICERINIT(), SCIP_DECL_PROBCOPY(), tsp::ProbDataTSP::scip_trans(), SCIPchgVarType(), SCIPcreateConsSOS1(), SCIPsetBinaryVarIndicator(), and setIntvar().
◆ SCIPgetTransformedVars()gets corresponding transformed variables for an array of variables; stores NULL in a transvars slot, if the transformed variable is not yet existing; it is possible to call this method with vars == transvars, but remember that variables that are not yet transformed will be replaced with NULL
scip
is in one of the following stages:
Definition at line 1480 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarGetTransformed(), SCIPvarIsTransformed(), and TRUE.
Referenced by consdataCreate(), consdataCreateRedundant(), consdataCreateTransformed(), and SCIP_DECL_CONSTRANS().
◆ SCIPgetNegatedVar()gets negated variable x' = lb + ub - x of variable x; negated variable is created, if not yet existing
scip
is in one of the following stages:
gets negated variable x' = lb + ub - x of variable x; negated variable is created, if not yet existing; in difference to SCIPcreateVar, the negated variable must not be released (unless captured explicitly)
scip
is in one of the following stages:
Definition at line 1527 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarNegate(), and TRUE.
Referenced by addBinaryConstraint(), addFixedVarsConss(), addNegatedCliques(), applyCliqueFixings(), applyFixings(), checkForOverlapping(), cliquePresolve(), consdataCreate(), consdataLinearize(), createAndAddLinearCons(), createBlockproblem(), createConflict(), createConflictCons(), createCoveringProblem(), createIndicatorConstraint(), createMipCpFormulation(), createNormalizedKnapsack(), createNormalizedLogicor(), createNormalizedSetppc(), createSubSCIP(), CUTOFF_CONSTRAINT(), executeBranchingRecursive(), extendToCover(), extractGates(), fixDeleteOrUpgradeCons(), forbidCover(), forbidFixation(), getBinVarsRepresentatives(), getVariableOrTerm(), AMPLProblemHandler::OnBinaryLogical(), AMPLProblemHandler::OnNot(), AMPLProblemHandler::OnRelational(), printIndicatorCons(), readCnf(), readIndicators(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSPARSE(), SCIP_DECL_HEUREXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_NONLINCONSUPGD(), SCIPcalcNegatedCliquePartition(), SCIPcreateConsIndicatorGeneric(), SCIPcreateConsIndicatorGenericLinCons(), SCIPcreateConsIndicatorGenericLinConsPure(), SCIPgetBinvarRepresentative(), SCIPgetBinvarRepresentatives(), SCIPgetVarCopy(), SCIPparseVarName(), SCIPseparateRelaxedKnapsack(), SCIPsetBinaryVarIndicator(), SCIPtransformMinUC(), SCIPwriteVarName(), tcliquegraphAddNode(), tightenWeightsLift(), upgradeCons(), and upgradeConss().
◆ SCIPgetNegatedVars() ◆ SCIPgetBinvarRepresentative()gets a binary variable that is equal to the given binary variable, and that is either active, fixed, or multi-aggregated, or the negated variable of an active, fixed, or multi-aggregated variable
scip
is in one of the following stages:
Definition at line 1597 of file scip_var.c.
References FALSE, NULL, SCIP_Var::scip, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPgetNegatedVar(), SCIPvarGetProbvarBinary(), and TRUE.
Referenced by addCoef(), applyFixings(), cleanupHashDatas(), correctPresoldata(), createCoveringProblem(), createPresoldata(), extractGates(), getBinVarsRepresentatives(), SCIP_DECL_PRESOLEXEC(), writeOpbFixedVars(), and writeOpbRelevantAnds().
◆ SCIPgetBinvarRepresentatives()gets binary variables that are equal to the given binary variables, and which are either active, fixed, or multi-aggregated, or the negated variables of active, fixed, or multi-aggregated variables
scip
is in one of the following stages:
Definition at line 1644 of file scip_var.c.
References BMSclearMemoryArray, BMScopyMemoryArray, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPgetNegatedVar(), SCIPvarsGetProbvarBinary(), and TRUE.
Referenced by applyFixings(), checkSolution(), consdataLinearize(), findAggregation(), and tryUpgradingXor().
◆ SCIPflattenVarAggregationGraph()flattens aggregation graph of multi-aggregated variable in order to avoid exponential recursion later on
scip
is in one of the following stages:
Definition at line 1693 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarFlattenAggregationGraph(), and TRUE.
Referenced by applyFixings(), fixVariableZero(), presolve(), SCIP_DECL_READERWRITE(), and SCIPgetVarCopy().
◆ SCIPgetProbvarLinearSum()Transforms a given linear sum of variables, that is a_1*x_1 + ... + a_n*x_n + c into a corresponding linear sum of active variables, that is b_1*y_1 + ... + b_m*y_m + d.
If the number of needed active variables is greater than the available slots in the variable array, nothing happens except that the required size is stored in the corresponding variable (requiredsize). Otherwise, the active variable representation is stored in the variable array, scalar array and constant.
The reason for this approach is that we cannot reallocate memory, since we do not know how the memory has been allocated (e.g., by a C++ 'new' or SCIP functions).
scip
is in one of the following stages:
Definition at line 1738 of file scip_var.c.
References FALSE, NULL, scalars, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarGetActiveRepresentatives(), and TRUE.
Referenced by applyFixings(), correctConshdlrdata(), getActiveVariables(), getLinearCoeffs(), SCIP_DECL_EXPRSIMPLIFY(), SCIP_DECL_PROPEXITPRE(), SCIPaddCoefLinear(), SCIPcopyConsLinear(), SCIPcreateConsLinear(), SCIPgetSymActiveVariables(), tightenVarsBoundsSOS1(), tryUpgradingXor(), and writeExpandedSolutions().
◆ SCIPgetProbvarSum()transforms given variable, scalar and constant to the corresponding active, fixed, or multi-aggregated variable, scalar and constant; if the variable resolves to a fixed variable, "scalar" will be 0.0 and the value of the sum will be stored in "constant"; a multi-aggregation with only one active variable (this can happen due to fixings after the multi-aggregation), is treated like an aggregation; if the multi-aggregation constant is infinite, "scalar" will be 0.0
scip
is in one of the following stages:
Definition at line 1794 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarGetProbvarSum(), and TRUE.
Referenced by addAltLPConstraint(), applyFixings(), createSolFromSubScipSol(), getActiveVar(), initData(), presolRoundCardinality(), presolRoundConsSOS1(), and presolRoundSOS2().
◆ SCIPgetActiveVars()return for given variables all their active counterparts; all active variables will be pairwise different
scip
is in one of the following stages:
Definition at line 1830 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarsGetActiveVars(), and TRUE.
Referenced by decompGetConsVarsAndLabels(), fillDigraph(), getActiveVariables2(), and SCIPhasConsOnlyLinkVars().
◆ SCIPgetVarRedcost()returns the reduced costs of the variable in the current node's LP relaxation; the current node has to have a feasible LP.
returns SCIP_INVALID if the variable is active but not in the current LP; returns 0 if the variable has been aggregated out or fixed in presolving.
scip
is in stage SCIP_STAGE_SOLVING
Definition at line 1864 of file scip_var.c.
References SCIP_Var::data, NULL, SCIP_Var::original, SCIP_Var::scip, SCIP_INVALID, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPerrorMessage, SCIPgetColRedcost(), SCIPgetVarRedcost(), SCIPvarGetCol(), SCIPvarGetStatus(), and SCIP_Original::transvar.
Referenced by computeStandardLPOptimalityCut(), createGenVBound(), getVariableRedcostScore(), includeVarGenVBound(), propagateRedcostBinvar(), propagateRootRedcostBinvar(), SCIP_DECL_BRANCHEXECLP(), SCIPgetDualSolVal(), and SCIPgetVarRedcost().
◆ SCIPgetVarImplRedcost()returns the implied reduced costs of the variable in the current node's LP relaxation; the current node has to have a feasible LP.
returns SCIP_INVALID if the variable is active but not in the current LP; returns 0 if the variable has been aggregated out or fixed in presolving.
scip
is in stage SCIP_STAGE_SOLVING
Definition at line 1909 of file scip_var.c.
References SCIP_Var::data, NULL, SCIP_Var::original, SCIP_Var::scip, SCIP_INVALID, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPerrorMessage, SCIPgetVarImplRedcost(), SCIPvarGetImplRedcost(), SCIPvarGetStatus(), and SCIP_Original::transvar.
Referenced by propagateRedcostBinvar(), propagateRootRedcostBinvar(), and SCIPgetVarImplRedcost().
◆ SCIPgetVarFarkasCoef()returns the Farkas coefficient of the variable in the current node's LP relaxation; the current node has to have an infeasible LP.
returns SCIP_INVALID if the variable is active but not in the current LP; returns 0 if the variable has been aggregated out or fixed in presolving.
scip
is in stage SCIP_STAGE_SOLVING
Definition at line 1954 of file scip_var.c.
References SCIP_Var::data, NULL, SCIP_Var::original, SCIP_Var::scip, SCIP_INVALID, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPerrorMessage, SCIPgetColFarkasCoef(), SCIPgetVarFarkasCoef(), SCIPvarGetCol(), SCIPvarGetStatus(), and SCIP_Original::transvar.
Referenced by computeStandardLPFeasibilityCut(), and SCIPgetVarFarkasCoef().
◆ SCIPgetVarLbAtIndex()returns lower bound of variable directly before or after the bound change given by the bound change index was applied
Definition at line 1992 of file scip_var.c.
References SCIP_Var::aggregate, SCIP_Aggregate::constant, SCIP_Multaggr::constant, SCIP_Negate::constant, SCIP_Var::data, SCIP_Var::glbdom, SCIP_Dom::lb, SCIP_Var::multaggr, SCIP_Var::negate, SCIP_Var::negatedvar, NULL, SCIP_Multaggr::nvars, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_Multaggr::scalars, SCIP_INVALID, SCIP_Real, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPbdchginfoGetNewbound(), SCIPerrorMessage, SCIPgetVarLbAtIndex(), SCIPgetVarUbAtIndex(), SCIPinfinity(), SCIPisInfinity(), SCIPvarGetLbchgInfo(), SCIPvarGetLbLocal(), SCIPvarGetStatus(), SCIP_Original::transvar, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by addConflictBinvar(), addConflictBounds(), addConflictFixedVars(), adjustCutoffbound(), analyzeConflictUpperbound(), analyzeEnergyRequirement(), getConflictImplics(), getGenVBoundsMinActivityConflict(), getMinactImplicObjchg(), resolveGenVBoundPropagation(), resolvePropagation(), resolvePropagationCoretimes(), respropCumulativeCondition(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_PROPRESPROP(), SCIPconflictIsVarUsed(), SCIPconsResolvePropagation(), SCIPgetVarBdAtIndex(), SCIPgetVarLbAtIndex(), SCIPgetVarUbAtIndex(), SCIPgetVarWasFixedAtIndex(), and SCIPpropResolvePropagation().
◆ SCIPgetVarUbAtIndex()returns upper bound of variable directly before or after the bound change given by the bound change index was applied
Definition at line 2128 of file scip_var.c.
References SCIP_Var::aggregate, SCIP_Aggregate::constant, SCIP_Multaggr::constant, SCIP_Negate::constant, SCIP_Var::data, SCIP_Var::glbdom, SCIP_Var::multaggr, SCIP_Var::negate, SCIP_Var::negatedvar, NULL, SCIP_Multaggr::nvars, SCIP_Var::original, SCIP_Aggregate::scalar, SCIP_Multaggr::scalars, SCIP_INVALID, SCIP_Real, SCIP_VARSTATUS_AGGREGATED, SCIP_VARSTATUS_COLUMN, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_LOOSE, SCIP_VARSTATUS_MULTAGGR, SCIP_VARSTATUS_NEGATED, SCIP_VARSTATUS_ORIGINAL, SCIPABORT, SCIPbdchginfoGetNewbound(), SCIPerrorMessage, SCIPgetVarLbAtIndex(), SCIPgetVarUbAtIndex(), SCIPinfinity(), SCIPisInfinity(), SCIPvarGetStatus(), SCIPvarGetUbchgInfo(), SCIPvarGetUbLocal(), SCIP_Original::transvar, SCIP_Dom::ub, SCIP_Aggregate::var, and SCIP_Multaggr::vars.
Referenced by addConflictBinvar(), addConflictBounds(), addConflictFixedVars(), adjustCutoffbound(), analyzeConflictLowerbound(), analyzeEnergyRequirement(), getConflictImplics(), getGenVBoundsMinActivityConflict(), getMinactImplicObjchg(), resolveGenVBoundPropagation(), resolvePropagation(), resolvePropagationCoretimes(), respropCumulativeCondition(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_PROPRESPROP(), SCIPconflictIsVarUsed(), SCIPconsResolvePropagation(), SCIPgetVarBdAtIndex(), SCIPgetVarLbAtIndex(), SCIPgetVarUbAtIndex(), SCIPgetVarWasFixedAtIndex(), and SCIPpropResolvePropagation().
◆ SCIPgetVarBdAtIndex() ◆ SCIPgetVarWasFixedAtIndex() ◆ SCIPgetVarSol()gets solution value for variable in current node
scip
is in one of the following stages:
Definition at line 2307 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPtreeHasCurrentNodeLP(), SCIPvarGetSol(), and TRUE.
Referenced by createCGMIPprimalsols(), createSubscip(), fixVariable(), performBranchingNoSol(), performBranchingSol(), SCIP_DECL_SEPAEXECLP(), selectBestCands(), and separateIISRounding().
◆ SCIPgetVarSols() ◆ SCIPclearRelaxSolVals()sets the solution value of all variables in the global relaxation solution to zero
scip
is in one of the following stages:
Definition at line 2364 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPgetVarsData(), SCIPrelaxationIsSolZero(), SCIPrelaxationSetSolObj(), SCIPrelaxationSetSolRelax(), SCIPrelaxationSetSolZero(), SCIPvarSetRelaxSol(), and TRUE.
Referenced by SCIP_DECL_RELAXEXEC(), SCIPsetRelaxSolVals(), SCIPsetRelaxSolValsSol(), and SCIPsolve().
◆ SCIPsetRelaxSolVal()sets the value of the given variable in the global relaxation solution; this solution can be filled by the relaxation handlers and can be used by heuristics and for separation; You can use SCIPclearRelaxSolVals() to set all values to zero, initially; after setting all solution values, you have to call SCIPmarkRelaxSolValid() to inform SCIP that the stored solution is valid
scip
is in one of the following stages:
Definition at line 2414 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPrelaxationSetSolRelax(), SCIPrelaxationSetSolValid(), SCIPrelaxationSetSolZero(), SCIPvarSetRelaxSol(), and TRUE.
Referenced by SCIP_DECL_RELAXEXEC().
◆ SCIPsetRelaxSolVals()sets the values of the given variables in the global relaxation solution and informs SCIP about the validity and whether the solution can be enforced via linear cuts; this solution can be filled by the relaxation handlers and can be used by heuristics and for separation; the solution is automatically cleared, s.t. all other variables get value 0.0
scip
is in one of the following stages:
Definition at line 2447 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPclearRelaxSolVals(), SCIPrelaxationSetSolRelax(), SCIPrelaxationSetSolValid(), SCIPrelaxationSetSolZero(), SCIPvarSetRelaxSol(), and TRUE.
◆ SCIPsetRelaxSolValsSol()sets the values of the variables in the global relaxation solution to the values in the given primal solution and informs SCIP about the validity and whether the solution can be enforced via linear cuts; the relaxation solution can be filled by the relaxation handlers and might be used by heuristics and for separation
scip
is in one of the following stages:
Definition at line 2489 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPcheckStage(), SCIPclearRelaxSolVals(), SCIPfreeBufferArray, SCIPgetSolVals(), SCIPgetVarsData(), SCIPrelaxationSetSolObj(), SCIPrelaxationSetSolRelax(), SCIPrelaxationSetSolValid(), SCIPrelaxationSetSolZero(), SCIPsolGetObj(), SCIPvarSetRelaxSol(), and TRUE.
◆ SCIPisRelaxSolValid()returns whether the relaxation solution is valid
scip
is in one of the following stages:
Definition at line 2537 of file scip_var.c.
References FALSE, NULL, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPrelaxationIsSolValid(), and TRUE.
Referenced by performRelaxSimpleRounding(), SCIP_DECL_HEUREXEC(), SCIP_DECL_RELAXEXEC(), and SCIPstartDive().
◆ SCIPmarkRelaxSolValid() ◆ SCIPmarkRelaxSolInvalid() ◆ SCIPgetRelaxSolVal()gets the relaxation solution value of the given variable
scip
is in one of the following stages:
Definition at line 2603 of file scip_var.c.
References FALSE, NULL, SCIP_Var::scip, SCIP_CALL_ABORT, SCIP_INVALID, SCIPABORT, SCIPcheckStage(), SCIPerrorMessage, SCIPrelaxationIsSolValid(), SCIPvarGetRelaxSol(), and TRUE.
Referenced by performRelaxSimpleRounding().
◆ SCIPgetRelaxSolObj() ◆ SCIPisStrongbranchDownFirst() ◆ SCIPstartStrongbranch()start strong branching - call before any strong branching
scip
is in one of the following stages:
Definition at line 2686 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_LONGINT_FORMAT, SCIP_LPSOLSTAT_NOTSOLVED, SCIP_OKAY, SCIPcheckStage(), SCIPdebugMsg, SCIPerrorMessage, SCIPinProbing(), SCIPlpDiving(), SCIPlpStartStrongbranch(), SCIPlpStartStrongbranchProbing(), SCIPtreeProbing(), SCIPtreeStartProbing(), and TRUE.
Referenced by execRelpscost(), runVanillaStrongBranching(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), and selectVarStart().
◆ SCIPendStrongbranch()end strong branching - call after any strong branching
scip
is in one of the following stages:
Definition at line 2744 of file scip_var.c.
References FALSE, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_NODETYPE_PROBINGNODE, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPboundchgGetBoundtype(), SCIPboundchgGetNewbound(), SCIPboundchgGetVar(), SCIPboundchgIsRedundant(), SCIPcheckStage(), SCIPchgVarLb(), SCIPchgVarUb(), SCIPdebugMsg, SCIPdomchgGetBoundchg(), SCIPdomchgGetNBoundchgs(), SCIPfreeBufferArray, SCIPgetCurrentNode(), SCIPgetProbingDepth(), SCIPlpEndStrongbranch(), SCIPlpEndStrongbranchProbing(), SCIPnodeGetDomchg(), SCIPnodeGetType(), SCIPtreeEndProbing(), SCIPtreeProbing(), SCIPvarGetName(), and TRUE.
Referenced by execRelpscost(), runVanillaStrongBranching(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), and selectVarStart().
◆ SCIPgetVarStrongbranchFrac() SCIP_RETCODE SCIPgetVarStrongbranchFrac ( SCIP * scip, SCIP_VAR * var, int itlim, SCIP_Bool idempotent, SCIP_Real * down, SCIP_Real * up, SCIP_Bool * downvalid, SCIP_Bool * upvalid, SCIP_Bool * downinf, SCIP_Bool * upinf, SCIP_Bool * downconflict, SCIP_Bool * upconflict, SCIP_Bool * lperror )gets strong branching information on column variable with fractional value
scip
is in one of the following stages:
gets strong branching information on column variable with fractional value
Before calling this method, the strong branching mode must have been activated by calling SCIPstartStrongbranch(); after strong branching was done for all candidate variables, the strong branching mode must be ended by SCIPendStrongbranch(). Since this method does not apply domain propagation before strongbranching, propagation should not be enabled in the SCIPstartStrongbranch() call.
scip
is in one of the following stages:
Definition at line 2919 of file scip_var.c.
References analyzeStrongbranch(), FALSE, NULL, SCIP_Var::scip, SCIP_Bool, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIP_VARSTATUS_COLUMN, SCIPcheckStage(), SCIPcolGetStrongbranch(), SCIPcolIsInLP(), SCIPerrorMessage, SCIPfeasCeil(), SCIPfeasFloor(), SCIPgetLPObjval(), SCIPinProbing(), SCIPisZero(), SCIPlpGetModifiedProvedPseudoObjval(), SCIPlpGetModifiedPseudoObjval(), SCIPprobAllColsInLP(), SCIPsetIsGE(), SCIPsolveIsStopped(), SCIPvarGetBestBoundType(), SCIPvarGetCol(), SCIPvarGetLbLocal(), SCIPvarGetLPSol(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetStatus(), SCIPvarGetUbLocal(), and TRUE.
Referenced by execRelpscost(), runVanillaStrongBranching(), SCIPselectVarPseudoStrongBranching(), and SCIPselectVarStrongBranching().
◆ SCIPgetVarStrongbranchWithPropagation() SCIP_RETCODE SCIPgetVarStrongbranchWithPropagation ( SCIP * scip, SCIP_VAR * var, SCIP_Real solval, SCIP_Real lpobjval, int itlim, int maxproprounds, SCIP_Real * down, SCIP_Real * up, SCIP_Bool * downvalid, SCIP_Bool * upvalid, SCIP_Longint * ndomredsdown, SCIP_Longint * ndomredsup, SCIP_Bool * downinf, SCIP_Bool * upinf, SCIP_Bool * downconflict, SCIP_Bool * upconflict, SCIP_Bool * lperror, SCIP_Real * newlbs, SCIP_Real * newubs )gets strong branching information with previous domain propagation on column variable
Before calling this method, the strong branching mode must have been activated by calling SCIPstartStrongbranch(); after strong branching was done for all candidate variables, the strong branching mode must be ended by SCIPendStrongbranch(). Since this method applies domain propagation before strongbranching, propagation has to be be enabled in the SCIPstartStrongbranch() call.
Before solving the strong branching LP, domain propagation can be performed. The number of propagation rounds can be specified by the parameter maxproprounds
.
scip
is in one of the following stages:
Definition at line 3396 of file scip_var.c.
References FALSE, NULL, performStrongbranchWithPropagation(), SCIP_Var::scip, SCIP_Bool, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDDATA, SCIP_Longint, SCIP_LPSOLSTAT_NOTSOLVED, SCIP_OKAY, SCIP_Real, SCIP_VARSTATUS_COLUMN, SCIPallColsInLP(), SCIPcheckStage(), SCIPcolInvalidateStrongbranchData(), SCIPcolIsInLP(), SCIPcolSetStrongbranchData(), SCIPconflictGetNConflicts(), SCIPdebugMsg, SCIPerrorMessage, SCIPfeasCeil(), SCIPfeasFloor(), SCIPgetCutoffbound(), SCIPgetNVars(), SCIPgetVars(), SCIPinfinity(), SCIPinProbing(), SCIPisGE(), SCIPisStrongbranchDownFirst(), SCIPisZero(), SCIPlpGetModifiedProvedPseudoObjval(), SCIPlpGetModifiedPseudoObjval(), SCIPsolveIsStopped(), SCIPvarGetBestBoundType(), SCIPvarGetCol(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetStatus(), SCIPvarGetUbLocal(), SCIPvarIsIntegral(), and TRUE.
Referenced by execRelpscost(), and SCIPselectVarStrongBranching().
◆ SCIPgetVarStrongbranchInt() SCIP_RETCODE SCIPgetVarStrongbranchInt ( SCIP * scip, SCIP_VAR * var, int itlim, SCIP_Bool idempotent, SCIP_Real * down, SCIP_Real * up, SCIP_Bool * downvalid, SCIP_Bool * upvalid, SCIP_Bool * downinf, SCIP_Bool * upinf, SCIP_Bool * downconflict, SCIP_Bool * upconflict, SCIP_Bool * lperror )gets strong branching information on column variable x with integral LP solution value (val); that is, the down branch is (val -1.0) and the up brach ins (val +1.0)
scip
is in one of the following stages:
Definition at line 3739 of file scip_var.c.
References analyzeStrongbranch(), FALSE, NULL, SCIP_Var::scip, SCIP_Bool, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIP_VARSTATUS_COLUMN, SCIPcheckStage(), SCIPcolGetStrongbranch(), SCIPcolIsInLP(), SCIPerrorMessage, SCIPfeasCeil(), SCIPfeasFloor(), SCIPgetLPObjval(), SCIPisZero(), SCIPlpGetModifiedProvedPseudoObjval(), SCIPlpGetModifiedPseudoObjval(), SCIPprobAllColsInLP(), SCIPsetIsGE(), SCIPsolveIsStopped(), SCIPvarGetBestBoundType(), SCIPvarGetCol(), SCIPvarGetLbLocal(), SCIPvarGetLPSol(), SCIPvarGetName(), SCIPvarGetObj(), SCIPvarGetStatus(), SCIPvarGetUbLocal(), and TRUE.
Referenced by runVanillaStrongBranching(), and SCIPselectVarPseudoStrongBranching().
◆ SCIPgetVarsStrongbranchesFrac() SCIP_RETCODE SCIPgetVarsStrongbranchesFrac ( SCIP * scip, SCIP_VAR ** vars, int nvars, int itlim, SCIP_Real * down, SCIP_Real * up, SCIP_Bool * downvalid, SCIP_Bool * upvalid, SCIP_Bool * downinf, SCIP_Bool * upinf, SCIP_Bool * downconflict, SCIP_Bool * upconflict, SCIP_Bool * lperror )gets strong branching information on column variables with fractional values
scip
is in one of the following stages:
Definition at line 3896 of file scip_var.c.
References analyzeStrongbranch(), FALSE, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIPallocBufferArray, SCIPcheckStage(), SCIPcolGetStrongbranches(), SCIPcolIsInLP(), SCIPerrorMessage, SCIPfreeBufferArray, SCIPprobAllColsInLP(), SCIPsolveIsStopped(), SCIPvarGetCol(), SCIPvarGetName(), SCIPvarGetStatus(), and TRUE.
◆ SCIPgetVarsStrongbranchesInt() SCIP_RETCODE SCIPgetVarsStrongbranchesInt ( SCIP * scip, SCIP_VAR ** vars, int nvars, int itlim, SCIP_Real * down, SCIP_Real * up, SCIP_Bool * downvalid, SCIP_Bool * upvalid, SCIP_Bool * downinf, SCIP_Bool * upinf, SCIP_Bool * downconflict, SCIP_Bool * upconflict, SCIP_Bool * lperror )gets strong branching information on column variables with integral values
scip
is in one of the following stages:
Definition at line 4007 of file scip_var.c.
References analyzeStrongbranch(), FALSE, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIPallocBufferArray, SCIPcheckStage(), SCIPcolGetStrongbranches(), SCIPcolIsInLP(), SCIPerrorMessage, SCIPfreeBufferArray, SCIPprobAllColsInLP(), SCIPsolveIsStopped(), SCIPvarGetCol(), SCIPvarGetName(), SCIPvarGetStatus(), and TRUE.
◆ SCIPgetLastStrongbranchLPSolStat() ◆ SCIPgetVarStrongbranchLast()gets strong branching information on COLUMN variable of the last SCIPgetVarStrongbranch() call; returns values of SCIP_INVALID, if strong branching was not yet called on the given variable; keep in mind, that the returned old values may have nothing to do with the current LP solution
scip
is in one of the following stages:
Definition at line 4133 of file scip_var.c.
References FALSE, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIPcheckStage(), SCIPcolGetStrongbranchLast(), SCIPerrorMessage, SCIPvarGetCol(), SCIPvarGetStatus(), and TRUE.
Referenced by execRelpscost(), getOldBranching(), and SCIPselectVarStrongBranching().
◆ SCIPsetVarStrongbranchData()sets strong branching information for a column variable
scip
is in one of the following stages:
Definition at line 4167 of file scip_var.c.
References FALSE, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_VARSTATUS_COLUMN, SCIPcheckStage(), SCIPcolSetStrongbranchData(), SCIPerrorMessage, SCIPvarGetCol(), SCIPvarGetStatus(), and TRUE.
Referenced by updateOldBranching().
◆ SCIPtryStrongbranchLPSol()rounds the current solution and tries it afterwards; if feasible, adds it to storage
scip
is in one of the following stages:
Definition at line 4202 of file scip_var.c.
References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_Longint, SCIP_OKAY, SCIP_Real, SCIPcheckStage(), SCIPclockStart(), SCIPclockStop(), SCIPcreateLPSol(), SCIPdebugMsg, SCIPfreeSol(), SCIPgetCutoffbound(), SCIPgetLPObjval(), SCIPisGE(), SCIProundSol(), SCIPsolSetStrongbranching(), SCIPtrySolFree(), and TRUE.
Referenced by executeBranching(), and performStrongbranchWithPropagation().
◆ SCIPgetVarStrongbranchNode()gets node number of the last node in current branch and bound run, where strong branching was used on the given variable, or -1 if strong branching was never applied to the variable in current run
scip
is in one of the following stages:
Definition at line 4283 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_CALL_ABORT, SCIP_VARSTATUS_COLUMN, SCIPcheckStage(), SCIPcolGetStrongbranchNode(), SCIPvarGetCol(), SCIPvarGetStatus(), and TRUE.
Referenced by execRelpscost(), isUseOldBranching(), and SCIPselectVarStrongBranching().
◆ SCIPgetVarStrongbranchLPAge()if strong branching was already applied on the variable at the current node, returns the number of LPs solved after the LP where the strong branching on this variable was applied; if strong branching was not yet applied on the variable at the current node, returns INT_MAX
scip
is in one of the following stages:
Definition at line 4317 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_CALL_ABORT, SCIP_LONGINT_MAX, SCIP_VARSTATUS_COLUMN, SCIPcheckStage(), SCIPcolGetStrongbranchLPAge(), SCIPvarGetCol(), SCIPvarGetStatus(), and TRUE.
Referenced by isUseOldBranching(), SCIP_DECL_BRANCHEXECLP(), and SCIPselectVarStrongBranching().
◆ SCIPgetVarNStrongbranchs() int SCIPgetVarNStrongbranchs ( SCIP * scip, SCIP_VAR * var ) ◆ SCIPaddVarLocksType()adds given values to lock numbers of type locktype
of variable for rounding
scip
is in one of the following stages:
Definition at line 4382 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIPcheckStage(), SCIPerrorMessage, SCIPvarAddLocks(), SCIPvarIsTransformed(), and TRUE.
Referenced by addAuxiliaryVariablesToMaster(), createCipFormulation(), createConstraints(), createDisaggrVars(), createObjRow(), freeDisaggrVars(), freeGenVBounds(), presolRoundIndicator(), SCIP_DECL_CONSEXIT(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSLOCK(), SCIP_DECL_PROPINITPRE(), SCIP_DECL_SEPAEXITSOL(), SCIPaddVarLocks(), and SCIPbendersExit().
◆ SCIPaddVarLocks() ◆ SCIPlockVarCons()add locks of type locktype
of variable with respect to the lock status of the constraint and its negation; this method should be called whenever the lock status of a variable in a constraint changes, for example if the coefficient of the variable changed its sign or if the left or right hand sides of the constraint were added or removed
scip
is in one of the following stages:
add locks of variable with respect to the lock status of the constraint and its negation; this method should be called whenever the lock status of a variable in a constraint changes, for example if the coefficient of the variable changed its sign or if the left or right hand sides of the constraint were added or removed
scip
is in one of the following stages:
Definition at line 4474 of file scip_var.c.
References FALSE, NLOCKTYPES, SCIP_Var::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIPcheckStage(), SCIPconsIsLockedTypeNeg(), SCIPconsIsLockedTypePos(), SCIPerrorMessage, SCIPvarAddLocks(), SCIPvarIsTransformed(), and TRUE.
Referenced by addExtendedAsymmetricFormulation(), addExtendedFlowFormulation(), applyFixings(), chgLhs(), chgRhs(), lockRounding(), lockRoundingAndCons(), lockVariableCardinality(), lockVariableSOS1(), lockVariableSOS2(), preprocessConstraintPairs(), presolRoundIndicator(), and SCIP_DECL_EVENTEXEC().
◆ SCIPunlockVarCons()remove locks of type locktype
of variable with respect to the lock status of the constraint and its negation; this method should be called whenever the lock status of a variable in a constraint changes, for example if the coefficient of the variable changed its sign or if the left or right hand sides of the constraint were added or removed
scip
is in one of the following stages:
remove locks of type locktype
of variable with respect to the lock status of the constraint and its negation; this method should be called whenever the lock status of a variable in a constraint changes, for example if the coefficient of the variable changed its sign or if the left or right hand sides of the constraint were added or removed
scip
is in one of the following stages:
Definition at line 4560 of file scip_var.c.
References FALSE, NLOCKTYPES, SCIP_Var::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_EXITSOLVE, SCIP_STAGE_FREETRANS, SCIP_STAGE_INITPRESOLVE, SCIP_STAGE_INITSOLVE, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIPcheckStage(), SCIPconsIsLockedTypeNeg(), SCIPconsIsLockedTypePos(), SCIPerrorMessage, SCIPvarAddLocks(), SCIPvarIsTransformed(), and TRUE.
Referenced by applyFixings(), chgLhs(), chgRhs(), consdataDeletePos(), delCoefPos(), preprocessConstraintPairs(), presolRoundIndicator(), presolveConsEst(), presolveConsLct(), SCIP_DECL_EVENTEXEC(), unlockRounding(), unlockRoundingAndCons(), unlockVariableCardinality(), unlockVariableSOS1(), and unlockVariableSOS2().
◆ SCIPchgVarObj()changes variable's objective value
scip
is in one of the following stages:
changes variable's objective value
scip
is in one of the following stages:
Definition at line 4636 of file scip_var.c.
References FALSE, REALABS, SCIP_Var::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIPcheckStage(), SCIPerrorMessage, SCIPisInfinity(), SCIPvarChgObj(), SCIPvarIsTransformed(), and TRUE.
Referenced by addLocalBranchingConstraint(), addScenarioVarsAndConsToProb(), AMPLProblemHandler::LinearPartHandler::AddTerm(), changeSubvariableObjective(), checkPartialObjective(), createBlockproblem(), createCoveringProblem(), createProbOnlyEdge(), createProbSimplified(), createProbSimplifiedTest(), createSubproblem(), createSubproblems(), createSubSCIP(), DECL_CHANGESUBSCIP(), getVariable(), parseSolveItem(), readCnf(), readCols(), readConstraints(), readObjective(), reoptimize(), SCIP_DECL_HEUREXEC(), SCIPapplyProximity(), SCIPchgReoptObjective(), SCIPtransformMinUC(), setupAndSolveFiniteSolSubscip(), setupAndSolveSubscip(), and updateLambda().
◆ SCIPaddVarObj()adds value to variable's objective value
scip
is in one of the following stages:
Definition at line 4685 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_EXITPRESOLVE, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_TRANSFORMING, SCIPcheckStage(), SCIPerrorMessage, SCIPvarAddObj(), SCIPvarIsTransformed(), and TRUE.
Referenced by SCIPchgReoptObjective(), and setObjective().
◆ SCIPadjustedVarLb()returns the adjusted (i.e. rounded, if the given variable is of integral type) lower bound value; does not change the bounds of the variable
scip
is in one of the following stages:
Definition at line 4736 of file scip_var.c.
References FALSE, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPvarAdjustLb(), and TRUE.
Referenced by addLowerBound(), analyzeConflict(), analyzeConflictLowerbound(), computeRelaxedLowerbound(), preprocessConstraintPairs(), propagateCons(), propagateRedcostVar(), resolvePropagation(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_PRESOLEXEC(), scoreBranchingCandidates(), tightenVarLb(), and updateBestCandidate().
◆ SCIPadjustedVarUb()returns the adjusted (i.e. rounded, if the given variable is of integral type) upper bound value; does not change the bounds of the variable
scip
is in one of the following stages:
Definition at line 4768 of file scip_var.c.
References FALSE, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPvarAdjustUb(), and TRUE.
Referenced by addUpperBound(), analyzeConflict(), analyzeConflictUpperbound(), computeRelaxedUpperbound(), preprocessConstraintPairs(), propagateCons(), propagateRedcostVar(), propIndicator(), resolvePropagation(), SCIP_DECL_BRANCHEXECEXT(), SCIP_DECL_PRESOLEXEC(), scoreBranchingCandidates(), tightenVarUb(), and updateBestCandidate().
◆ SCIPchgVarLb()depending on SCIP's stage, changes lower bound of variable in the problem, in preprocessing, or in current node; if possible, adjusts bound to integral value; doesn't store any inference information in the bound change, such that in conflict analysis, this change is treated like a branching decision
scip
is in one of the following stages:
Definition at line 4799 of file scip_var.c.
References FALSE, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMING, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPcheckStage(), SCIPchgVarType(), SCIPerrorMessage, SCIPgetStage(), SCIPinProbing(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarAdjustLb(), SCIPvarChgLbGlobal(), SCIPvarChgLbLocal(), SCIPvarChgLbOriginal(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarIsBinary(), SCIPvarIsTransformed(), SCIPwarningMessage(), TRUE, and SCIP_Var::vartype.
Referenced by createCoveringProblem(), createIndicatorConstraint(), generateOddCycleCut(), predBndStr(), propagateCons(), propagateRedcostBinvar(), propagateRedcostVar(), propagateRootRedcostBinvar(), propCardinality(), readBinaries(), readBounds(), readSemicontinuous(), reoptimize(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_PRESOLEXEC(), SCIPbendersSetupSubproblem(), SCIPchgVarLbNode(), SCIPendStrongbranch(), SCIPfixVar(), SCIPinferBinvarCons(), SCIPinferBinvarProp(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), setupProblem(), and updateAuxiliaryVarLowerbound().
◆ SCIPchgVarUb()depending on SCIP's stage, changes upper bound of variable in the problem, in preprocessing, or in current node; if possible, adjusts bound to integral value; doesn't store any inference information in the bound change, such that in conflict analysis, this change is treated like a branching decision
scip
is in one of the following stages:
Definition at line 4889 of file scip_var.c.
References FALSE, SCIP_Bool, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_PRESOLVED, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMING, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPcheckStage(), SCIPchgVarType(), SCIPerrorMessage, SCIPgetStage(), SCIPinProbing(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarAdjustUb(), SCIPvarChgUbGlobal(), SCIPvarChgUbLocal(), SCIPvarChgUbOriginal(), SCIPvarGetName(), SCIPvarGetUbLocal(), SCIPvarIsBinary(), SCIPvarIsTransformed(), SCIPwarningMessage(), TRUE, and SCIP_Var::vartype.
Referenced by addSSTConssOrbitAndUpdateSST(), createIndicatorConstraint(), generateOddCycleCut(), predBndStr(), propagateCons(), propagateRedcostBinvar(), propagateRedcostVar(), propagateRootRedcostBinvar(), readBinaries(), readBounds(), reoptimize(), SCIP_DECL_CONSPROP(), SCIP_DECL_PRESOLEXEC(), SCIPbendersSetupSubproblem(), SCIPchgVarUbNode(), SCIPendStrongbranch(), SCIPfixVar(), SCIPinferBinvarCons(), SCIPinferBinvarProp(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), SCIPsetSlackVarUb(), setupProblem(), and updateMIP().
◆ SCIPchgVarLbNode()changes lower bound of variable in the given node; if possible, adjust bound to integral value; doesn't store any inference information in the bound change, such that in conflict analysis, this change is treated like a branching decision
scip
is in stage SCIP_STAGE_SOLVING
Definition at line 4969 of file scip_var.c.
References FALSE, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_SOLVING, SCIPcheckStage(), SCIPchgVarLb(), SCIPgetStage(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPvarAdjustLb(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPwarningMessage(), and TRUE.
Referenced by branchOnBin(), branchOnVar(), branchUnbalancedCardinality(), createNAryBranch(), enforceConflictgraph(), enforceIndicators(), fixVariableZeroNode(), and performBranchingNoSol().
◆ SCIPchgVarUbNode()changes upper bound of variable in the given node; if possible, adjust bound to integral value; doesn't store any inference information in the bound change, such that in conflict analysis, this change is treated like a branching decision
scip
is in stage SCIP_STAGE_SOLVING
Definition at line 5013 of file scip_var.c.
References FALSE, NULL, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_SOLVING, SCIPcheckStage(), SCIPchgVarUb(), SCIPgetStage(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPvarAdjustUb(), SCIPvarGetName(), SCIPvarGetUbLocal(), SCIPwarningMessage(), and TRUE.
Referenced by branchOnBin(), branchOnVar(), createNAryBranch(), enforceConflictgraph(), enforceIndicators(), fixVariableZeroNode(), and performBranchingNoSol().
◆ SCIPchgVarLbGlobal()changes global lower bound of variable; if possible, adjust bound to integral value; also tightens the local bound, if the global bound is better than the local bound
scip
is in one of the following stages:
Definition at line 5066 of file scip_var.c.
References FALSE, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPcheckStage(), SCIPchgVarType(), SCIPerrorMessage, SCIPgetStage(), SCIPinProbing(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarAdjustLb(), SCIPvarChgLbGlobal(), SCIPvarChgLbLocal(), SCIPvarChgLbOriginal(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarIsBinary(), SCIPvarIsTransformed(), SCIPwarningMessage(), TRUE, and SCIP_Var::vartype.
Referenced by applyDomainChanges(), checkRedundancy(), createSubSCIP(), DECL_CHANGESUBSCIP(), fixDiscreteVars(), freeMemory(), AMPLProblemHandler::OnVarBounds(), reboundIntegerVariables(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIPapplyHeurDualval(), SCIPapplyProximity(), SCIPchgVarLbLazy(), and setupAndSolveSubscip().
◆ SCIPchgVarUbGlobal()changes global upper bound of variable; if possible, adjust bound to integral value; also tightens the local bound, if the global bound is better than the local bound
scip
is in one of the following stages:
Definition at line 5155 of file scip_var.c.
References FALSE, SCIP_Bool, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_STAGE_TRANSFORMING, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPcheckStage(), SCIPchgVarType(), SCIPerrorMessage, SCIPgetStage(), SCIPinProbing(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarAdjustUb(), SCIPvarChgUbGlobal(), SCIPvarChgUbLocal(), SCIPvarChgUbOriginal(), SCIPvarGetName(), SCIPvarGetUbLocal(), SCIPvarIsBinary(), SCIPvarIsTransformed(), SCIPwarningMessage(), TRUE, and SCIP_Var::vartype.
Referenced by applyDomainChanges(), checkRedundancy(), createSubSCIP(), DECL_CHANGESUBSCIP(), fixDiscreteVars(), freeMemory(), AMPLProblemHandler::OnVarBounds(), reboundIntegerVariables(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIPapplyHeurDualval(), SCIPapplyProximity(), SCIPchgVarUbLazy(), and setupAndSolveSubscip().
◆ SCIPchgVarLbLazy()changes lazy lower bound of the variable, this is only possible if the variable is not in the LP yet
Lazy bounds are bounds that are already enforced by constraints and the objective function. Setting a lazy lower bound has the consequence that for variables which lower bound equals the lazy lower bound, the lower bound does not need to be passed on to the LP solver. This is especially useful in a column generation (branch-and-price) setting.
scip
is in one of the following stages:
Definition at line 5246 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPchgVarLbGlobal(), SCIPisGT(), SCIPvarChgLbLazy(), SCIPvarGetLbGlobal(), and TRUE.
◆ SCIPchgVarUbLazy()changes lazy upper bound of the variable, this is only possible if the variable is not in the LP yet
Lazy bounds are bounds that are already enforced by constraints and the objective function. Setting a lazy upper bound has the consequence that for variables which upper bound equals the lazy upper bound, the upper bound does not need to be passed on to the LP solver. This is especially useful in a column generation (branch-and-price) setting.
scip
is in one of the following stages:
Definition at line 5287 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPchgVarUbGlobal(), SCIPisLT(), SCIPvarChgUbLazy(), SCIPvarGetUbGlobal(), and TRUE.
Referenced by createInitialColumns(), doPricing(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRICERFARKAS(), SCIP_DECL_PRICERREDCOST(), and SCIP_DECL_READERREAD().
◆ SCIPtightenVarLb()changes lower bound of variable in preprocessing or in the current node, if the new bound is tighter (w.r.t. bound strengthening epsilon) than the current bound; if possible, adjusts bound to integral value; doesn't store any inference information in the bound change, such that in conflict analysis, this change is treated like a branching decision
scip
is in one of the following stages:
Definition at line 5326 of file scip_var.c.
References FALSE, MIN, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPcheckStage(), SCIPchgVarType(), SCIPcomputeVarLbLocal(), SCIPcomputeVarUbLocal(), SCIPerrorMessage, SCIPgetStage(), SCIPinDive(), SCIPinProbing(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPsetIsFeasGT(), SCIPsetIsLbBetter(), SCIPsetIsLE(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarAdjustLb(), SCIPvarChgLbGlobal(), SCIPvarChgLbLocal(), SCIPvarChgLbOriginal(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarIsBinary(), SCIPvarIsTransformed(), SCIPwarningMessage(), TRUE, and SCIP_Var::vartype.
Referenced by adjustOversizedJobBounds(), analyseVarOnoffBounds(), applyBdchgs(), applyBoundChgs(), applyDomainReductions(), applyFixings(), applyOrbitalReductionPart(), applyProbing(), applyProbingVar(), checkSystemGF2(), coretimesUpdateLb(), dualPresolving(), extractCycle(), fullDualPresolve(), inferboundsEdgeFinding(), initSepa(), preprocessConstraintPairs(), presolStuffing(), presolveRedundantConss(), propagateCons(), propagateLowerBoundVar(), propagateSelfReflectionVar(), propagateStaticLexred(), propagateStaticOrbitope(), propagateTTEF(), propagateUpperBoundSymVar(), readBounds(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_PRESOLEXEC(), SCIPanalyzeDeductionsProbing(), SCIPapplyHeurSubNlp(), SCIPselectVarStrongBranching(), separateCuts(), setupAndSolveSubscipRapidlearning(), solveAndEvalSubscip(), solveIndependentCons(), solveNlp(), solveSubproblem(), tightenAuxVarBounds(), tightenVarsBoundsSOS1(), and updateArcData().
◆ SCIPtightenVarUb()changes upper bound of variable in preprocessing or in the current node, if the new bound is tighter (w.r.t. bound strengthening epsilon) than the current bound; if possible, adjusts bound to integral value; doesn't store any inference information in the bound change, such that in conflict analysis, this change is treated like a branching decision
scip
is in one of the following stages:
Definition at line 5443 of file scip_var.c.
References FALSE, MAX, NULL, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMED, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPcheckStage(), SCIPchgVarType(), SCIPcomputeVarLbLocal(), SCIPcomputeVarUbLocal(), SCIPerrorMessage, SCIPgetStage(), SCIPinDive(), SCIPinProbing(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPsetIsFeasLT(), SCIPsetIsGE(), SCIPsetIsLE(), SCIPsetIsUbBetter(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarAdjustUb(), SCIPvarChgUbGlobal(), SCIPvarChgUbLocal(), SCIPvarChgUbOriginal(), SCIPvarGetName(), SCIPvarGetUbLocal(), SCIPvarIsBinary(), SCIPvarIsTransformed(), SCIPwarningMessage(), TRUE, and SCIP_Var::vartype.
Referenced by adjustOversizedJobBounds(), analyseVarOnoffBounds(), applyBdchgs(), applyBoundChgs(), applyDomainReductions(), applyFixings(), applyOrbitalBranchingPropagations(), applyOrbitalReductionPart(), applyProbing(), applyProbingVar(), checkSystemGF2(), coretimesUpdateUb(), dualPresolving(), extractCycle(), fullDualPresolve(), getCover(), inferboundsEdgeFinding(), initSepa(), preprocessConstraintPairs(), presolStuffing(), presolveRedundantConss(), propagateCons(), propagateStaticLexred(), propagateStaticOrbitope(), propagateTTEF(), propagateUpperBoundSymVar(), readBounds(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_PRESOLEXEC(), SCIPanalyzeDeductionsProbing(), SCIPapplyHeurSubNlp(), SCIPselectVarStrongBranching(), setupAndSolveSubscipRapidlearning(), solveAndEvalSubscip(), solveIndependentCons(), solveNlp(), solveSubproblem(), tightenAuxVarBounds(), tightenVarsBoundsSOS1(), and updateArcData().
◆ SCIPinferVarFixCons()fixes variable in preprocessing or in the current node, if the new bound is tighter (w.r.t. bound strengthening epsilon) than the current bound; if possible, adjusts bound to integral value; the given inference constraint is stored, such that the conflict analysis is able to find out the reason for the deduction of the bound change
Definition at line 5555 of file scip_var.c.
References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PRESOLVING, SCIPcheckStage(), SCIPgetStage(), SCIPinferVarLbCons(), SCIPinferVarUbCons(), SCIPtreeGetCurrentDepth(), SCIPvarFix(), and TRUE.
Referenced by rangedRowPropagation().
◆ SCIPinferVarLbCons()changes lower bound of variable in preprocessing or in the current node, if the new bound is tighter (w.r.t. bound strengthening epsilon) than the current bound; if possible, adjusts bound to integral value; the given inference constraint is stored, such that the conflict analysis is able to find out the reason for the deduction of the bound change
scip
is in one of the following stages:
Definition at line 5624 of file scip_var.c.
References FALSE, MIN, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPcheckStage(), SCIPchgVarType(), SCIPcomputeVarLbLocal(), SCIPerrorMessage, SCIPinProbing(), SCIPisFeasGT(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPnodeAddBoundinfer(), SCIPsetIsLbBetter(), SCIPsetIsLE(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarAdjustLb(), SCIPvarChgLbGlobal(), SCIPvarChgLbLocal(), SCIPvarChgLbOriginal(), SCIPvarGetLbLocal(), SCIPvarGetUbLocal(), SCIPvarIsBinary(), SCIPvarIsTransformed(), TRUE, and SCIP_Var::vartype.
Referenced by consFixLinkvar(), coretimesUpdateLb(), inferboundsEdgeFinding(), inferVariableZero(), processWatchedVars(), propagateCons(), propagateTTEF(), propIndicator(), propVariableNonzero(), propVariables(), rangedRowPropagation(), SCIPinferVarFixCons(), separateCons(), tightenedLinkvar(), tightenVarBounds(), and tightenVarLb().
◆ SCIPinferVarUbCons()changes upper bound of variable in preprocessing or in the current node, if the new bound is tighter (w.r.t. bound strengthening epsilon) than the current bound; if possible, adjusts bound to integral value; the given inference constraint is stored, such that the conflict analysis is able to find out the reason for the deduction of the bound change
scip
is in one of the following stages:
Definition at line 5729 of file scip_var.c.
References FALSE, MAX, NULL, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPcheckStage(), SCIPchgVarType(), SCIPcomputeVarUbLocal(), SCIPerrorMessage, SCIPinProbing(), SCIPisFeasLT(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPnodeAddBoundinfer(), SCIPsetIsGE(), SCIPsetIsLE(), SCIPsetIsUbBetter(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarAdjustUb(), SCIPvarChgUbGlobal(), SCIPvarChgUbLocal(), SCIPvarChgUbOriginal(), SCIPvarGetLbLocal(), SCIPvarGetUbLocal(), SCIPvarIsBinary(), SCIPvarIsTransformed(), TRUE, and SCIP_Var::vartype.
Referenced by consFixLinkvar(), coretimesUpdateUb(), inferboundsEdgeFinding(), inferVariableZero(), processWatchedVars(), propagateCons(), propagateTTEF(), propIndicator(), propVariableNonzero(), propVariables(), rangedRowPropagation(), SCIPinferVarFixCons(), separateCons(), tightenedLinkvar(), tightenVarBounds(), and tightenVarUb().
◆ SCIPinferBinvarCons()depending on SCIP's stage, fixes binary variable in the problem, in preprocessing, or in current node; the given inference constraint is stored, such that the conflict analysis is able to find out the reason for the deduction of the fixing
scip
is in one of the following stages:
Definition at line 5828 of file scip_var.c.
References FALSE, NULL, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIPcheckStage(), SCIPchgVarLb(), SCIPchgVarUb(), SCIPerrorMessage, SCIPnodeAddBoundinfer(), SCIPsetIsEQ(), SCIPsetIsLE(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarFix(), SCIPvarGetLbLocal(), SCIPvarGetUbLocal(), SCIPvarIsBinary(), SCIPvarIsTransformed(), and TRUE.
Referenced by analyzeZeroResultant(), consdataFixOperandsOne(), consdataFixResultantZero(), processBinvarFixings(), processFixings(), processRealBoundChg(), processWatchedVars(), propagateCons(), propagateFullOrbitopeCons(), propagatePackingPartitioningCons(), and SCIP_DECL_CONSPROP().
◆ SCIPinferVarFixProp()fixes variable in preprocessing or in the current node, if the new bound is tighter (w.r.t. bound strengthening epsilon) than the current bound; if possible, adjusts bound to integral value; the given inference constraint is stored, such that the conflict analysis is able to find out the reason for the deduction of the bound change
Definition at line 5931 of file scip_var.c.
References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PRESOLVING, SCIPcheckStage(), SCIPgetStage(), SCIPinferVarLbProp(), SCIPinferVarUbProp(), SCIPtreeGetCurrentDepth(), SCIPvarFix(), and TRUE.
◆ SCIPinferVarLbProp()changes lower bound of variable in preprocessing or in the current node, if the new bound is tighter (w.r.t. bound strengthening epsilon) than the current bound; if possible, adjusts bound to integral value; the given inference propagator is stored, such that the conflict analysis is able to find out the reason for the deduction of the bound change
scip
is in one of the following stages:
Definition at line 6000 of file scip_var.c.
References FALSE, MIN, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPcheckStage(), SCIPchgVarType(), SCIPcomputeVarLbLocal(), SCIPerrorMessage, SCIPgetStage(), SCIPinProbing(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPnodeAddBoundinfer(), SCIPsetIsFeasGT(), SCIPsetIsLbBetter(), SCIPsetIsLE(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarAdjustLb(), SCIPvarChgLbGlobal(), SCIPvarChgLbLocal(), SCIPvarChgLbOriginal(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetUbLocal(), SCIPvarIsBinary(), SCIPvarIsTransformed(), SCIPwarningMessage(), TRUE, and SCIP_Var::vartype.
Referenced by applyGenVBound(), propagateCutoffboundVar(), SCIPinferVarFixProp(), and tightenVarLb().
◆ SCIPinferVarUbProp()changes upper bound of variable in preprocessing or in the current node, if the new bound is tighter (w.r.t. bound strengthening epsilon) than the current bound; if possible, adjusts bound to integral value; the given inference propagator is stored, such that the conflict analysis is able to find out the reason for the deduction of the bound change
scip
is in one of the following stages:
Definition at line 6115 of file scip_var.c.
References FALSE, MAX, NULL, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPcheckStage(), SCIPchgVarType(), SCIPcomputeVarUbLocal(), SCIPerrorMessage, SCIPgetStage(), SCIPinProbing(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPnodeAddBoundinfer(), SCIPsetIsFeasLT(), SCIPsetIsGE(), SCIPsetIsLE(), SCIPsetIsUbBetter(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarAdjustUb(), SCIPvarChgUbGlobal(), SCIPvarChgUbLocal(), SCIPvarChgUbOriginal(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetUbLocal(), SCIPvarIsBinary(), SCIPvarIsTransformed(), SCIPwarningMessage(), TRUE, and SCIP_Var::vartype.
Referenced by applyGenVBound(), propagateCutoffboundVar(), SCIPinferVarFixProp(), and tightenVarUb().
◆ SCIPinferBinvarProp()depending on SCIP's stage, fixes binary variable in the problem, in preprocessing, or in current node; the given inference propagator is stored, such that the conflict analysis is able to find out the reason for the deduction of the fixing
scip
is in one of the following stages:
Definition at line 6225 of file scip_var.c.
References FALSE, NULL, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIPcheckStage(), SCIPchgVarLb(), SCIPchgVarUb(), SCIPerrorMessage, SCIPnodeAddBoundinfer(), SCIPsetIsEQ(), SCIPsetIsLE(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarFix(), SCIPvarGetLbLocal(), SCIPvarGetUbLocal(), SCIPvarIsBinary(), SCIPvarIsTransformed(), and TRUE.
◆ SCIPtightenVarLbGlobal()changes global lower bound of variable in preprocessing or in the current node, if the new bound is tighter (w.r.t. bound strengthening epsilon) than the current global bound; if possible, adjusts bound to integral value; also tightens the local bound, if the global bound is better than the local bound
scip
is in one of the following stages:
Definition at line 6333 of file scip_var.c.
References FALSE, MIN, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMING, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPcheckStage(), SCIPchgVarType(), SCIPcomputeVarLbGlobal(), SCIPerrorMessage, SCIPgetStage(), SCIPinProbing(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPsetIsEQ(), SCIPsetIsFeasGT(), SCIPsetIsLbBetter(), SCIPsetIsLE(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarAdjustLb(), SCIPvarChgLbGlobal(), SCIPvarChgLbLocal(), SCIPvarChgLbOriginal(), SCIPvarGetLbGlobal(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetUbGlobal(), SCIPvarIsBinary(), SCIPvarIsTransformed(), SCIPwarningMessage(), TRUE, and SCIP_Var::vartype.
Referenced by applyBoundChanges(), applyGenVBound(), objimplicsCreate(), propagateCutoffboundVar(), propagateLowerboundBinvar(), propagateLowerboundVar(), propagateRootRedcostVar(), setupAndSolveSubscipRapidlearning(), tightenBounds(), tightenCoefs(), and tightenVarLb().
◆ SCIPtightenVarUbGlobal()changes global upper bound of variable in preprocessing or in the current node, if the new bound is tighter (w.r.t. bound strengthening epsilon) than the current global bound; if possible, adjusts bound to integral value; also tightens the local bound, if the global bound is better than the local bound
scip
is in one of the following stages:
Definition at line 6453 of file scip_var.c.
References FALSE, MAX, NULL, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_STAGE_TRANSFORMING, SCIP_VARTYPE_BINARY, SCIP_VARTYPE_INTEGER, SCIPcheckStage(), SCIPchgVarType(), SCIPcomputeVarUbGlobal(), SCIPerrorMessage, SCIPgetStage(), SCIPinProbing(), SCIPisInfinity(), SCIPnodeAddBoundchg(), SCIPsetIsEQ(), SCIPsetIsFeasLT(), SCIPsetIsLE(), SCIPsetIsUbBetter(), SCIPtreeGetCurrentDepth(), SCIPtreeGetCurrentNode(), SCIPvarAdjustUb(), SCIPvarChgUbGlobal(), SCIPvarChgUbLocal(), SCIPvarChgUbOriginal(), SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetUbGlobal(), SCIPvarGetUbLocal(), SCIPvarIsBinary(), SCIPvarIsTransformed(), SCIPwarningMessage(), TRUE, and SCIP_Var::vartype.
Referenced by applyBoundChanges(), applyGenVBound(), objimplicsCreate(), propagateCutoffboundVar(), propagateLowerboundVar(), propagateRootRedcostVar(), SCIP_DECL_PROPEXEC(), setupAndSolveSubscipRapidlearning(), tightenBounds(), tightenCoefs(), and tightenVarUb().
◆ SCIPcomputeVarLbGlobal()for a multi-aggregated variable, returns the global lower bound computed by adding the global bounds from all aggregation variables
This global bound may be tighter than the one given by SCIPvarGetLbGlobal, since the latter is not updated if bounds of aggregation variables are changing calling this function for a non-multi-aggregated variable results in a call to SCIPvarGetLbGlobal.
Definition at line 6568 of file scip_var.c.
References NULL, SCIP_VARSTATUS_MULTAGGR, SCIPvarGetLbGlobal(), SCIPvarGetMultaggrLbGlobal(), and SCIPvarGetStatus().
Referenced by applyGlobalBounds(), and SCIPtightenVarLbGlobal().
◆ SCIPcomputeVarUbGlobal()for a multi-aggregated variable, returns the global upper bound computed by adding the global bounds from all aggregation variables
This global bound may be tighter than the one given by SCIPvarGetUbGlobal, since the latter is not updated if bounds of aggregation variables are changing calling this function for a non-multi-aggregated variable results in a call to SCIPvarGetUbGlobal.
for a multi-aggregated variable, returns the global upper bound computed by adding the global bounds from all aggregation variables
This global bound may be tighter than the one given by SCIPvarGetUbGlobal, since the latter is not updated if bounds of aggregation variables are changing calling this function for a non-multi-aggregated variable results in a call to SCIPvarGetUbGlobal
Definition at line 6589 of file scip_var.c.
References NULL, SCIP_VARSTATUS_MULTAGGR, SCIPvarGetMultaggrUbGlobal(), SCIPvarGetStatus(), and SCIPvarGetUbGlobal().
Referenced by applyGlobalBounds(), and SCIPtightenVarUbGlobal().
◆ SCIPcomputeVarLbLocal()for a multi-aggregated variable, returns the local lower bound computed by adding the local bounds from all aggregation variables
This local bound may be tighter than the one given by SCIPvarGetLbLocal, since the latter is not updated if bounds of aggregation variables are changing calling this function for a non-multi-aggregated variable results in a call to SCIPvarGetLbLocal.
Definition at line 6610 of file scip_var.c.
References NULL, SCIP_VARSTATUS_MULTAGGR, SCIPvarGetLbLocal(), SCIPvarGetMultaggrLbLocal(), and SCIPvarGetStatus().
Referenced by checkSystemGF2(), createNAryBranch(), isLiteralSatisfied(), isLiteralViolated(), registerBranchingCandidates(), SCIPinferVarLbCons(), SCIPinferVarLbProp(), SCIPtightenVarLb(), SCIPtightenVarUb(), and updateBestCandidate().
◆ SCIPcomputeVarUbLocal()for a multi-aggregated variable, returns the local upper bound computed by adding the local bounds from all aggregation variables
This local bound may be tighter than the one given by SCIPvarGetUbLocal, since the latter is not updated if bounds of aggregation variables are changing calling this function for a non-multi-aggregated variable results in a call to SCIPvarGetUbLocal.
Definition at line 6631 of file scip_var.c.
References NULL, SCIP_VARSTATUS_MULTAGGR, SCIPvarGetMultaggrUbLocal(), SCIPvarGetStatus(), and SCIPvarGetUbLocal().
Referenced by checkSystemGF2(), createNAryBranch(), isLiteralSatisfied(), isLiteralViolated(), registerBranchingCandidates(), SCIPinferVarUbCons(), SCIPinferVarUbProp(), SCIPtightenVarLb(), SCIPtightenVarUb(), and updateBestCandidate().
◆ SCIPgetVarMultaggrLbGlobal()for a multi-aggregated variable, gives the global lower bound computed by adding the global bounds from all aggregation variables, this global bound may be tighter than the one given by SCIPvarGetLbGlobal, since the latter is not updated if bounds of aggregation variables are changing
calling this function for a non-multi-aggregated variable is not allowed
Definition at line 6651 of file scip_var.c.
References SCIP_VARSTATUS_MULTAGGR, SCIPvarGetMultaggrLbGlobal(), and SCIPvarGetStatus().
◆ SCIPgetVarMultaggrUbGlobal()for a multi-aggregated variable, gives the global upper bound computed by adding the global bounds from all aggregation variables, this upper bound may be tighter than the one given by SCIPvarGetUbGlobal, since the latter is not updated if bounds of aggregation variables are changing
calling this function for a non-multi-aggregated variable is not allowed
Definition at line 6666 of file scip_var.c.
References SCIP_VARSTATUS_MULTAGGR, SCIPvarGetMultaggrUbGlobal(), and SCIPvarGetStatus().
◆ SCIPgetVarMultaggrLbLocal()for a multi-aggregated variable, gives the local lower bound computed by adding the local bounds from all aggregation variables, this lower bound may be tighter than the one given by SCIPvarGetLbLocal, since the latter is not updated if bounds of aggregation variables are changing
calling this function for a non-multi-aggregated variable is not allowed
Definition at line 6681 of file scip_var.c.
References SCIP_VARSTATUS_MULTAGGR, SCIPvarGetMultaggrLbLocal(), and SCIPvarGetStatus().
◆ SCIPgetVarMultaggrUbLocal()for a multi-aggregated variable, gives the local upper bound computed by adding the local bounds from all aggregation variables, this upper bound may be tighter than the one given by SCIPvarGetUbLocal, since the latter is not updated if bounds of aggregation variables are changing
calling this function for a non-multi-aggregated variable is not allowed
Definition at line 6696 of file scip_var.c.
References SCIP_VARSTATUS_MULTAGGR, SCIPvarGetMultaggrUbLocal(), and SCIPvarGetStatus().
◆ SCIPgetVarClosestVlb()returns solution value and index of variable lower bound that is closest to the variable's value in the given primal solution or current LP solution if no primal solution is given; returns an index of -1 if no variable lower bound is available
scip
is in stage SCIP_STAGE_SOLVING
Definition at line 6714 of file scip_var.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarGetClosestVlb(), and TRUE.
Referenced by findBestLb(), separateCuts(), setupAggregationData(), and transformNonIntegralRow().
◆ SCIPgetVarClosestVub()returns solution value and index of variable upper bound that is closest to the variable's value in the given primal solution; or current LP solution if no primal solution is given; returns an index of -1 if no variable upper bound is available
scip
is in stage SCIP_STAGE_SOLVING
Definition at line 6737 of file scip_var.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarGetClosestVub(), and TRUE.
Referenced by findBestUb(), separateCuts(), setupAggregationData(), and transformNonIntegralRow().
◆ SCIPaddVarVlb()informs variable x about a globally valid variable lower bound x >= b*z + d with integer variable z; if z is binary, the corresponding valid implication for z is also added; if z is non-continuous and 1/b not too small, the corresponding valid upper/lower bound z <= (x-d)/b or z >= (x-d)/b (depending on the sign of of b) is added, too; improves the global bounds of the variable and the vlb variable if possible
scip
is in one of the following stages:
Definition at line 6766 of file scip_var.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIP_VARTYPE_CONTINUOUS, SCIPcheckStage(), SCIPisZero(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarGetType(), and TRUE.
Referenced by SCIP_DECL_CONSPRESOL(), SCIPanalyzeDeductionsProbing(), and strengthenVarbounds().
◆ SCIPaddVarVub()informs variable x about a globally valid variable upper bound x <= b*z + d with integer variable z; if z is binary, the corresponding valid implication for z is also added; if z is non-continuous and 1/b not too small, the corresponding valid lower/upper bound z >= (x-d)/b or z <= (x-d)/b (depending on the sign of of b) is added, too; improves the global bounds of the variable and the vlb variable if possible
scip
is in one of the following stages:
Definition at line 6825 of file scip_var.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIP_VARTYPE_CONTINUOUS, SCIPcheckStage(), SCIPisZero(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarGetType(), and TRUE.
Referenced by SCIP_DECL_CONSPRESOL(), and SCIPanalyzeDeductionsProbing().
◆ SCIPaddVarImplication()informs binary variable x about a globally valid implication: x == 0 or x == 1 ==> y <= b or y >= b; also adds the corresponding implication or variable bound to the implied variable; if the implication is conflicting, the variable is fixed to the opposite value; if the variable is already fixed to the given value, the implication is performed immediately; if the implication is redundant with respect to the variables' global bounds, it is ignored
scip
is in one of the following stages:
Definition at line 6885 of file scip_var.c.
References FALSE, NULL, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_Real, SCIP_VARTYPE_BINARY, SCIPaddClique(), SCIPcheckStage(), SCIPerrorMessage, SCIPisFeasEQ(), SCIPisFeasZero(), SCIPisInfinity(), SCIPvarAddImplic(), SCIPvarAddVlb(), SCIPvarAddVub(), SCIPvarGetLbGlobal(), SCIPvarGetProbvar(), SCIPvarGetType(), SCIPvarGetUbGlobal(), SCIPvarIsActive(), SCIPvarIsBinary(), and TRUE.
Referenced by addCliques(), extractCliques(), preprocessConstraintPairs(), SCIP_DECL_CONSPRESOL(), SCIPanalyzeDeductionsProbing(), and SCIPcopyImplicationsCliques().
◆ SCIPaddClique()adds a clique information to SCIP, stating that at most one of the given binary variables can be set to 1; if a variable appears twice in the same clique, the corresponding implications are performed
scip
is in one of the following stages:
Definition at line 7026 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPcliquetableAdd(), and TRUE.
Referenced by addCliques(), addNegatedCliques(), applyBinaryConstraints(), extractCliques(), fixDeleteOrUpgradeCons(), greedyCliqueAlgorithm(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSPRESOL(), SCIPaddVarImplication(), and SCIPcopyImplicationsCliques().
◆ SCIPcalcCliquePartition() SCIP_RETCODE SCIPcalcCliquePartition ( SCIP *const scip, SCIP_VAR **const vars, int const nvars, int *const cliquepartition, int *const ncliques )calculates a partition of the given set of binary variables into cliques; takes into account independent clique components
The algorithm performs the following steps:
afterwards the output array contains one value for each variable, such that two variables got the same value iff they were assigned to the same clique; the first variable is always assigned to clique 0, and a variable can only be assigned to clique i if at least one of the preceding variables was assigned to clique i-1; for each clique at most 1 variables can be set to TRUE in a feasible solution;
scip
is in one of the following stages:
Definition at line 7361 of file scip_var.c.
References calcCliquePartitionGreedy(), FALSE, labelSortStable(), MAXNCLIQUEVARSCOMP, NULL, relabelOrderConsistent(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPblkmem(), SCIPcheckStage(), SCIPcliquetableComputeCliqueComponents(), SCIPcliquetableGetVarComponentIdx(), SCIPcliquetableNeedsComponentUpdate(), SCIPgetNCliques(), SCIPgetVarsData(), SCIPsetAllocBufferArray, SCIPsetDuplicateBufferArray, SCIPsetFreeBufferArray, SCIPvarIsActive(), SCIPvarsGetProbvarBinary(), and TRUE.
Referenced by calcCliquepartition(), deleteRedundantVars(), preprocessCliques(), SCIPcalcNegatedCliquePartition(), and tightenWeights().
◆ SCIPcalcNegatedCliquePartition() SCIP_RETCODE SCIPcalcNegatedCliquePartition ( SCIP *const scip, SCIP_VAR **const vars, int const nvars, int *const cliquepartition, int *const ncliques )calculates a partition of the given set of binary variables into negated cliques; afterwards the output array contains one value for each variable, such that two variables got the same value iff they were assigned to the same negated clique; the first variable is always assigned to clique 0 and a variable can only be assigned to clique i if at least one of the preceding variables was assigned to clique i-1; for each clique with n_c variables at least n_c-1 variables can be set to TRUE in a feasible solution;
scip
is in one of the following stages:
Definition at line 7580 of file scip_var.c.
References NULL, SCIP_CALL, SCIP_OKAY, SCIPcalcCliquePartition(), SCIPgetNegatedVar(), SCIPsetAllocBufferArray, and SCIPsetFreeBufferArray.
Referenced by calcCliquepartition().
◆ SCIPcleanupCliques()force SCIP to clean up all cliques; cliques do not get automatically cleaned up after presolving. Use this method to prevent inactive variables in cliques when retrieved via SCIPgetCliques()
scip
is in one of the following stages:
Definition at line 7637 of file scip_var.c.
References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_CALL_ABORT, SCIP_OKAY, SCIP_STATUS_INFEASIBLE, SCIPcheckStage(), SCIPcliquetableCleanup(), and TRUE.
Referenced by SCIP_DECL_PROPPRESOL(), SCIPshrinkDisjunctiveVarSet(), separateCuts(), and shortenConss().
◆ SCIPgetNCliques() int SCIPgetNCliques ( SCIP * scip )gets the number of cliques in the clique table
scip
is in one of the following stages:
gets the number of cliques in the clique table
scip
is in one of the following stages:
Definition at line 7680 of file scip_var.c.
References FALSE, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPcliquetableGetNCliques(), and TRUE.
Referenced by applyCliqueFixings(), calcCliquepartition(), createConflictGraphSST(), propdataInit(), removeConstraintsDueToNegCliques(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PROPPRESOL(), SCIPcalcCliquePartition(), SCIPcopyImplicationsCliques(), SCIPwriteCliqueGraph(), separateCuts(), separateOddCycles(), shortenConss(), tcliquegraphConstructCliqueTable(), and topologicalSort().
◆ SCIPgetNCliquesCreated() int SCIPgetNCliquesCreated ( SCIP * scip ) ◆ SCIPgetCliques() ◆ SCIPhaveVarsCommonClique()returns whether there is a clique that contains both given variable/value pairs; the variables must be active binary variables; if regardimplics is FALSE, only the cliques in the clique table are looked at; if regardimplics is TRUE, both the cliques and the implications of the implication graph are regarded
scip
is in one of the following stages:
Definition at line 7764 of file scip_var.c.
References FALSE, NULL, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPcliquetableGetNCliques(), SCIPvarGetNCliques(), SCIPvarIsActive(), SCIPvarIsBinary(), SCIPvarsHaveCommonClique(), and TRUE.
Referenced by liftCliqueVariables().
◆ SCIPwriteCliqueGraph()writes the clique graph to a gml file
scip
is in one of the following stages:
If writenodeweights
is true, only nodes corresponding to variables that have a fractional value and only edges between such nodes are written.
Definition at line 7815 of file scip_var.c.
References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_CALL_ABORT, SCIP_CALL_FINALLY, SCIP_INVALIDDATA, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPABORT, SCIPblkmem(), SCIPcheckStage(), SCIPcliqueGetNVars(), SCIPcliqueGetValues(), SCIPcliqueGetVars(), SCIPerrorMessage, SCIPgetCliques(), SCIPgetNCliques(), SCIPgetSolVal(), SCIPgetVarsData(), SCIPgmlWriteArc(), SCIPgmlWriteClosing(), SCIPgmlWriteNode(), SCIPgmlWriteNodeWeight(), SCIPgmlWriteOpening(), SCIPhashmapCreate(), SCIPhashmapExists(), SCIPhashmapFree(), SCIPhashmapInsertInt(), SCIPisFeasIntegral(), SCIPsnprintf(), SCIPvarGetName(), SCIPvarGetProbindex(), and TRUE.
Referenced by SCIP_DECL_DIALOGEXEC(), and separateGLS().
◆ SCIPremoveVarFromGlobalStructures()Removes (irrelevant) variable from all its global structures, i.e. cliques, implications and variable bounds. This is an advanced method which should be used with care.
scip
is in one of the following stages:
Definition at line 7964 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_CALL_ABORT, SCIP_OKAY, SCIPblkmem(), SCIPcheckStage(), SCIPvarMarkDeleteGlobalStructures(), SCIPvarRemoveCliquesImplicsVbs(), and TRUE.
Referenced by checkLocksAndRes().
◆ SCIPchgVarBranchFactor() ◆ SCIPscaleVarBranchFactor() ◆ SCIPaddVarBranchFactor() ◆ SCIPchgVarBranchPriority()sets the branch priority of the variable; variables with higher branch priority are always preferred to variables with lower priority in selection of branching variable
scip
is in one of the following stages:
Definition at line 8085 of file scip_var.c.
References FALSE, NULL, SCIP_Var::scip, SCIP_CALL, SCIP_OKAY, SCIPbranchcandUpdateVarBranchPriority(), SCIPcheckStage(), SCIPisTransformed(), SCIPvarChgBranchPriority(), and TRUE.
Referenced by createAndAddAndCons(), SCIP_DECL_DIALOGEXEC(), SCIPtransformMinUC(), and setObjective().
◆ SCIPupdateVarBranchPriority() ◆ SCIPaddVarBranchPriority() ◆ SCIPchgVarBranchDirection()sets the branch direction of the variable (-1: prefer downwards branch, 0: automatic selection, +1: prefer upwards branch)
scip
is in one of the following stages:
Definition at line 8190 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarChgBranchDirection(), and TRUE.
Referenced by SCIP_DECL_DIALOGEXEC().
◆ SCIPchgVarType()changes type of variable in the problem;
scip
is in one of the following stages:
Definition at line 8281 of file scip_var.c.
References FALSE, NULL, SCIP_Var::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIPcheckStage(), SCIPchgVarType(), SCIPdebugMsg, SCIPerrorMessage, SCIPgetStage(), SCIPgetTransformedVar(), SCIPprobChgVarType(), SCIPvarChgType(), SCIPvarGetName(), SCIPvarGetNegationVar(), SCIPvarGetProbindex(), SCIPvarGetType(), SCIPvarIsNegated(), SCIPvarIsTransformed(), tightenBounds(), and TRUE.
Referenced by convertLongEquality(), createIndicatorConstraint(), createSubSCIP(), dualPresolve(), fullDualPresolve(), presolveImplint(), presolveSingleLockedVars(), readBinaries(), readBounds(), readGenerals(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_RELAXEXEC(), SCIPaddVarIndicator(), SCIPbendersChgMastervarsToCont(), SCIPchgVarLb(), SCIPchgVarLbGlobal(), SCIPchgVarType(), SCIPchgVarUb(), SCIPchgVarUbGlobal(), SCIPcreateConsAnd(), SCIPcreateConsIndicatorGeneric(), SCIPcreateConsIndicatorGenericLinConsPure(), SCIPinferVarLbCons(), SCIPinferVarLbProp(), SCIPinferVarUbCons(), SCIPinferVarUbProp(), SCIPtightenVarLb(), SCIPtightenVarLbGlobal(), SCIPtightenVarUb(), SCIPtightenVarUbGlobal(), setupAndSolveFiniteSolSubscip(), and setupAndSolveSubscipRapidlearning().
◆ SCIPfixVar()in problem creation and solving stage, both bounds of the variable are set to the given value; in presolving stage, the variable is converted into a fixed variable, and bounds are changed respectively; conversion into a fixed variable changes the vars array returned from SCIPgetVars() and SCIPgetVarsData(), and also renders arrays returned from the SCIPvarGetImpl...() methods invalid
scip
is in one of the following stages:
Definition at line 8381 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_STAGE_PRESOLVING, SCIP_STAGE_PROBLEM, SCIP_STAGE_SOLVING, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_ORIGINAL, SCIPcheckStage(), SCIPchgVarLb(), SCIPchgVarUb(), SCIPerrorMessage, SCIPsetIsFeasEQ(), SCIPsetIsFeasGT(), SCIPsetIsFeasIntegral(), SCIPsetIsFeasLT(), SCIPtreeGetCurrentDepth(), SCIPvarFix(), SCIPvarGetLbLocal(), SCIPvarGetStatus(), SCIPvarGetUbLocal(), SCIPvarIsIntegral(), and TRUE.
Referenced by aggregateVariables(), analyseVarOnoffBounds(), applyAlternativeBoundsFixing(), applyFixings(), applyFixingsAndAggregations(), applyProbing(), checkForOverlapping(), checkVariable(), cliquePresolve(), consdataLinearize(), convertUnaryEquality(), copyVars(), detectRedundantConstraints(), dualPresolve(), dualPresolving(), enforceSol(), fixAdditionalVars(), fixDeleteOrUpgradeCons(), fixIntegerVariable(), fixIntegerVariableLb(), fixIntegerVariableUb(), fixTriangle(), fixVariables(), fixVariableZero(), liftCliqueVariables(), main(), mergeMultiples(), performDualfix(), prepareCons(), preprocessConstraintPairs(), presolRoundCardinality(), presolRoundConsSOS1(), presolRoundIndicator(), presolRoundSOS2(), presolRoundVarsSOS1(), presolStuffing(), presolveConsEst(), presolveConsLct(), presolveCumulativeCondition(), presolvePropagateCons(), processNlRow(), propagateCons(), readSol(), removeDoubleAndSingletonsAndPerformDualpresolve(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_NLHDLRENFO(), SCIP_DECL_PRESOLEXEC(), SCIPanalyzeDeductionsProbing(), SCIPselectVarPseudoStrongBranching(), setupAndSolveFiniteSolSubscip(), setupProblem(), shortenConss(), solveAndEvalSubscip(), solveIndependentCons(), solveSubproblem(), tryFixVar(), tryUpgradingLogicor(), tryUpgradingSetppc(), and upgradeCons().
◆ SCIPaggregateVars()From a given equality a*x + b*y == c, aggregates one of the variables and removes it from the set of active problem variables. This changes the vars array returned from SCIPgetVars() and SCIPgetVarsData(), and also renders the arrays returned from the SCIPvarGetImpl...() methods for the two variables invalid. In the first step, the equality is transformed into an equality with active problem variables a'*x' + b'*y' == c'. If x' == y', this leads to the detection of redundancy if a' == -b' and c' == 0, of infeasibility, if a' == -b' and c' != 0, or to a variable fixing x' == c'/(a'+b') (and possible infeasibility) otherwise. In the second step, the variable to be aggregated is chosen among x' and y', prefering a less strict variable type as aggregation variable (i.e. continuous variables are preferred over implicit integers, implicit integers over integers, and integers over binaries). If none of the variables is continuous, it is tried to find an integer aggregation (i.e. integral coefficients a'' and b'', such that a''*x' + b''*y' == c''). This can lead to the detection of infeasibility (e.g. if c'' is fractional), or to a rejection of the aggregation (denoted by aggregated == FALSE), if the resulting integer coefficients are too large and thus numerically instable.
The output flags have the following meaning:
scip
is in stage SCIP_STAGE_PRESOLVING
Definition at line 8494 of file scip_var.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIP_Real, SCIP_VARSTATUS_MULTAGGR, SCIPcheckStage(), SCIPerrorMessage, SCIPsetIsZero(), SCIPtreeGetCurrentDepth(), SCIPtreeProbing(), SCIPvarFix(), SCIPvarGetProbvarSum(), SCIPvarGetStatus(), SCIPvarTryAggregateVars(), and TRUE.
Referenced by addExtendedAsymmetricFormulation(), addExtendedFlowFormulation(), aggregateVariables(), applyFixings(), applyFixingsAndAggregations(), cliquePresolve(), convertBinaryEquality(), convertLongEquality(), detectRedundantConstraints(), dualPresolve(), dualPresolving(), findAggregation(), performAggregations(), preprocessConstraintPairs(), presolvePropagateCons(), removeDoubleAndSingletonsAndPerformDualpresolve(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PRESOLEXEC(), SCIPanalyzeDeductionsProbing(), and upgradeConss().
◆ SCIPmultiaggregateVar()converts variable into multi-aggregated variable; this changes the variable array returned from SCIPgetVars() and SCIPgetVarsData();
The output flags have the following meaning:
scip
is in stage SCIP_STAGE_PRESOLVING
Definition at line 8628 of file scip_var.c.
References FALSE, scalars, SCIP_Var::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPcheckStage(), SCIPerrorMessage, SCIPtreeGetCurrentDepth(), SCIPtreeProbing(), SCIPvarMultiaggregate(), and TRUE.
Referenced by aggregation(), convertLongEquality(), dualPresolve(), multiAggregateBinvar(), and SCIP_DECL_PRESOLEXEC().
◆ SCIPdoNotAggr() ◆ SCIPdoNotMultaggr() ◆ SCIPdoNotAggrVar() ◆ SCIPdoNotMultaggrVar() ◆ SCIPallowDualReds() ◆ SCIPallowStrongDualReds()returns whether strong dual reductions are allowed during propagation and presolving
Definition at line 8722 of file scip_var.c.
References NULL.
Referenced by enforceIndicators(), presolveCons(), propagateFullOrbitopeCons(), propagatePackingPartitioningCons(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPROP(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPEXEC(), SCIP_DECL_PROPPRESOL(), SCIPorbitopalReductionPropagate(), setupAndSolveSubscipRapidlearning(), and tryAddSymmetryHandlingMethods().
◆ SCIPallowObjProp() ◆ SCIPallowWeakDualReds()returns whether weak dual reductions are allowed during propagation and presolving
Definition at line 8749 of file scip_var.c.
References NULL.
Referenced by SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPROP(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPEXEC(), SCIP_DECL_PROPPRESOL(), and tryAddSymmetryHandlingMethods().
◆ SCIPmarkDoNotAggrVar() ◆ SCIPmarkDoNotMultaggrVar()marks the variable that it must not be multi-aggregated
scip
is in one of the following stages:
Definition at line 8808 of file scip_var.c.
References FALSE, NULL, SCIP_Var::scip, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarMarkDoNotMultaggr(), and TRUE.
Referenced by addComponent(), addOrbitope(), consdataCreate(), createConstraints(), forbidNonlinearVariablesMultiaggration(), handleNewVariableCardinality(), handleNewVariableSOS1(), lexdataCreate(), SCIP_DECL_CONSTRANS(), SCIPcreateConsIndicatorGeneric(), SCIPcreateConsIndicatorGenericLinCons(), SCIPcreateConsIndicatorGenericLinConsPure(), SCIPcreateConsSOS1(), and SCIPcreateSchedulingProblem().
◆ SCIPenableVarHistory() void SCIPenableVarHistory ( SCIP * scip ) ◆ SCIPdisableVarHistory() void SCIPdisableVarHistory ( SCIP * scip ) ◆ SCIPupdateVarPseudocost()updates the pseudo costs of the given variable and the global pseudo costs after a change of "solvaldelta" in the variable's solution value and resulting change of "objdelta" in the in the LP's objective value; the update is ignored, if the objective value difference is infinite
scip
is in one of the following stages:
Definition at line 8873 of file scip_var.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPsetIsInfinity(), SCIPtreeProbing(), SCIPvarUpdatePseudocost(), and TRUE.
Referenced by executeBranchingRecursive(), runVanillaStrongBranching(), SCIP_DECL_HEUREXEC(), SCIPperformGenericDivingAlgorithm(), SCIPselectVarPseudoStrongBranching(), SCIPselectVarStrongBranching(), and SCIPupdateVarPseudocostSymmetric().
◆ SCIPgetVarPseudocostVal()gets the variable's pseudo cost value for the given change of the variable's LP value
scip
is in one of the following stages:
Definition at line 8907 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPvarGetPseudocost(), and TRUE.
Referenced by calcPscostQuot(), calculateScoreFromPseudocosts(), execRelpscost(), getVariablePscostScore(), SCIP_DECL_DIVESETGETSCORE(), scoreBranchingCandidates(), selectVarMultAggrBranching(), and updateBestCandidate().
◆ SCIPgetVarPseudocostValCurrentRun() ◆ SCIPgetVarPseudocost() ◆ SCIPgetVarPseudocostCurrentRun()gets the variable's pseudo cost value for the given direction, only using the pseudo cost information of the current run
scip
is in one of the following stages:
Definition at line 8989 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPvarGetPseudocostCurrentRun(), and TRUE.
Referenced by execRelpscost().
◆ SCIPgetVarPseudocostCount() ◆ SCIPgetVarPseudocostCountCurrentRun()gets the variable's (possible fractional) number of pseudo cost updates for the given direction, only using the pseudo cost information of the current run
scip
is in one of the following stages:
Definition at line 9043 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPvarGetPseudocostCountCurrentRun(), and TRUE.
Referenced by execRelpscost(), isCandidateReliable(), and scoreBranchingCandidates().
◆ SCIPgetVarPseudocostVariance() ◆ SCIPcalculatePscostConfidenceBound()calculates a confidence bound for this variable under the assumption of normally distributed pseudo costs
The confidence bound \( \theta \geq 0\) denotes the interval borders \( [X - \theta, \ X + \theta]\), which contains the true pseudo costs of the variable, i.e., the expected value of the normal distribution, with a probability of 2 * clevel - 1.
Definition at line 9091 of file scip_var.c.
References FALSE, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPvarCalcPscostConfidenceBound(), and TRUE.
◆ SCIPsignificantVarPscostDifference()check if variable pseudo-costs have a significant difference in location. The significance depends on the choice of clevel
and on the kind of tested hypothesis. The one-sided hypothesis, which should be rejected, is that fracy * mu_y >= fracx * mu_x, where mu_y and mu_x denote the unknown location means of the underlying pseudo-cost distributions of x and y.
This method is applied best if variable x has a better pseudo-cost score than y. The method hypothesizes that y were actually better than x (despite the current information), meaning that y can be expected to yield branching decisions as least as good as x in the long run. If the method returns TRUE, the current history information is sufficient to safely rely on the alternative hypothesis that x yields indeed a better branching score (on average) than y.
onesided
to FALSE if you are not sure which variable is better. The hypothesis tested then reads fracy * mu_y == fracx * mu_x vs the alternative hypothesis fracy * mu_y != fracx * mu_x.
Definition at line 9122 of file scip_var.c.
References FALSE, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPvarSignificantPscostDifference(), and TRUE.
Referenced by execRelpscost().
◆ SCIPpscostThresholdProbabilityTest()tests at a given confidence level whether the variable pseudo-costs only have a small probability to exceed a threshold
. This is useful to determine if past observations provide enough evidence to skip an expensive strong-branching step if there is already a candidate that has been proven to yield an improvement of at least threshold
.
clevel
to adjust the level of confidence. For SCIP_CONFIDENCELEVEL_MIN, the method returns TRUE if the estimated probability to exceed threshold
is less than 25 %.
threshold
at the given confidence level clevel
.
Definition at line 9152 of file scip_var.c.
References FALSE, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPvarPscostThresholdProbabilityTest(), and TRUE.
Referenced by execRelpscost().
◆ SCIPisVarPscostRelerrorReliable()check if the current pseudo cost relative error in a direction violates the given threshold. The Relative Error is calculated at a specific confidence level
threshold
Definition at line 9171 of file scip_var.c.
References FALSE, SCIP_CALL_ABORT, SCIPcheckStage(), SCIPvarIsPscostRelerrorReliable(), and TRUE.
Referenced by execRelpscost().
◆ SCIPgetVarPseudocostScore()gets the variable's pseudo cost score value for the given LP solution value
scip
is in one of the following stages:
Definition at line 9196 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_CALL_ABORT, SCIP_Real, SCIPbranchGetScore(), SCIPcheckStage(), SCIPsetFeasCeil(), SCIPsetFeasFloor(), SCIPvarGetPseudocost(), and TRUE.
Referenced by execRelpscost(), SCIP_DECL_BRANCHEXECLP(), and scoring().
◆ SCIPgetVarPseudocostScoreCurrentRun()gets the variable's pseudo cost score value for the given LP solution value, only using the pseudo cost information of the current run
scip
is in one of the following stages:
Definition at line 9234 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_CALL_ABORT, SCIP_Real, SCIPbranchGetScore(), SCIPcheckStage(), SCIPsetFeasCeil(), SCIPsetFeasFloor(), SCIPvarGetPseudocostCurrentRun(), and TRUE.
Referenced by execRelpscost().
◆ SCIPgetVarVSIDS()returns the variable's VSIDS value
scip
is in one of the following stages:
Definition at line 9270 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL_ABORT, SCIP_INVALID, SCIPcheckStage(), SCIPerrorMessage, SCIPvarGetVSIDS(), and TRUE.
Referenced by setupAndSolveSubscipRapidlearning().
◆ SCIPgetVarVSIDSCurrentRun()returns the variable's VSIDS value only using conflicts of the current run
scip
is in one of the following stages:
Definition at line 9302 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL_ABORT, SCIP_INVALID, SCIPcheckStage(), SCIPerrorMessage, SCIPvarGetVSIDSCurrentRun(), and TRUE.
◆ SCIPgetVarConflictScore()returns the variable's conflict score value
scip
is in one of the following stages:
Definition at line 9334 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL_ABORT, SCIP_Real, SCIPbranchGetScore(), SCIPcheckStage(), SCIPvarGetVSIDS(), and TRUE.
Referenced by computeFixingOrder(), execRelpscost(), getAggrScore(), performBranchingNoSol(), and performBranchingSol().
◆ SCIPgetVarConflictScoreCurrentRun() ◆ SCIPgetVarConflictlengthScore() ◆ SCIPgetVarConflictlengthScoreCurrentRun() ◆ SCIPgetVarAvgConflictlength() ◆ SCIPgetVarAvgConflictlengthCurrentRun() ◆ SCIPgetVarAvgInferences() ◆ SCIPgetVarAvgInferencesCurrentRun() ◆ SCIPgetVarAvgInferenceScore()returns the variable's average inference score value
scip
is in one of the following stages:
Definition at line 9566 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL_ABORT, SCIP_Real, SCIPbranchGetScore(), SCIPcheckStage(), SCIPvarGetAvgInferences(), and TRUE.
Referenced by execRelpscost(), fixVariable(), performBranchingNoSol(), performBranchingSol(), and SCIP_DECL_HEUREXEC().
◆ SCIPgetVarAvgInferenceScoreCurrentRun() ◆ SCIPinitVarBranchStats() SCIP_RETCODE SCIPinitVarBranchStats ( SCIP * scip, SCIP_VAR * var, SCIP_Real downpscost, SCIP_Real uppscost, SCIP_Real downvsids, SCIP_Real upvsids, SCIP_Real downconflen, SCIP_Real upconflen, SCIP_Real downinfer, SCIP_Real upinfer, SCIP_Real downcutoff, SCIP_Real upcutoff )initializes the upwards and downwards pseudocosts, conflict scores, conflict lengths, inference scores, cutoff scores of a variable to the given values
scip
is in one of the following stages:
Definition at line 9630 of file scip_var.c.
References FALSE, NULL, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL, SCIP_OKAY, SCIP_UNKNOWN, SCIPcheckStage(), SCIPisFeasZero(), SCIPvarIncCutoffSum(), SCIPvarIncInferenceSum(), SCIPvarIncNActiveConflicts(), SCIPvarIncNBranchings(), SCIPvarIncVSIDS(), SCIPvarUpdatePseudocost(), and TRUE.
Referenced by setupAndSolveSubscipRapidlearning().
◆ SCIPinitVarValueBranchStats() SCIP_RETCODE SCIPinitVarValueBranchStats ( SCIP * scip, SCIP_VAR * var, SCIP_Real value, SCIP_Real downvsids, SCIP_Real upvsids, SCIP_Real downconflen, SCIP_Real upconflen, SCIP_Real downinfer, SCIP_Real upinfer, SCIP_Real downcutoff, SCIP_Real upcutoff )initializes the upwards and downwards conflict scores, conflict lengths, inference scores, cutoff scores of a variable w.r.t. a value by the given values (SCIP_VALUEHISTORY)
scip
is in one of the following stages:
Definition at line 9701 of file scip_var.c.
References FALSE, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL, SCIP_OKAY, SCIPblkmem(), SCIPcheckStage(), SCIPisFeasZero(), SCIPvarIncCutoffSum(), SCIPvarIncInferenceSum(), SCIPvarIncNActiveConflicts(), SCIPvarIncNBranchings(), SCIPvarIncVSIDS(), and TRUE.
◆ SCIPgetVarAvgCutoffs() ◆ SCIPgetVarAvgCutoffsCurrentRun() ◆ SCIPgetVarAvgCutoffScore() ◆ SCIPgetVarAvgCutoffScoreCurrentRun()returns the variable's average cutoff score value, only using cutoffs of the current run
scip
is in one of the following stages:
Definition at line 9851 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL_ABORT, SCIP_Real, SCIPbranchGetScore(), SCIPcheckStage(), SCIPvarGetAvgCutoffsCurrentRun(), and TRUE.
◆ SCIPgetVarAvgInferenceCutoffScore()returns the variable's average inference/cutoff score value, weighting the cutoffs of the variable with the given factor
scip
is in one of the following stages:
Definition at line 9883 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL_ABORT, SCIP_Real, SCIPbranchGetScore(), SCIPcheckStage(), SCIPhistoryGetAvgInferences(), SCIPvarGetAvgCutoffs(), SCIPvarGetAvgInferences(), and TRUE.
Referenced by computeFixingOrder(), getAggrScore(), performBranchingNoSol(), and performBranchingSol().
◆ SCIPgetVarAvgInferenceCutoffScoreCurrentRun()returns the variable's average inference/cutoff score value, weighting the cutoffs of the variable with the given factor, only using inferences and cutoffs of the current run
scip
is in one of the following stages:
Definition at line 9927 of file scip_var.c.
References FALSE, SCIP_Var::scip, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL_ABORT, SCIP_Real, SCIPbranchGetScore(), SCIPcheckStage(), SCIPhistoryGetAvgInferences(), SCIPvarGetAvgCutoffsCurrentRun(), SCIPvarGetAvgInferencesCurrentRun(), and TRUE.
◆ SCIPgetVarAvgGMIScore() ◆ SCIPincVarGMISumScore() ◆ SCIPgetVarLastGMIScore() ◆ SCIPsetVarLastGMIScore() ◆ SCIPprintVar()outputs variable information to file stream via the message system
scip
is in one of the following stages:
Definition at line 10087 of file scip_var.c.
References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPvarPrint(), and TRUE.
Referenced by checkBounddisjunction(), checkKnapsack(), computeAndConstraintInfos(), consdataCheck(), createVariable(), doPricing(), getFixedVariable(), getVariable(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_READERWRITE(), and SCIPcreateVarBinpacking().
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4