All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cons_bounddisjunction.c File Reference Detailed Descriptionconstraint handler for bound disjunction constraints Definition in file cons_bounddisjunction.c. #include <assert.h> #include <string.h> #include <limits.h> #include <ctype.h> #include "scip/cons_bounddisjunction.h" #include "scip/cons_quadratic.h" #include "scip/cons_linear.h" #include "scip/cons_logicor.h" #include "scip/cons_setppc.h" #include "scip/pub_misc.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 41 of file cons_bounddisjunction.c. Referenced by createNAryBranch(), enforceCurrentSol(), processWatchedVars(), registerBranchingCandidates(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSDEACTIVE(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSENFOPS(), SCIP_DECL_CONSEXITPRE(), SCIP_DECL_CONSFREE(), SCIP_DECL_CONSHDLRCOPY(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPROP(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_CONSTRANS(), SCIPcreateConsBounddisjunction(), SCIPgetBoundsBounddisjunction(), SCIPgetBoundtypesBounddisjunction(), SCIPgetNVarsBounddisjunction(), SCIPgetVarsBounddisjunction(), and SCIPincludeConshdlrBounddisjunction().
Definition at line 42 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
priority of the constraint handler for constraint enforcing Definition at line 43 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
priority of the constraint handler for checking feasibility Definition at line 44 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
frequency for propagating domains; zero means only preprocessing propagation Definition at line 45 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
frequency for using all instead of only the useful constraints in separation, propagation and enforcement, -1 for no eager evaluations, 0 for first only Definition at line 46 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
maximal number of presolving rounds the constraint handler participates in (-1: no limit) Definition at line 48 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
should propagation method be delayed, if other propagators found reductions? Definition at line 49 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
should presolving method be delayed, if other presolvers found reductions? Definition at line 50 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
should the constraint handler be skipped, if no constraints are available? Definition at line 51 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
Definition at line 53 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
priority of the constraint handler for upgrading of quadratic constraints Definition at line 55 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
Definition at line 64 of file cons_bounddisjunction.c. Referenced by SCIP_DECL_EVENTEXEC(), and SCIPincludeConshdlrBounddisjunction().
Definition at line 65 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
Definition at line 74 of file cons_bounddisjunction.c. Referenced by SCIP_DECL_CONFLICTEXEC(), and SCIPincludeConshdlrBounddisjunction().
Definition at line 75 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
Definition at line 76 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
maximal percantage of continuous variables within a conflict Definition at line 85 of file cons_bounddisjunction.c. Referenced by SCIPincludeConshdlrBounddisjunction().
Definition at line 96 of file cons_bounddisjunction.c. Referenced by processWatchedVars().
Definition at line 116 of file cons_bounddisjunction.c. Referenced by applyGlobalBounds(), createNAryBranch(), isLiteralViolated(), and registerBranchingCandidates().
Definition at line 117 of file cons_bounddisjunction.c. Referenced by applyGlobalBounds(), checkCons(), createNAryBranch(), isLiteralSatisfied(), and removeFixedVariables().
Definition at line 118 of file cons_bounddisjunction.c. Referenced by applyGlobalBounds(), createNAryBranch(), isLiteralViolated(), and registerBranchingCandidates().
Definition at line 119 of file cons_bounddisjunction.c. Referenced by applyGlobalBounds(), checkCons(), createNAryBranch(), isLiteralSatisfied(), and removeFixedVariables(). Function Documentation
adds rounding locks for the given variable in the given bound disjunction constraint
Definition at line 150 of file cons_bounddisjunction.c. References FALSE, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_OKAY, SCIPlockVarCons(), and TRUE. Referenced by addCoef().
removes rounding locks for the given variable in the given bound disjunction constraint
Definition at line 176 of file cons_bounddisjunction.c. References FALSE, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_OKAY, SCIPunlockVarCons(), and TRUE. Referenced by delCoefPos().
catches the events on a single variable of the bound disjunction constraint
Definition at line 202 of file cons_bounddisjunction.c. References NULL, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_EVENTTYPE_LBRELAXED, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_EVENTTYPE_UBRELAXED, SCIP_EVENTTYPE_UBTIGHTENED, SCIP_OKAY, and SCIPcatchVarEvent(). Referenced by SCIP_DECL_CONSACTIVE(), and switchWatchedvars().
drops the events on a single variable of the bound disjunction constraint
Definition at line 230 of file cons_bounddisjunction.c. References NULL, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_EVENTTYPE_LBRELAXED, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_EVENTTYPE_UBRELAXED, SCIP_EVENTTYPE_UBTIGHTENED, SCIP_OKAY, and SCIPdropVarEvent(). Referenced by SCIP_DECL_CONSDEACTIVE(), and switchWatchedvars().
creates constraint handler data for bound disjunction constraint handler
Definition at line 258 of file cons_bounddisjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, and SCIPallocMemory. Referenced by SCIPincludeConshdlrBounddisjunction().
frees constraint handler data for bound disjunction constraint handler
Definition at line 278 of file cons_bounddisjunction.c. References NULL, SCIP_OKAY, and SCIPfreeMemory. Referenced by SCIP_DECL_CONSFREE().
creates a bound disjunction constraint data object
Definition at line 293 of file cons_bounddisjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemory, SCIPduplicateBlockMemoryArray, SCIPgetTransformedVars(), and SCIPisTransformed(). Referenced by SCIP_DECL_CONSTRANS(), and SCIPcreateConsBounddisjunction().
frees a bound disjunction constraint data
Definition at line 341 of file cons_bounddisjunction.c. References NULL, SCIP_OKAY, SCIPfreeBlockMemory, and SCIPfreeBlockMemoryArrayNull. Referenced by SCIP_DECL_CONSDELETE().
prints bound disjunction constraint to file stream
Definition at line 359 of file cons_bounddisjunction.c. References NULL, SCIP_BOUNDTYPE_LOWER, SCIPinfoMessage(), and SCIPvarGetName(). Referenced by applyGlobalBounds(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSDEACTIVE(), and SCIP_DECL_CONSPRINT().
stores the given variable numbers as watched variables, and updates the event processing
Definition at line 388 of file cons_bounddisjunction.c. References catchEvents(), dropEvents(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPconsGetData(). Referenced by addCoef(), delCoefPos(), and processWatchedVars().
deletes coefficient at given position from bound disjunction constraint data
Definition at line 451 of file cons_bounddisjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPconsGetData(), SCIPconsIsTransformed(), SCIPenableConsPropagation(), SCIPvarIsTransformed(), switchWatchedvars(), and unlockRounding(). Referenced by applyGlobalBounds(), and removeFixedVariables().
adds literal to bound disjunction constraint data
Definition at line 504 of file cons_bounddisjunction.c. References lockRounding(), NULL, REALABS, SCIP_CALL, SCIP_OKAY, SCIPcalcMemGrowSize(), SCIPconsGetData(), SCIPconsIsTransformed(), SCIPenableConsPropagation(), SCIPisInfinity(), SCIPreallocBlockMemoryArray, SCIPvarIsTransformed(), and switchWatchedvars(). Referenced by removeFixedVariables().
deletes all variables with global bounds violating the literal, checks for global bounds satisfying the literal
Definition at line 566 of file cons_bounddisjunction.c. References consdataPrint(), delCoefPos(), FALSE, isFeasGE, isFeasGT, isFeasLE, isFeasLT, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPcomputeVarLbGlobal(), SCIPcomputeVarUbGlobal(), SCIPconsGetData(), SCIPdebug, SCIPdebugMessage, and TRUE. Referenced by SCIP_DECL_CONSEXITPRE(), and SCIP_DECL_CONSPRESOL().
returns whether literal at the given position is satisfied in the local bounds
Definition at line 641 of file cons_bounddisjunction.c. References isFeasGE, isFeasLE, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_Real, SCIPcomputeVarLbLocal(), and SCIPcomputeVarUbLocal(). Referenced by createNAryBranch(), processWatchedVars(), registerBranchingCandidates(), removeFixedVariables(), and SCIP_DECL_CONSPRESOL().
returns whether literal at the given position is violated in the local bounds
Definition at line 666 of file cons_bounddisjunction.c. References isFeasGT, isFeasLT, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_Real, SCIPcomputeVarLbLocal(), and SCIPcomputeVarUbLocal(). Referenced by processWatchedVars(), and SCIP_DECL_CONSPRESOL().
replace variables by their representative active (or multi-aggregated) variables
Definition at line 691 of file cons_bounddisjunction.c. References addCoef(), delCoefPos(), isFeasGE, isFeasLE, isLiteralSatisfied(), NULL, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIP_VARSTATUS_FIXED, SCIP_VARSTATUS_MULTAGGR, SCIPconsGetData(), SCIPconsGetName(), SCIPdebugMessage, SCIPvarGetLbGlobal(), SCIPvarGetName(), SCIPvarGetProbvarBound(), SCIPvarGetStatus(), SCIPvarGetUbGlobal(), SCIPvarIsActive(), and TRUE. Referenced by SCIP_DECL_CONSEXITPRE(), and SCIP_DECL_CONSPRESOL().
try to upgrade the bounddisjunction constraint if only binary variables are left, we can upgrade a bounddisjunction to a logicor constraint(, if only two variables are left, this logicor constraint can be formulated as set-packing constraint as well) e.g.: bounddisjunction( x1 >= 1, x2 <= 0; x3 >= 1; x4 <= 0 ) => x1 + ~x2 + x3 + ~x4 >= 1
Definition at line 777 of file cons_bounddisjunction.c. References FALSE, NULL, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_OKAY, SCIPaddCons(), SCIPallocBufferArray, SCIPconsGetData(), SCIPconsGetName(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), SCIPcreateConsLogicor(), SCIPcreateConsSetpack(), SCIPdebugMessage, SCIPdebugPrintCons, SCIPdelCons(), SCIPfreeBufferArray, SCIPgetNegatedVar(), SCIPisFeasGT(), SCIPisFeasLT(), SCIPreleaseCons(), SCIPvarIsBinary(), and TRUE. Referenced by SCIP_DECL_CONSPRESOL().
analyzes conflicting assignment on given constraint, and adds conflict constraint to problem
Definition at line 881 of file cons_bounddisjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_SOLVING, SCIPaddConflictBd(), SCIPanalyzeConflictCons(), SCIPboundtypeOpposite(), SCIPconsGetData(), SCIPgetStage(), SCIPinitConflictAnalysis(), SCIPinProbing(), and SCIPisConflictAnalysisApplicable(). Referenced by processWatchedVars().
disables or deletes the given constraint, depending on the current depth
Definition at line 912 of file cons_bounddisjunction.c. References SCIP_CALL, SCIP_OKAY, SCIPconsGetValidDepth(), SCIPdelCons(), SCIPdisableCons(), and SCIPgetDepth(). Referenced by processWatchedVars().
checks constraint for violation only looking at the watched variables, applies bound changes if possible
Definition at line 933 of file cons_bounddisjunction.c. References AGEINCREASE, analyzeConflict(), CONSHDLR_NAME, disableCons(), FALSE, isLiteralSatisfied(), isLiteralViolated(), NULL, SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL, SCIP_Longint, SCIP_LONGINT_MAX, SCIP_OKAY, SCIP_Real, SCIP_VARSTATUS_MULTAGGR, SCIPaddConsAge(), SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconsGetName(), SCIPconshdlrGetName(), SCIPconsIsModifiable(), SCIPdebugMessage, SCIPdisableConsPropagation(), SCIPgetDepth(), SCIPinferVarLbCons(), SCIPinferVarUbCons(), SCIPresetConsAge(), SCIPvarGetName(), SCIPvarGetNBranchingsCurrentRun(), SCIPvarGetProbvar(), SCIPvarGetStatus(), switchWatchedvars(), and TRUE. Referenced by enforceCurrentSol(), and SCIP_DECL_CONSPROP().
checks constraint for violation, returns TRUE iff constraint is feasible
Definition at line 1185 of file cons_bounddisjunction.c. References FALSE, isFeasGE, isFeasLE, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_OKAY, SCIP_Real, SCIPconsGetData(), SCIPgetSolVal(), and TRUE. Referenced by enforceCurrentSol(), and SCIP_DECL_CONSCHECK().
Definition at line 1234 of file cons_bounddisjunction.c. References CONSHDLR_NAME, FALSE, isFeasGT, isFeasLT, isLiteralSatisfied(), NULL, REALABS, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIP_VARTYPE_CONTINUOUS, SCIPaddExternBranchCand(), SCIPcomputeVarLbLocal(), SCIPcomputeVarUbLocal(), SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), SCIPgetSolVal(), SCIPisFeasEQ(), SCIPisFeasGE(), SCIPisFeasLE(), SCIPisInfinity(), SCIPvarGetType(), and TRUE. Referenced by enforceCurrentSol().
enforces the pseudo or LP solution on the given constraint
Definition at line 1316 of file cons_bounddisjunction.c. References checkCons(), CONSHDLR_NAME, NULL, processWatchedVars(), registerBranchingCandidates(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPconsGetHdlr(), SCIPconsGetName(), SCIPconshdlrGetName(), SCIPconsIsPropagationEnabled(), SCIPdebugMessage, SCIPresetConsAge(), and TRUE. Referenced by SCIP_DECL_CONSENFOLP(), and SCIP_DECL_CONSENFOPS().
enforces a constraint by creating an n-ary branch consisting of a set of child nodes, each enforcing one literal
Definition at line 1372 of file cons_bounddisjunction.c. References CONSHDLR_NAME, isFeasGE, isFeasGT, isFeasLE, isFeasLT, isLiteralSatisfied(), NULL, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_BRANCHDIR_DOWNWARDS, SCIP_BRANCHDIR_UPWARDS, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIP_VARSTATUS_MULTAGGR, SCIPaddConsNode(), SCIPcalcChildEstimate(), SCIPcalcNodeselPriority(), SCIPchgVarLbNode(), SCIPchgVarUbNode(), SCIPcomputeVarLbLocal(), SCIPcomputeVarUbLocal(), SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), SCIPcreateChild(), SCIPcreateConsLinear(), SCIPdebugMessage, SCIPdelConsNode(), SCIPgetSolVal(), SCIPinfinity(), SCIPreleaseCons(), SCIPvarGetName(), SCIPvarGetStatus(), and SCIPvarIsActive(). Referenced by SCIP_DECL_CONSENFOLP(), and SCIP_DECL_CONSENFOPS().
upgrades quadratic complementarity constraints into a bounddisjunction constraint If constraint is of form (x - a) * (y - b) = 0 with x >= a and y >= b for some a and b, then upgrade to bounddisjunction constraint "x <= a or y <= b". If constraint is of form (x - a) * (y - b) >= 0, then upgrade to bounddisjunction constraints "x >= a or y <= b" and "x <= a or y >= b". Definition at line 1502 of file cons_bounddisjunction.c. References SCIP_BilinTerm::coef, SCIP_QuadVarTerm::lincoef, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_Real, SCIPconsGetName(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), SCIPcreateConsBounddisjunction(), SCIPdebugMessage, SCIPdebugPrintCons, SCIPgetBilinTermsQuadratic(), SCIPgetLhsQuadratic(), SCIPgetNBilinTermsQuadratic(), SCIPgetNLinearVarsQuadratic(), SCIPgetNQuadVarTermsQuadratic(), SCIPgetQuadVarTermsQuadratic(), SCIPgetRhsQuadratic(), SCIPinfinity(), SCIPisEQ(), SCIPisGE(), SCIPisInfinity(), SCIPisLE(), SCIPisZero(), SCIPsnprintf(), SCIPvarGetLbGlobal(), SCIPvarGetUbGlobal(), and SCIP_QuadVarTerm::var.
copy method for constraint handler plugins (called when SCIP copies plugins) Definition at line 1903 of file cons_bounddisjunction.c. References CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPconshdlrGetName(), SCIPincludeConshdlrBounddisjunction(), and TRUE.
destructor of constraint handler to free constraint handler data (called when SCIP is exiting) Definition at line 1919 of file cons_bounddisjunction.c. References CONSHDLR_NAME, conshdlrdataFree(), NULL, SCIP_CALL, SCIP_OKAY, SCIPconshdlrGetData(), SCIPconshdlrGetName(), and SCIPconshdlrSetData().
presolving deinitialization method of constraint handler (called after presolving has been finished) Definition at line 1941 of file cons_bounddisjunction.c. References applyGlobalBounds(), CONSHDLR_NAME, NULL, removeFixedVariables(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPconsGetName(), SCIPconshdlrGetData(), SCIPconshdlrGetName(), SCIPconsIsAdded(), SCIPdebugMessage, and SCIPdelCons().
frees specific constraint data Definition at line 1985 of file cons_bounddisjunction.c. References consdataFree(), CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_OKAY, and SCIPconshdlrGetName().
transforms constraint data into data belonging to the transformed problem Definition at line 2001 of file cons_bounddisjunction.c. References consdataCreate(), CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_TRANSFORMING, SCIPconsGetData(), SCIPconsGetName(), SCIPconshdlrGetName(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), SCIPcreateCons(), and SCIPgetStage().
constraint enforcing method of constraint handler for LP solutions Definition at line 2034 of file cons_bounddisjunction.c. References CONSHDLR_NAME, createNAryBranch(), enforceCurrentSol(), FALSE, NULL, SCIP_Bool, SCIP_BRANCHED, SCIP_CALL, SCIP_CUTOFF, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_OKAY, SCIP_REDUCEDDOM, SCIPconsGetData(), SCIPconshdlrGetData(), SCIPconshdlrGetName(), and SCIPdebugMessage.
constraint enforcing method of constraint handler for pseudo solutions Definition at line 2106 of file cons_bounddisjunction.c. References CONSHDLR_NAME, createNAryBranch(), enforceCurrentSol(), FALSE, NULL, SCIP_Bool, SCIP_BRANCHED, SCIP_CALL, SCIP_CUTOFF, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_OKAY, SCIP_REDUCEDDOM, SCIPconsGetData(), SCIPconshdlrGetData(), SCIPconshdlrGetName(), and SCIPdebugMessage.
feasibility check method of constraint handler for integral solutions Definition at line 2169 of file cons_bounddisjunction.c. References checkCons(), CONSHDLR_NAME, NULL, SCIP_Bool, SCIP_CALL, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_OKAY, SCIPconsGetData(), SCIPconshdlrGetName(), SCIPgetSolVal(), SCIPinfoMessage(), SCIPprintCons(), and SCIPvarGetName().
domain propagation method of constraint handler Definition at line 2223 of file cons_bounddisjunction.c. References CONSHDLR_NAME, FALSE, NULL, processWatchedVars(), SCIP_Bool, SCIP_CALL, SCIP_CUTOFF, SCIP_DIDNOTFIND, SCIP_OKAY, SCIP_REDUCEDDOM, SCIPconshdlrGetData(), and SCIPconshdlrGetName().
presolving method of constraint handler Definition at line 2267 of file cons_bounddisjunction.c. References applyGlobalBounds(), CONSHDLR_NAME, isLiteralSatisfied(), isLiteralViolated(), NULL, removeFixedVariables(), SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_CUTOFF, SCIP_DIDNOTFIND, SCIP_OKAY, SCIP_Real, SCIP_SUCCESS, SCIP_VARSTATUS_MULTAGGR, SCIPaddCons(), SCIPconsGetData(), SCIPconsGetName(), SCIPconshdlrGetData(), SCIPconshdlrGetName(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), SCIPcreateConsLinear(), SCIPdebugMessage, SCIPdelCons(), SCIPenableConsPropagation(), SCIPinfinity(), SCIPisStopped(), SCIPreleaseCons(), SCIPtightenVarLb(), SCIPtightenVarUb(), SCIPvarGetStatus(), SCIPvarIsActive(), TRUE, and upgradeCons().
propagation conflict resolving method of constraint handler Definition at line 2415 of file cons_bounddisjunction.c. References CONSHDLR_NAME, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIP_SUCCESS, SCIP_VARSTATUS_MULTAGGR, SCIPaddConflictBd(), SCIPboundtypeOpposite(), SCIPconsGetData(), SCIPconshdlrGetName(), SCIPdebugMessage, SCIPisFeasGE(), SCIPisFeasLE(), SCIPisGT(), SCIPisLT(), SCIPvarGetLbAtIndex(), SCIPvarGetStatus(), SCIPvarGetUbAtIndex(), and TRUE.
variable rounding lock method of constraint handler Definition at line 2483 of file cons_bounddisjunction.c. References NULL, SCIP_BOUNDTYPE_LOWER, SCIP_CALL, SCIP_OKAY, SCIPaddVarLocks(), and SCIPconsGetData().
constraint activation notification method of constraint handler Definition at line 2510 of file cons_bounddisjunction.c. References catchEvents(), consdataPrint(), CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPconsGetData(), SCIPconsGetName(), SCIPconshdlrGetData(), SCIPconshdlrGetName(), SCIPconsIsTransformed(), SCIPdebug, SCIPdebugMessage, and TRUE.
constraint deactivation notification method of constraint handler Definition at line 2547 of file cons_bounddisjunction.c. References consdataPrint(), CONSHDLR_NAME, dropEvents(), NULL, SCIP_CALL, SCIP_OKAY, SCIPconsGetData(), SCIPconsGetName(), SCIPconshdlrGetData(), SCIPconshdlrGetName(), SCIPconsIsTransformed(), SCIPdebug, SCIPdebugMessage, and TRUE.
constraint display method of constraint handler Definition at line 2584 of file cons_bounddisjunction.c. References consdataPrint(), FALSE, NULL, SCIP_OKAY, and SCIPconsGetData().
constraint copying method of constraint handler Definition at line 2598 of file cons_bounddisjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPallocBufferArray, SCIPconsGetName(), SCIPcreateConsBounddisjunction(), SCIPfreeBufferArray, SCIPgetBoundsBounddisjunction(), SCIPgetBoundtypesBounddisjunction(), SCIPgetNVarsBounddisjunction(), SCIPgetVarCopy(), SCIPgetVarsBounddisjunction(), and TRUE.
constraint parsing method of constraint handler Definition at line 2640 of file cons_bounddisjunction.c. References FALSE, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIP_VERBLEVEL_MINIMAL, SCIPallocBufferArray, SCIPcreateConsBounddisjunction(), SCIPdebugMessage, SCIPfreeBufferArray, SCIPparseVarName(), SCIPreallocBufferArray, SCIPstrToRealValue(), SCIPvarGetName(), SCIPverbMessage(), and TRUE.
constraint method of constraint handler which returns the variables (if possible) Definition at line 2773 of file cons_bounddisjunction.c. References BMScopyMemoryArray, FALSE, NULL, SCIP_OKAY, SCIPconsGetData(), and TRUE.
constraint method of constraint handler which returns the number of variables (if possible) Definition at line 2797 of file cons_bounddisjunction.c. References NULL, SCIP_OKAY, SCIPconsGetData(), and TRUE.
Definition at line 2819 of file cons_bounddisjunction.c. References EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_EVENTTYPE_BOUNDRELAXED, SCIP_EVENTTYPE_BOUNDTIGHTENED, SCIP_OKAY, SCIPenableCons(), SCIPenableConsPropagation(), SCIPeventGetType(), and SCIPeventhdlrGetName().
conflict processing method of conflict handler (called when conflict was found) Definition at line 2855 of file cons_bounddisjunction.c. References CONFLICTHDLR_NAME, FALSE, NULL, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_CONSADDED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_Real, SCIPaddConsNode(), SCIPallocBufferArray, SCIPbdchginfoGetBoundtype(), SCIPbdchginfoGetNewbound(), SCIPbdchginfoGetVar(), SCIPboundtypeOpposite(), SCIPconflicthdlrGetData(), SCIPconflicthdlrGetName(), SCIPcreateConsBounddisjunction(), SCIPfreeBufferArray, SCIPgetNConflictConssApplied(), SCIPgetNRuns(), SCIPisFeasEQ(), SCIPisGE(), SCIPisIntegral(), SCIPisLE(), SCIPreleaseCons(), SCIPsnprintf(), SCIPvarGetLbGlobal(), SCIPvarGetUbGlobal(), SCIPvarIsIntegral(), and TRUE.
free method of conflict handler Definition at line 2940 of file cons_bounddisjunction.c. References NULL, SCIP_OKAY, SCIPconflicthdlrGetData(), and SCIPfreeMemory.
creates the handler for bound disjunction constraints and includes it in SCIP
Definition at line 2964 of file cons_bounddisjunction.c. References CONFLICTHDLR_DESC, CONFLICTHDLR_NAME, CONFLICTHDLR_PRIORITY, CONSHDLR_CHECKPRIORITY, CONSHDLR_DELAYPRESOL, CONSHDLR_DELAYPROP, CONSHDLR_DESC, CONSHDLR_EAGERFREQ, CONSHDLR_ENFOPRIORITY, CONSHDLR_MAXPREROUNDS, CONSHDLR_NAME, CONSHDLR_NEEDSCONS, CONSHDLR_PROP_TIMING, CONSHDLR_PROPFREQ, conshdlrdataCreate(), DEFAULT_CONTINUOUSFRAC, EVENTHDLR_DESC, EVENTHDLR_NAME, FALSE, NULL, QUADCONSUPGD_PRIORITY, SCIP_CALL, SCIP_OKAY, SCIPaddRealParam(), SCIPallocMemory, SCIPfindConshdlr(), SCIPincludeConflicthdlrBasic(), SCIPincludeConshdlrBasic(), SCIPincludeEventhdlrBasic(), SCIPincludeQuadconsUpgrade(), SCIPsetConflicthdlrFree(), SCIPsetConshdlrActive(), SCIPsetConshdlrCopy(), SCIPsetConshdlrDeactive(), SCIPsetConshdlrDelete(), SCIPsetConshdlrExitpre(), SCIPsetConshdlrFree(), SCIPsetConshdlrGetNVars(), SCIPsetConshdlrGetVars(), SCIPsetConshdlrParse(), SCIPsetConshdlrPresol(), SCIPsetConshdlrPrint(), SCIPsetConshdlrProp(), SCIPsetConshdlrResprop(), SCIPsetConshdlrTrans(), and TRUE. Referenced by SCIP_DECL_CONSHDLRCOPY(), and SCIPincludeDefaultPlugins().
creates and captures a bound disjunction constraint
Definition at line 3035 of file cons_bounddisjunction.c. References consdataCreate(), CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPcreateCons(), SCIPerrorMessage, and SCIPfindConshdlr(). Referenced by adjustOversizedJobBounds(), createConflict(), CUTOFF_CONSTRAINT(), forbidFixation(), readBounds(), readSemicontinuous(), readVariables(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSPARSE(), SCIP_DECL_QUADCONSUPGD(), and SCIPcreateConsBasicBounddisjunction().
creates and captures an and constraint in its most basic version, i. e., all constraint flags are set to their basic value as explained for the method SCIPcreateConsBounddisjunction(); all flags can be set via SCIPsetConsFLAGNAME-methods in scip.h
Definition at line 3099 of file cons_bounddisjunction.c. References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreateConsBounddisjunction(), and TRUE. gets number of variables in bound disjunction constraint
Definition at line 3118 of file cons_bounddisjunction.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by checkBounddisjunction(), createCoveringProblem(), and SCIP_DECL_CONSCOPY(). gets array of variables in bound disjunction constraint
Definition at line 3139 of file cons_bounddisjunction.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by checkBounddisjunction(), createCoveringProblem(), and SCIP_DECL_CONSCOPY().
gets array of bound types in bound disjunction constraint
Definition at line 3160 of file cons_bounddisjunction.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by checkBounddisjunction(), and SCIP_DECL_CONSCOPY(). gets array of bounds in bound disjunction constraint
Definition at line 3181 of file cons_bounddisjunction.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by checkBounddisjunction(), and SCIP_DECL_CONSCOPY(). |