Detailed Descriptionconstraint handler for conjunction constraints Definition in file cons_conjunction.c. Go to the source code of this file.
Macro Definition Documentation
Definition at line 31 of file cons_conjunction.c. Referenced by SCIP_DECL_CONSHDLRCOPY(), SCIPaddConsElemConjunction(), SCIPcreateConsConjunction(), and SCIPincludeConshdlrConjunction().
Definition at line 32 of file cons_conjunction.c. Referenced by SCIPincludeConshdlrConjunction().
priority of the constraint handler for constraint enforcing Definition at line 33 of file cons_conjunction.c. Referenced by SCIPincludeConshdlrConjunction().
priority of the constraint handler for checking feasibility Definition at line 34 of file cons_conjunction.c. Referenced by SCIPincludeConshdlrConjunction().
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 35 of file cons_conjunction.c. Referenced by SCIPincludeConshdlrConjunction().
maximal number of presolving rounds the constraint handler participates in (-1: no limit) Definition at line 38 of file cons_conjunction.c. Referenced by SCIPincludeConshdlrConjunction().
should the constraint handler be skipped, if no constraints are available? Definition at line 39 of file cons_conjunction.c. Referenced by SCIPincludeConshdlrConjunction().
Definition at line 41 of file cons_conjunction.c. Referenced by SCIPincludeConshdlrConjunction(). Function Documentation
creates conjunction constraint data, captures initial constraints of conjunction
Definition at line 62 of file cons_conjunction.c. References consdataFree(), NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBlockMemory, SCIPcaptureCons(), SCIPduplicateBlockMemoryArray, SCIPisTransformed(), and SCIPtransformConss(). Referenced by SCIPcreateConsConjunction().
frees constraint data and releases all constraints in conjunction
Definition at line 104 of file cons_conjunction.c. References consdataAddCons(), NULL, SCIP_CALL, SCIP_OKAY, SCIPfreeBlockMemory, SCIPfreeBlockMemoryArrayNull, and SCIPreleaseCons(). Referenced by consdataCreate(), and SCIP_DECL_CONSDELETE().
adds constraint to conjunction
Definition at line 129 of file cons_conjunction.c. References addAllConss(), NULL, SCIP_CALL, SCIP_OKAY, SCIPcaptureCons(), SCIPensureBlockMemoryArray, SCIPisTransformed(), and SCIPtransformCons(). Referenced by consdataFree(), and SCIPaddConsElemConjunction().
adds all constraints in conjunction constraints to the problem; disables unmodifiable conjunction constraints
Definition at line 161 of file cons_conjunction.c. References checkAllConss(), NULL, SCIP_CALL, SCIP_CONSADDED, SCIP_OKAY, SCIPaddConsLocal(), SCIPconsGetData(), SCIPconsGetName(), SCIPconsIsActive(), SCIPconsIsChecked(), SCIPconsIsModifiable(), SCIPdebugMessage, SCIPdelConsLocal(), SCIPsetConsChecked(), and TRUE. Referenced by consdataAddCons(), SCIP_DECL_CONSENFOLP(), and SCIP_DECL_CONSENFOPS().
checks all constraints in conjunction constraints for feasibility
Definition at line 210 of file cons_conjunction.c. References NULL, SCIP_CALL, SCIP_DECL_CONSHDLRCOPY(), SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_OKAY, SCIPcheckCons(), SCIPconsGetData(), SCIPconsGetName(), SCIPdebug, SCIPinfoMessage(), and SCIPprintCons(). Referenced by addAllConss(), and SCIP_DECL_CONSCHECK().
copy method for constraint handler plugins (called when SCIP copies plugins) Definition at line 258 of file cons_conjunction.c. References CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_DECL_CONSDELETE(), SCIP_OKAY, SCIPconshdlrGetName(), SCIPincludeConshdlrConjunction(), and TRUE. Referenced by checkAllConss().
frees specific constraint data Definition at line 275 of file cons_conjunction.c. References consdataFree(), SCIP_CALL, SCIP_DECL_CONSTRANS(), and SCIP_OKAY. Referenced by SCIP_DECL_CONSHDLRCOPY().
transforms constraint data into data belonging to the transformed problem Definition at line 284 of file cons_conjunction.c. References NULL, SCIP_CALL, SCIP_DECL_CONSENFOLP(), SCIP_OKAY, SCIPallocBlockMemory, SCIPallocBlockMemoryArray, SCIPconsGetData(), SCIPconsGetName(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), SCIPcreateCons(), and SCIPtransformCons(). Referenced by SCIP_DECL_CONSDELETE().
constraint enforcing method of constraint handler for LP solutions Definition at line 326 of file cons_conjunction.c. References addAllConss(), SCIP_CALL, SCIP_DECL_CONSENFOPS(), SCIP_FEASIBLE, and SCIP_OKAY. Referenced by SCIP_DECL_CONSTRANS().
constraint enforcing method of constraint handler for pseudo solutions Definition at line 339 of file cons_conjunction.c. References addAllConss(), SCIP_CALL, SCIP_DECL_CONSCHECK(), SCIP_FEASIBLE, and SCIP_OKAY. Referenced by SCIP_DECL_CONSENFOLP().
feasibility check method of constraint handler for integral solutions Definition at line 352 of file cons_conjunction.c. References checkAllConss(), SCIP_CALL, SCIP_DECL_CONSPRESOL(), SCIP_FEASIBLE, and SCIP_OKAY. Referenced by SCIP_DECL_CONSENFOPS().
presolving method of constraint handler Definition at line 365 of file cons_conjunction.c. References NULL, SCIP_CALL, SCIP_DECL_CONSLOCK(), SCIP_DIDNOTFIND, SCIP_OKAY, SCIP_SUCCESS, SCIPaddCons(), SCIPconsGetData(), SCIPconsGetName(), SCIPconsIsActive(), SCIPconsIsChecked(), SCIPconsIsModifiable(), SCIPdebugMessage, SCIPdelCons(), SCIPreleaseCons(), SCIPsetConsChecked(), and TRUE. Referenced by SCIP_DECL_CONSCHECK().
variable rounding lock method of constraint handler Definition at line 421 of file cons_conjunction.c. References NULL, SCIP_CALL, SCIP_DECL_CONSPRINT(), SCIP_OKAY, SCIPaddConsLocks(), and SCIPconsGetData(). Referenced by SCIP_DECL_CONSPRESOL().
constraint display method of constraint handler Definition at line 441 of file cons_conjunction.c. References NULL, SCIP_CALL, SCIP_DECL_CONSPARSE(), SCIP_OKAY, SCIPconsGetData(), SCIPinfoMessage(), and SCIPprintCons(). Referenced by SCIP_DECL_CONSLOCK().
constraint parsing method of constraint handler Definition at line 468 of file cons_conjunction.c. References FALSE, NULL, SCIP_CALL, SCIP_DECL_CONSCOPY(), SCIP_OKAY, SCIPallocBufferArray, SCIPcalcMemGrowSize(), SCIPcreateConsConjunction(), SCIPdebugMessage, SCIPduplicateBufferArray, SCIPfreeBufferArray, SCIPparseCons(), SCIPreallocBufferArray, SCIPreleaseCons(), and TRUE. Referenced by SCIP_DECL_CONSPRINT().
constraint copying method of constraint handler Definition at line 662 of file cons_conjunction.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPallocBufferArray, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconsGetName(), SCIPconsIsChecked(), SCIPconsIsDynamic(), SCIPconsIsEnforced(), SCIPconsIsInitial(), SCIPconsIsLocal(), SCIPconsIsModifiable(), SCIPconsIsPropagated(), SCIPconsIsRemovable(), SCIPconsIsSeparated(), SCIPconsIsStickingAtNode(), SCIPcreateConsConjunction(), SCIPfreeBufferArray, SCIPgetConsCopy(), SCIPincludeConshdlrConjunction(), SCIPreleaseCons(), and TRUE. Referenced by SCIP_DECL_CONSPARSE().
creates the handler for conjunction constraints and includes it in SCIP
Definition at line 730 of file cons_conjunction.c. References CONSHDLR_CHECKPRIORITY, CONSHDLR_DESC, CONSHDLR_EAGERFREQ, CONSHDLR_ENFOPRIORITY, CONSHDLR_MAXPREROUNDS, CONSHDLR_NAME, CONSHDLR_NEEDSCONS, CONSHDLR_PRESOLTIMING, NULL, SCIP_CALL, SCIP_OKAY, SCIPcreateConsConjunction(), SCIPincludeConshdlrBasic(), SCIPsetConshdlrCopy(), SCIPsetConshdlrDelete(), SCIPsetConshdlrParse(), SCIPsetConshdlrPresol(), SCIPsetConshdlrPrint(), and SCIPsetConshdlrTrans(). Referenced by SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSHDLRCOPY(), and SCIPincludeDefaultPlugins().
creates and captures a conjunction constraint
Definition at line 764 of file cons_conjunction.c. References consdataCreate(), CONSHDLR_NAME, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIPcreateCons(), SCIPcreateConsBasicConjunction(), SCIPerrorMessage, and SCIPfindConshdlr(). Referenced by SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSPARSE(), SCIPcreateConsBasicConjunction(), and SCIPincludeConshdlrConjunction().
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 SCIPcreateConsConjunction(); all flags can be set via SCIPsetConsFLAGNAME-methods in scip.h
Definition at line 813 of file cons_conjunction.c. References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPaddConsElemConjunction(), SCIPcreateConsConjunction(), and TRUE. Referenced by SCIPcreateConsConjunction().
adds constraint to the conjunction of constraints
Definition at line 830 of file cons_conjunction.c. References consdataAddCons(), CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by SCIPcreateConsBasicConjunction(). |