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 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 40 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
should propagation method be delayed, if other propagators found reductions? Definition at line 43 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
should the constraint handler be skipped, if no constraints are available? Definition at line 44 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
Definition at line 46 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction().
Definition at line 47 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 50 of file cons_disjunction.c. Referenced by SCIPincludeConshdlrDisjunction(). Function Documentation
creates disjunction constraint data, captures initial constraints of disjunction
Definition at line 79 of file cons_disjunction.c. References consdataFree(), NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemory, SCIPcaptureCons(), SCIPduplicateBlockMemoryArray, SCIPisTransformed(), SCIPtransformCons(), and SCIPtransformConss(). Referenced by SCIPcreateConsDisjunction().
frees constraint data and releases all constraints in disjunction
Definition at line 142 of file cons_disjunction.c. References consdataAddCons(), NULL, SCIP_CALL, SCIP_OKAY, SCIPfreeBlockMemory, SCIPfreeBlockMemoryArrayNull, and SCIPreleaseCons(). Referenced by consdataCreate().
adds constraint to disjunction
Definition at line 174 of file cons_disjunction.c. References branchCons(), NULL, SCIP_CALL, SCIP_OKAY, SCIPcaptureCons(), SCIPensureBlockMemoryArray, SCIPisTransformed(), and SCIPtransformCons(). Referenced by consdataFree(), and SCIPaddConsElemDisjunction().
branches on disjunctive constraint
Definition at line 208 of file cons_disjunction.c. References checkCons(), NULL, SCIP_BRANCHED, SCIP_CALL, SCIP_OKAY, SCIP_Real, SCIPaddConsNode(), SCIPconsGetData(), SCIPconsGetName(), SCIPconsIsChecked(), SCIPconsIsModifiable(), SCIPcreateChild(), SCIPdebugMessage, SCIPdelConsNode(), SCIPgetLocalTransEstimate(), SCIPresetConsAge(), SCIPsetConsChecked(), and TRUE. Referenced by consdataAddCons(), enforceConssSOS1(), enforceIndicators(), and enforceSOS2().
checks disjunction constraints if at least one is feasible
Definition at line 269 of file cons_disjunction.c. References FALSE, NULL, propagateCons(), SCIP_CALL, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_OKAY, SCIPcheckCons(), SCIPconsGetData(), SCIPconsGetName(), SCIPdebug, SCIPinfoMessage(), and SCIPprintCons(). Referenced by branchCons(), and SCIP_DECL_CONSCHECK().
propagation method for disjunction constraint
Definition at line 315 of file cons_disjunction.c. References NULL, SCIP_CALL, SCIP_DECL_CONSHDLRCOPY(), SCIP_OKAY, SCIP_STAGE_PRESOLVING, SCIPconsGetData(), SCIPconsIsActive(), SCIPconsIsChecked(), SCIPconsIsDeleted(), SCIPdelCons(), SCIPdelConsLocal(), SCIPgetNNodes(), SCIPgetStage(), SCIPsetConsChecked(), and TRUE. Referenced by checkCons(), and SCIP_DECL_CONSPROP().
copy method for constraint handler plugins (called when SCIP copies plugins) Definition at line 382 of file cons_disjunction.c. Referenced by propagateCons().
destructor of constraint handler to free constraint handler data (called when SCIP is exiting) Definition at line 398 of file cons_disjunction.c.
frees specific constraint data Definition at line 419 of file cons_disjunction.c.
transforms constraint data into data belonging to the transformed problem Definition at line 429 of file cons_disjunction.c.
LP initialization method of constraint handler Definition at line 452 of file cons_disjunction.c. References NULL, SCIP_CALL, SCIP_DECL_CONSENFOLP(), SCIP_OKAY, SCIPaddConsLocal(), SCIPconsGetData(), and SCIPconsIsActive().
constraint enforcing method of constraint handler for LP solutions Definition at line 475 of file cons_disjunction.c. Referenced by SCIP_DECL_CONSINITLP().
constraint enforcing method of constraint handler for pseudo solutions Definition at line 505 of file cons_disjunction.c.
feasibility check method of constraint handler for integral solutions Definition at line 535 of file cons_disjunction.c. References checkCons(), SCIP_CALL, SCIP_DECL_CONSPROP(), SCIP_FEASIBLE, SCIP_INFEASIBLE, and SCIP_OKAY.
domain propagation method of constraint handler Definition at line 554 of file cons_disjunction.c. References propagateCons(), SCIP_CALL, SCIP_DECL_CONSPRESOL(), SCIP_DIDNOTFIND, SCIP_OKAY, and SCIP_REDUCEDDOM. Referenced by SCIP_DECL_CONSCHECK().
presolving method of constraint handler Definition at line 583 of file cons_disjunction.c. Referenced by SCIP_DECL_CONSPROP().
variable rounding lock method of constraint handler Definition at line 637 of file cons_disjunction.c.
constraint display method of constraint handler Definition at line 657 of file cons_disjunction.c.
constraint parsing method of constraint handler Definition at line 692 of file cons_disjunction.c.
constraint copying method of constraint handler Definition at line 900 of file cons_disjunction.c.
creates the handler for disjunction constraints and includes it in SCIP
Definition at line 989 of file cons_disjunction.c. References CONSHDLR_CHECKPRIORITY, CONSHDLR_DELAYPROP, CONSHDLR_DESC, CONSHDLR_EAGERFREQ, CONSHDLR_ENFOPRIORITY, CONSHDLR_MAXPREROUNDS, CONSHDLR_NAME, CONSHDLR_NEEDSCONS, CONSHDLR_PRESOLTIMING, CONSHDLR_PROP_TIMING, CONSHDLR_PROPFREQ, DEFAULT_ALWAYSBRANCH, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPallocMemory, SCIPcreateConsDisjunction(), SCIPincludeConshdlrBasic(), SCIPsetConshdlrCopy(), SCIPsetConshdlrDelete(), SCIPsetConshdlrFree(), SCIPsetConshdlrInitlp(), SCIPsetConshdlrParse(), SCIPsetConshdlrPresol(), SCIPsetConshdlrPrint(), SCIPsetConshdlrProp(), and SCIPsetConshdlrTrans(). Referenced by SCIPincludeDefaultPlugins().
creates and captures a disjunction constraint
Definition at line 1033 of file cons_disjunction.c. References consdataCreate(), CONSHDLR_NAME, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPcreateCons(), SCIPcreateConsBasicDisjunction(), SCIPerrorMessage, and SCIPfindConshdlr(). Referenced by SCIPcreateConsBasicDisjunction(), and SCIPincludeConshdlrDisjunction().
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 1085 of file cons_disjunction.c. References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPaddConsElemDisjunction(), SCIPcreateConsDisjunction(), and TRUE. Referenced by SCIPcreateConsDisjunction().
adds constraint to the disjunction of constraints
Definition at line 1104 of file cons_disjunction.c. References consdataAddCons(), CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by SCIPcreateConsBasicDisjunction(). |