cons_or.c File Reference Detailed DescriptionConstraint handler for "or" constraints, . This constraint handler deals with "or" constraint. These are constraint of the form:
where is a binary variable for all . Hence, is also of binary type. The variable is called resultant and the 's operators. Definition in file cons_or.c. #include <assert.h> #include <string.h> #include "scip/cons_or.h" #include "scip/cons_and.h" #include "scip/pub_misc.h" Go to the source code of this file.
Macro Definition Documentation
Definition at line 43 of file cons_or.c. Referenced by SCIP_DECL_CONSHDLRCOPY(), SCIPcreateConsOr(), SCIPgetNVarsOr(), SCIPgetResultantOr(), SCIPgetVarsOr(), and SCIPincludeConshdlrOr().
Definition at line 44 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
priority of the constraint handler for separation Definition at line 45 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
priority of the constraint handler for constraint enforcing Definition at line 46 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
priority of the constraint handler for checking feasibility Definition at line 47 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
frequency for separating cuts; zero means to separate only in the root node Definition at line 48 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
frequency for propagating domains; zero means only preprocessing propagation Definition at line 49 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
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 50 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
maximal number of presolving rounds the constraint handler participates in (-1: no limit) Definition at line 53 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
should separation method be delayed, if other separators found cuts? Definition at line 54 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
should propagation method be delayed, if other propagators found reductions? Definition at line 55 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
should the constraint handler be skipped, if no constraints are available? Definition at line 56 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
propagation timing mask of the constraint handler Definition at line 58 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
presolving timing of the constraint handler (fast, medium, or exhaustive) Definition at line 59 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
Definition at line 61 of file cons_or.c. Referenced by SCIPincludeConshdlrOr().
Definition at line 62 of file cons_or.c. Referenced by SCIPincludeConshdlrOr(). Typedef DocumentationEnumeration Type Documentation
Function Documentation
installs rounding locks for the given variable in the given or constraint
Definition at line 116 of file cons_or.c. References SCIP_CALL, SCIP_OKAY, SCIPlockVarCons(), TRUE, and unlockRounding(). Referenced by addCoef().
removes rounding locks for the given variable in the given or constraint
Definition at line 130 of file cons_or.c. References conshdlrdataCreate(), SCIP_CALL, SCIP_OKAY, SCIPunlockVarCons(), and TRUE. Referenced by delCoefPos(), and lockRounding().
creates constraint handler data
Definition at line 144 of file cons_or.c. References conshdlrdataFree(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPallocMemory. Referenced by SCIPincludeConshdlrOr(), and unlockRounding().
frees constraint handler data
Definition at line 164 of file cons_or.c. References consdataGetNRows(), NULL, SCIP_OKAY, and SCIPfreeMemory. Referenced by conshdlrdataCreate(), and SCIP_DECL_CONSFREE().
gets number of LP rows needed for the LP relaxation of the constraint
Definition at line 179 of file cons_or.c. References consdataCatchWatchedEvents(), and NULL. Referenced by addRelaxation(), checkCons(), consdataFreeRows(), conshdlrdataFree(), createRelaxation(), and separateCons().
catches events for the watched variable at given position
Definition at line 190 of file cons_or.c. References consdataDropWatchedEvents(), NULL, SCIP_CALL, SCIP_EVENTTYPE_LBRELAXED, SCIP_EVENTTYPE_UBTIGHTENED, SCIP_OKAY, and SCIPcatchVarEvent(). Referenced by consdataGetNRows(), and consdataSwitchWatchedvars().
drops events for the watched variable at given position
Definition at line 214 of file cons_or.c. References consdataCatchEvents(), NULL, SCIP_CALL, SCIP_EVENTTYPE_LBRELAXED, SCIP_EVENTTYPE_UBTIGHTENED, SCIP_OKAY, and SCIPdropVarEvent(). Referenced by consdataCatchWatchedEvents(), and consdataSwitchWatchedvars().
catches needed events on all variables of constraint, except the special ones for watched variables
Definition at line 237 of file cons_or.c. References consdataDropEvents(), NULL, SCIP_CALL, SCIP_EVENTTYPE_BOUNDCHANGED, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_EVENTTYPE_UBRELAXED, SCIP_OKAY, and SCIPcatchVarEvent(). Referenced by consdataCreate(), and consdataDropWatchedEvents().
drops events on all variables of constraint, except the special ones for watched variables
Definition at line 263 of file cons_or.c. References consdataSwitchWatchedvars(), NULL, SCIP_CALL, SCIP_EVENTTYPE_BOUNDCHANGED, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_EVENTTYPE_UBRELAXED, SCIP_OKAY, and SCIPdropVarEvent(). Referenced by consdataCatchEvents(), and consdataFree().
stores the given variable numbers as watched variables, and updates the event processing
Definition at line 289 of file cons_or.c. References consdataCatchWatchedEvents(), consdataDropWatchedEvents(), consdataEnsureVarsSize(), NULL, SCIP_CALL, and SCIP_OKAY. Referenced by consdataDropEvents(), consdataFree(), delCoefPos(), and propagateCons().
ensures, that the vars array can store at least num entries
Definition at line 349 of file cons_or.c. References consdataCreate(), NULL, SCIP_CALL, SCIP_OKAY, SCIPcalcMemGrowSize(), and SCIPreallocBlockMemoryArray. Referenced by addCoef(), and consdataSwitchWatchedvars().
creates constraint data for or constraint
Definition at line 373 of file cons_or.c. References consdataCatchEvents(), consdataFreeRows(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemory, SCIPduplicateBlockMemoryArray, SCIPgetTransformedVar(), SCIPgetTransformedVars(), and SCIPisTransformed(). Referenced by consdataEnsureVarsSize(), SCIP_DECL_CONSTRANS(), and SCIPcreateConsOr().
releases LP rows of constraint data and frees rows array
Definition at line 417 of file cons_or.c. References consdataFree(), consdataGetNRows(), NULL, SCIP_CALL, SCIP_OKAY, SCIPfreeBlockMemoryArray, and SCIPreleaseRow(). Referenced by consdataCreate(), consdataFree(), and SCIP_DECL_CONSEXITSOL().
frees constraint data for or constraint
Definition at line 444 of file cons_or.c. References consdataDropEvents(), consdataFreeRows(), consdataPrint(), consdataSwitchWatchedvars(), NULL, SCIP_CALL, SCIP_OKAY, SCIPfreeBlockMemory, SCIPfreeBlockMemoryArray, and SCIPisTransformed(). Referenced by consdataFreeRows(), and SCIP_DECL_CONSDELETE().
prints or constraint to file stream
Definition at line 478 of file cons_or.c. References addCoef(), NULL, SCIP_CALL, SCIP_OKAY, SCIPinfoMessage(), SCIPwriteVarName(), SCIPwriteVarsList(), and TRUE. Referenced by applyFixings(), consdataFree(), and SCIP_DECL_CONSPRINT().
adds coefficient in or constraint
Definition at line 503 of file cons_or.c. References consdataEnsureVarsSize(), delCoefPos(), lockRounding(), NULL, SCIP_Bool, SCIP_CALL, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_EVENTTYPE_UBRELAXED, SCIP_INVALIDCALL, SCIP_OKAY, SCIPcatchVarEvent(), SCIPconsGetData(), SCIPconsIsTransformed(), SCIPerrorMessage, SCIPgetTransformedVar(), and SCIPvarIsTransformed(). Referenced by applyFixings(), and consdataPrint().
deletes coefficient at given position from or constraint data
Definition at line 557 of file cons_or.c. References applyFixings(), consdataSwitchWatchedvars(), FALSE, NULL, SCIP_CALL, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_EVENTTYPE_UBRELAXED, SCIP_OKAY, SCIPconsGetData(), SCIPconsIsTransformed(), SCIPdropVarEvent(), SCIPvarIsTransformed(), and unlockRounding(). Referenced by addCoef(), and applyFixings().
deletes all zero-fixed variables
Definition at line 615 of file cons_or.c. References addCoef(), consdataPrint(), createRelaxation(), delCoefPos(), NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPconsGetData(), SCIPdebug, SCIPdebugMessage, SCIPdebugPrintf, SCIPgetBinvarRepresentative(), SCIPisFeasEQ(), SCIPvarGetLbGlobal(), SCIPvarGetUbGlobal(), and SCIPvarIsBinary(). Referenced by delCoefPos(), and SCIP_DECL_CONSPRESOL().
creates LP rows corresponding to or constraint:
Definition at line 674 of file cons_or.c. References addRelaxation(), consdataGetNRows(), NULL, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPaddVarsToRowSameCoef(), SCIPaddVarToRow(), SCIPallocBlockMemoryArray, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconsGetName(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsRemovable(), SCIPcreateEmptyRowCons(), SCIPinfinity(), and SCIPsnprintf(). Referenced by addRelaxation(), applyFixings(), and separateCons().
adds linear relaxation of or constraint to the LP
Definition at line 717 of file cons_or.c. References checkCons(), consdataGetNRows(), createRelaxation(), FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPaddCut(), SCIPconsGetData(), and SCIProwIsInLP(). Referenced by createRelaxation(), and SCIP_DECL_CONSINITLP().
checks or constraint for feasibility of given solution: returns TRUE iff constraint is feasible
Definition at line 752 of file cons_or.c. References consdataGetNRows(), FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPconsGetData(), SCIPgetSolVal(), SCIPincConsAge(), SCIPinfoMessage(), SCIPisFeasIntegral(), SCIPprintCons(), SCIPresetConsAge(), SCIProwIsInLP(), SCIPvarGetName(), separateCons(), and TRUE. Referenced by addRelaxation(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSENFOLP(), and SCIP_DECL_CONSENFOPS().
separates current LP solution
Definition at line 851 of file cons_or.c. References analyzeConflictZero(), consdataGetNRows(), createRelaxation(), FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPaddCut(), SCIPconsGetData(), SCIPgetRowSolFeasibility(), SCIPisFeasNegative(), SCIProwIsInLP(), and TRUE. Referenced by checkCons(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSSEPALP(), and SCIP_DECL_CONSSEPASOL().
analyzes conflicting FALSE assignment to resultant of given constraint, and adds conflict constraint to problem
Definition at line 901 of file cons_or.c. References analyzeConflictOne(), NULL, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_SOLVING, SCIPaddConflictBinvar(), SCIPanalyzeConflictCons(), SCIPconsGetData(), SCIPgetStage(), SCIPinitConflictAnalysis(), SCIPinProbing(), SCIPisConflictAnalysisApplicable(), SCIPvarGetLbLocal(), and SCIPvarGetUbLocal(). Referenced by propagateCons(), and separateCons().
analyzes conflicting TRUE assignment to resultant of given constraint, and adds conflict constraint to problem
Definition at line 932 of file cons_or.c. References NULL, propagateCons(), SCIP_CALL, SCIP_OKAY, SCIP_STAGE_SOLVING, SCIPaddConflictBinvar(), SCIPanalyzeConflictCons(), SCIPconsGetData(), SCIPconsIsModifiable(), SCIPgetStage(), SCIPinitConflictAnalysis(), SCIPinProbing(), SCIPisConflictAnalysisApplicable(), SCIPvarGetLbLocal(), and SCIPvarGetUbLocal(). Referenced by analyzeConflictZero(), and propagateCons().
propagates constraint with the following rules: (1) v_i = TRUE => r = TRUE (2) r = FALSE => v_i = FALSE for all i (3) v_i = FALSE for all i => r = FALSE (4) r = TRUE, v_i = FALSE for all i except j => v_j = TRUE
Definition at line 972 of file cons_or.c. References analyzeConflictOne(), analyzeConflictZero(), consdataSwitchWatchedvars(), FALSE, NULL, PROPRULE_1, PROPRULE_2, PROPRULE_3, PROPRULE_4, resolvePropagation(), SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPconsGetData(), SCIPconsGetName(), SCIPconsIsModifiable(), SCIPdebugMessage, SCIPdelConsLocal(), SCIPincConsAge(), SCIPinferBinvarCons(), SCIPinRepropagation(), SCIPisFeasEQ(), SCIPresetConsAge(), SCIPvarGetLbLocal(), SCIPvarGetName(), SCIPvarGetUbLocal(), and TRUE. Referenced by analyzeConflictOne(), SCIP_DECL_CONSPRESOL(), and SCIP_DECL_CONSPROP().
resolves a conflict on the given variable by supplying the variables needed for applying the corresponding propagation rule (see propagateCons()): (1) v_i = TRUE => r = TRUE (2) r = FALSE => v_i = FALSE for all i (3) v_i = FALSE for all i => r = FALSE (4) r = TRUE, v_i = FALSE for all i except j => v_j = TRUE
Definition at line 1211 of file cons_or.c. References FALSE, NULL, PROPRULE_1, PROPRULE_2, PROPRULE_3, PROPRULE_4, PROPRULE_INVALID, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_SUCCESS, SCIPaddConflictBinvar(), SCIPconsGetData(), SCIPconsGetName(), SCIPerrorMessage, SCIPvarGetLbAtIndex(), SCIPvarGetUbAtIndex(), TRUE, and upgradeCons(). Referenced by propagateCons(), and SCIP_DECL_CONSRESPROP().
upgrades unmodifiable or constraint into an and constraint on negated variables
Definition at line 1297 of file cons_or.c. References NULL, SCIP_CALL, SCIP_DECL_CONSHDLRCOPY(), SCIP_OKAY, SCIPaddCons(), SCIPallocBufferArray, SCIPconsGetData(), SCIPconsGetName(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), SCIPcreateConsAnd(), SCIPdebugMessage, SCIPdelCons(), SCIPfreeBufferArray, SCIPgetNegatedVar(), and SCIPreleaseCons(). Referenced by resolvePropagation(), and SCIP_DECL_CONSPRESOL().
copy method for constraint handler plugins (called when SCIP copies plugins) Definition at line 1355 of file cons_or.c. References CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_DECL_CONSFREE(), SCIP_OKAY, SCIPconshdlrGetName(), SCIPincludeConshdlrOr(), and TRUE. Referenced by upgradeCons().
destructor of constraint handler to free constraint handler data (called when SCIP is exiting) Definition at line 1371 of file cons_or.c. References conshdlrdataFree(), NULL, SCIP_CALL, SCIP_DECL_CONSEXITSOL(), SCIP_OKAY, SCIPconshdlrGetData(), and SCIPconshdlrSetData(). Referenced by SCIP_DECL_CONSHDLRCOPY().
solving process deinitialization method of constraint handler (called before branch and bound process data is freed) Definition at line 1389 of file cons_or.c. References consdataFreeRows(), SCIP_CALL, SCIP_DECL_CONSDELETE(), SCIP_OKAY, and SCIPconsGetData(). Referenced by SCIP_DECL_CONSFREE().
frees specific constraint data Definition at line 1407 of file cons_or.c. References consdataFree(), NULL, SCIP_CALL, SCIP_DECL_CONSTRANS(), SCIP_OKAY, and SCIPconshdlrGetData(). Referenced by SCIP_DECL_CONSEXITSOL().
transforms constraint data into data belonging to the transformed problem Definition at line 1422 of file cons_or.c. References consdataCreate(), NULL, SCIP_CALL, SCIP_DECL_CONSINITLP(), SCIP_OKAY, SCIPconsGetData(), SCIPconsGetName(), SCIPconshdlrGetData(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), and SCIPcreateCons(). Referenced by SCIP_DECL_CONSDELETE().
LP initialization method of constraint handler (called before the initial LP relaxation at a node is solved) Definition at line 1451 of file cons_or.c. References addRelaxation(), SCIP_CALL, SCIP_DECL_CONSSEPALP(), SCIP_OKAY, and SCIPconsIsInitial(). Referenced by SCIP_DECL_CONSTRANS().
separation method of constraint handler for LP solutions Definition at line 1467 of file cons_or.c. References NULL, SCIP_Bool, SCIP_CALL, SCIP_DECL_CONSSEPASOL(), SCIP_DIDNOTFIND, SCIP_OKAY, SCIP_SEPARATED, and separateCons(). Referenced by SCIP_DECL_CONSINITLP().
separation method of constraint handler for arbitrary primal solutions Definition at line 1491 of file cons_or.c. References SCIP_Bool, SCIP_CALL, SCIP_DECL_CONSENFOLP(), SCIP_DIDNOTFIND, SCIP_OKAY, SCIP_SEPARATED, and separateCons(). Referenced by SCIP_DECL_CONSSEPALP().
constraint enforcing method of constraint handler for LP solutions Definition at line 1515 of file cons_or.c. References checkCons(), FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_DECL_CONSENFOPS(), SCIP_FEASIBLE, SCIP_OKAY, SCIP_SEPARATED, and separateCons(). Referenced by SCIP_DECL_CONSSEPASOL().
constraint enforcing method of constraint handler for pseudo solutions Definition at line 1542 of file cons_or.c. References checkCons(), FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_DECL_CONSCHECK(), SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_OKAY, and TRUE. Referenced by SCIP_DECL_CONSENFOLP().
feasibility check method of constraint handler for integral solutions Definition at line 1565 of file cons_or.c. References checkCons(), SCIP_Bool, SCIP_CALL, SCIP_DECL_CONSPROP(), SCIP_FEASIBLE, SCIP_INFEASIBLE, and SCIP_OKAY. Referenced by SCIP_DECL_CONSENFOPS().
domain propagation method of constraint handler Definition at line 1588 of file cons_or.c. References FALSE, NULL, propagateCons(), SCIP_Bool, SCIP_CALL, SCIP_CUTOFF, SCIP_DECL_CONSPRESOL(), SCIP_DIDNOTFIND, SCIP_OKAY, SCIP_REDUCEDDOM, and SCIPconshdlrGetData(). Referenced by SCIP_DECL_CONSCHECK().
presolving method of constraint handler Definition at line 1621 of file cons_or.c. References applyFixings(), FALSE, NULL, propagateCons(), SCIP_Bool, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_CUTOFF, SCIP_DECL_CONSRESPROP(), SCIP_DIDNOTFIND, SCIP_OKAY, SCIP_SUCCESS, SCIPaddVarImplication(), SCIPaggregateVars(), SCIPconsGetData(), SCIPconsGetName(), SCIPconshdlrGetData(), SCIPconsIsActive(), SCIPconsIsDeleted(), SCIPconsIsModifiable(), SCIPdebugMessage, SCIPdelCons(), SCIPdoNotAggr(), SCIPisFeasEQ(), SCIPisStopped(), SCIPvarGetLbGlobal(), SCIPvarGetUbGlobal(), TRUE, and upgradeCons(). Referenced by SCIP_DECL_CONSPROP().
propagation conflict resolving method of constraint handler Definition at line 1741 of file cons_or.c. References resolvePropagation(), SCIP_CALL, SCIP_DECL_CONSLOCK(), and SCIP_OKAY. Referenced by SCIP_DECL_CONSPRESOL().
variable rounding lock method of constraint handler Definition at line 1751 of file cons_or.c. References NULL, SCIP_CALL, SCIP_DECL_CONSPRINT(), SCIP_OKAY, SCIPaddVarLocks(), and SCIPconsGetData(). Referenced by SCIP_DECL_CONSRESPROP().
constraint display method of constraint handler Definition at line 1774 of file cons_or.c. References consdataPrint(), NULL, SCIP_CALL, SCIP_DECL_CONSCOPY(), SCIP_OKAY, and SCIPconsGetData(). Referenced by SCIP_DECL_CONSLOCK().
constraint copying method of constraint handler Definition at line 1788 of file cons_or.c. References NULL, SCIP_CALL, SCIP_DECL_CONSPARSE(), SCIP_OKAY, SCIPallocBufferArray, SCIPconsGetName(), SCIPcreateConsOr(), SCIPfreeBufferArray, SCIPgetNVarsOr(), SCIPgetResultantOr(), SCIPgetVarCopy(), SCIPgetVarsOr(), and TRUE. Referenced by SCIP_DECL_CONSPRINT().
constraint parsing method of constraint handler Definition at line 1838 of file cons_or.c. References FALSE, NULL, SCIP_CALL, SCIP_DECL_CONSGETVARS(), SCIP_OKAY, SCIPallocBufferArray, SCIPcreateConsOr(), SCIPdebugMessage, SCIPduplicateBufferArray, SCIPfreeBufferArray, SCIPparseVarName(), SCIPparseVarsList(), SCIPreallocBufferArray, and SCIPstrtok(). Referenced by SCIP_DECL_CONSCOPY().
constraint method of constraint handler which returns the variables (if possible) Definition at line 1916 of file cons_or.c. References BMScopyMemoryArray, FALSE, NULL, SCIP_DECL_CONSGETNVARS(), SCIP_OKAY, SCIPconsGetData(), and TRUE. Referenced by SCIP_DECL_CONSPARSE().
constraint method of constraint handler which returns the number of variable (if possible) Definition at line 1937 of file cons_or.c. References NULL, SCIP_DECL_EVENTEXEC(), SCIP_OKAY, SCIPconsGetData(), and TRUE. Referenced by SCIP_DECL_CONSGETVARS().
Definition at line 1958 of file cons_or.c. References FALSE, NULL, SCIP_EVENTTYPE_LBTIGHTENED, SCIP_OKAY, SCIPeventGetType(), and SCIPincludeConshdlrOr(). Referenced by SCIP_DECL_CONSGETNVARS().
creates the handler for or constraints and includes it in SCIP
Definition at line 1984 of file cons_or.c. References CONSHDLR_CHECKPRIORITY, CONSHDLR_DELAYPROP, CONSHDLR_DELAYSEPA, CONSHDLR_DESC, CONSHDLR_EAGERFREQ, CONSHDLR_ENFOPRIORITY, CONSHDLR_MAXPREROUNDS, CONSHDLR_NAME, CONSHDLR_NEEDSCONS, CONSHDLR_PRESOLTIMING, CONSHDLR_PROP_TIMING, CONSHDLR_PROPFREQ, CONSHDLR_SEPAFREQ, CONSHDLR_SEPAPRIORITY, conshdlrdataCreate(), EVENTHDLR_DESC, EVENTHDLR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreateConsOr(), SCIPincludeConshdlrBasic(), SCIPincludeEventhdlrBasic(), SCIPsetConshdlrCopy(), SCIPsetConshdlrDelete(), SCIPsetConshdlrExitsol(), SCIPsetConshdlrFree(), SCIPsetConshdlrGetNVars(), SCIPsetConshdlrGetVars(), SCIPsetConshdlrInitlp(), SCIPsetConshdlrParse(), SCIPsetConshdlrPresol(), SCIPsetConshdlrPrint(), SCIPsetConshdlrProp(), SCIPsetConshdlrResprop(), SCIPsetConshdlrSepa(), and SCIPsetConshdlrTrans(). Referenced by SCIP_DECL_CONSHDLRCOPY(), SCIP_DECL_EVENTEXEC(), and SCIPincludeDefaultPlugins().
creates and captures an or constraint
Definition at line 2032 of file cons_or.c. References consdataCreate(), CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPconshdlrGetData(), SCIPcreateCons(), SCIPcreateConsBasicOr(), SCIPerrorMessage, and SCIPfindConshdlr(). Referenced by CREATE_CONSTRAINT(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSPARSE(), SCIPcreateConsBasicOr(), and SCIPincludeConshdlrOr().
creates and captures an or constraint in its most basic variant, i. e., with all constraint flags set to their default values
Definition at line 2094 of file cons_or.c. References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcreateConsOr(), SCIPgetNVarsOr(), and TRUE. Referenced by SCIPcreateConsOr(). gets number of variables in or constraint
Definition at line 2110 of file cons_or.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), SCIPerrorMessage, and SCIPgetVarsOr(). Referenced by SCIP_DECL_CONSCOPY(), and SCIPcreateConsBasicOr(). gets array of variables in or constraint
Definition at line 2131 of file cons_or.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), SCIPerrorMessage, and SCIPgetResultantOr(). Referenced by SCIP_DECL_CONSCOPY(), and SCIPgetNVarsOr(). gets the resultant variable in or constraint
Definition at line 2152 of file cons_or.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by SCIP_DECL_CONSCOPY(), and SCIPgetVarsOr(). |