All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Detailed Descriptionconstraint handler for disjunction constraints Definition in file cons_disjunction.c. Go to the source code of this file.
Macro Definition Documentation
Definition at line 32 of file cons_disjunction.c. Referenced by SCIP_DECL_CONSFREE(), SCIP_DECL_CONSHDLRCOPY(), SCIPaddConsElemDisjunction(), SCIPcreateConsDisjunction(), and SCIPincludeConshdlrDisjunction().
Definition at line 33 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
priority of the constraint handler for constraint enforcing Definition at line 34 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
priority of the constraint handler for checking feasibility Definition at line 35 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
frequency for propagating domains; zero means only preprocessing propagation Definition at line 36 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
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 37 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
maximal number of presolving rounds the constraint handler participates in (-1: no limit) Definition at line 39 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
should propagation method be delayed, if other propagators found reductions? Definition at line 41 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
should presolving method be delayed, if other presolvers found reductions? Definition at line 42 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
should the constraint handler be skipped, if no constraints are available? Definition at line 43 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
Definition at line 45 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
alawys perform branching if one of the constraints is violated, otherwise only if all integers are fixed Definition at line 48 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction(). Function Documentation
creates disjunction constraint data, captures initial constraints of disjunction
Definition at line 77 of file cons_disjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemory, SCIPcaptureCons(), SCIPduplicateBlockMemoryArray, SCIPisTransformed(), SCIPtransformCons(), and SCIPtransformConss(). Referenced by SCIP_DECL_CONSTRANS(), and SCIPcreateConsDisjunction().
frees constraint data and releases all constraints in disjunction
Definition at line 140 of file cons_disjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPfreeBlockMemory, SCIPfreeBlockMemoryArrayNull, and SCIPreleaseCons(). Referenced by SCIP_DECL_CONSDELETE().
adds constraint to disjunction
Definition at line 172 of file cons_disjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPcaptureCons(), SCIPensureBlockMemoryArray, SCIPisTransformed(), and SCIPtransformCons(). Referenced by SCIPaddConsElemDisjunction().
branches on disjunctive constraint
Definition at line 206 of file cons_disjunction.c. References NULL, SCIP_BRANCHED, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPaddConsNode(), SCIPconsGetData(), SCIPconsGetName(), SCIPconsIsChecked(), SCIPconsIsModifiable(), SCIPcreateChild(), SCIPdebugMessage, SCIPdelConsNode(), SCIPgetLocalTransEstimate(), SCIPresetConsAge(), SCIPsetConsChecked(), and TRUE. Referenced by enforceIndicators(), enforceSOS1(), enforceSOS2(), SCIP_DECL_CONSENFOLP(), and SCIP_DECL_CONSENFOPS().
checks disjunction constraints if at least one is feasible
Definition at line 267 of file cons_disjunction.c. References FALSE, NULL, SCIP_CALL, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_OKAY, SCIPcheckCons(), SCIPconsGetData(), SCIPconsGetName(), SCIPdebug, SCIPinfoMessage(), and SCIPprintCons(). Referenced by SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSENFOLP(), and SCIP_DECL_CONSENFOPS().
propagation method for disjunction constraint
Definition at line 313 of file cons_disjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PRESOLVING, SCIPconsGetData(), SCIPconsIsActive(), SCIPconsIsChecked(), SCIPconsIsDeleted(), SCIPdelCons(), SCIPdelConsLocal(), SCIPgetNNodes(), SCIPgetStage(), SCIPsetConsChecked(), and TRUE. Referenced by SCIP_DECL_CONSPRESOL(), and SCIP_DECL_CONSPROP().
copy method for constraint handler plugins (called when SCIP copies plugins) Definition at line 380 of file cons_disjunction.c. References CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_OKAY, SCIPconshdlrGetName(), SCIPincludeConshdlrDisjunction(), and TRUE.
destructor of constraint handler to free constraint handler data (called when SCIP is exiting) Definition at line 396 of file cons_disjunction.c. References CONSHDLR_NAME, NULL, SCIP_OKAY, SCIPconshdlrGetData(), SCIPconshdlrGetName(), SCIPconshdlrSetData(), and SCIPfreeMemory.
frees specific constraint data Definition at line 417 of file cons_disjunction.c. References consdataFree(), SCIP_CALL, and SCIP_OKAY.
transforms constraint data into data belonging to the transformed problem Definition at line 427 of file cons_disjunction.c. References consdataCreate(), NULL, SCIP_CALL, SCIP_OKAY, SCIPconsGetData(), SCIPconsGetName(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), and SCIPcreateCons().
LP initialization method of constraint handler Definition at line 450 of file cons_disjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPaddConsLocal(), SCIPconsGetData(), and SCIPconsIsActive().
constraint enforcing method of constraint handler for LP solutions Definition at line 473 of file cons_disjunction.c. References branch(), branchCons(), checkCons(), FALSE, NULL, SCIP_Bool, SCIP_BRANCHED, SCIP_CALL, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_OKAY, SCIPconshdlrGetData(), and SCIPgetNPseudoBranchCands().
constraint enforcing method of constraint handler for pseudo solutions Definition at line 503 of file cons_disjunction.c. References branch(), branchCons(), checkCons(), FALSE, NULL, SCIP_Bool, SCIP_BRANCHED, SCIP_CALL, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_OKAY, SCIPconshdlrGetData(), and SCIPgetNPseudoBranchCands().
feasibility check method of constraint handler for integral solutions Definition at line 533 of file cons_disjunction.c. References checkCons(), SCIP_CALL, SCIP_FEASIBLE, SCIP_INFEASIBLE, and SCIP_OKAY.
domain propagation method of constraint handler Definition at line 552 of file cons_disjunction.c. References propagateCons(), SCIP_CALL, SCIP_DIDNOTFIND, SCIP_OKAY, SCIP_REDUCEDDOM, and SCIPinProbing().
presolving method of constraint handler Definition at line 581 of file cons_disjunction.c. References NULL, propagateCons(), SCIP_CALL, SCIP_DIDNOTFIND, SCIP_OKAY, SCIP_SUCCESS, SCIPaddCons(), SCIPconsGetData(), SCIPconsIsActive(), SCIPconsIsChecked(), SCIPconsIsModifiable(), SCIPdelCons(), SCIPsetConsChecked(), and TRUE.
variable rounding lock method of constraint handler Definition at line 635 of file cons_disjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPaddConsLocks(), and SCIPconsGetData().
constraint display method of constraint handler Definition at line 655 of file cons_disjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPconsGetData(), SCIPinfoMessage(), and SCIPprintCons().
constraint parsing method of constraint handler Definition at line 690 of file cons_disjunction.c. References FALSE, NULL, SCIP_Bool, SCIP_CALL, SCIP_OKAY, SCIPallocBufferArray, SCIPcalcMemGrowSize(), SCIPcreateConsDisjunction(), SCIPdebugMessage, SCIPduplicateBufferArray, SCIPfreeBufferArray, SCIPparseCons(), SCIPreallocBufferArray, SCIPreleaseCons(), and TRUE.
constraint copying method of constraint handler Definition at line 898 of file cons_disjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBufferArray, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconsGetName(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), SCIPcreateConsDisjunction(), SCIPfreeBufferArray, SCIPgetConsCopy(), SCIPreleaseCons(), and TRUE.
creates the handler for disjunction constraints and includes it in SCIP
Definition at line 973 of file cons_disjunction.c. References CONSHDLR_CHECKPRIORITY, CONSHDLR_DELAYPRESOL, CONSHDLR_DELAYPROP, CONSHDLR_DESC, CONSHDLR_EAGERFREQ, CONSHDLR_ENFOPRIORITY, CONSHDLR_MAXPREROUNDS, CONSHDLR_NAME, CONSHDLR_NEEDSCONS, CONSHDLR_PROP_TIMING, CONSHDLR_PROPFREQ, DEFAULT_ALWAYSBRANCH, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPallocMemory, SCIPincludeConshdlrBasic(), SCIPsetConshdlrCopy(), SCIPsetConshdlrDelete(), SCIPsetConshdlrFree(), SCIPsetConshdlrInitlp(), SCIPsetConshdlrParse(), SCIPsetConshdlrPresol(), SCIPsetConshdlrPrint(), SCIPsetConshdlrProp(), and SCIPsetConshdlrTrans(). Referenced by SCIP_DECL_CONSHDLRCOPY(), and SCIPincludeDefaultPlugins().
creates and captures a disjunction constraint
Definition at line 1017 of file cons_disjunction.c. References consdataCreate(), CONSHDLR_NAME, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPcreateCons(), SCIPerrorMessage, and SCIPfindConshdlr(). Referenced by SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSPARSE(), and SCIPcreateConsBasicDisjunction().
creates and captures a cumulative constraint in its most basic version, i. e., all constraint flags are set to their basic value as explained for the method SCIPcreateConsDisjunction(); all flags can be set via SCIPsetConsFLAGNAME-methods in scip.h
Definition at line 1069 of file cons_disjunction.c. References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreateConsDisjunction(), and TRUE.
adds constraint to the disjunction of constraints
Definition at line 1088 of file cons_disjunction.c. References consdataAddCons(), CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. |