All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cons_setppc.h File Reference Detailed DescriptionConstraint handler for the set partitioning / packing / covering constraints . This constraint handler handles three special classes of linear constraints, namely set partitioning, set packing, and set covering constraints. For a set of binary variables , a set partitioning constraint has the form
a set packing constraint has the form
and a set covering constraint has the form
Definition in file cons_setppc.h. #include "scip/scip.h" Go to the source code of this file.
Typedef Documentation
Definition at line 57 of file cons_setppc.h. Enumeration Type Documentation
type of setppc constraint: set partitioning, set packing, or set covering
Definition at line 51 of file cons_setppc.h. Function Documentation
creates the handler for set partitioning / packing / covering constraints and includes it in SCIP
Definition at line 8767 of file cons_setppc.c. References CONFLICTHDLR_DESC, CONFLICTHDLR_NAME, CONFLICTHDLR_PRIORITY, CONSHDLR_CHECKPRIORITY, CONSHDLR_DELAYPRESOL, CONSHDLR_DELAYPROP, CONSHDLR_DELAYSEPA, CONSHDLR_DESC, CONSHDLR_EAGERFREQ, CONSHDLR_ENFOPRIORITY, CONSHDLR_MAXPREROUNDS, CONSHDLR_NAME, CONSHDLR_NEEDSCONS, CONSHDLR_PROP_TIMING, CONSHDLR_PROPFREQ, CONSHDLR_SEPAFREQ, CONSHDLR_SEPAPRIORITY, conshdlrdataCreate(), DEFAULT_ADDVARIABLESASCLIQUES, DEFAULT_CLIQUELIFTING, DEFAULT_CLIQUESHRINKING, DEFAULT_DUALPRESOLVING, DEFAULT_NPSEUDOBRANCHES, DEFAULT_PRESOLPAIRWISE, DEFAULT_PRESOLUSEHASHING, EVENTHDLR_DESC, EVENTHDLR_NAME, LINCONSUPGD_PRIORITY, NULL, QUADCONSUPGD_PRIORITY, SCIP_CALL, SCIP_OKAY, SCIPaddBoolParam(), SCIPaddIntParam(), SCIPfindConshdlr(), SCIPincludeConflicthdlrBasic(), SCIPincludeConshdlrBasic(), SCIPincludeEventhdlrBasic(), SCIPincludeLinconsUpgrade(), SCIPincludeQuadconsUpgrade(), SCIPsetConshdlrActive(), SCIPsetConshdlrCopy(), SCIPsetConshdlrDeactive(), SCIPsetConshdlrDelete(), SCIPsetConshdlrDelvars(), SCIPsetConshdlrExitpre(), SCIPsetConshdlrExitsol(), SCIPsetConshdlrFree(), SCIPsetConshdlrGetNVars(), SCIPsetConshdlrGetVars(), SCIPsetConshdlrInit(), SCIPsetConshdlrInitlp(), SCIPsetConshdlrParse(), SCIPsetConshdlrPresol(), SCIPsetConshdlrPrint(), SCIPsetConshdlrProp(), SCIPsetConshdlrResprop(), SCIPsetConshdlrSepa(), SCIPsetConshdlrTrans(), and TRUE. Referenced by SCIP_DECL_CONSHDLRCOPY(), and SCIPincludeDefaultPlugins().
creates and captures a set partitioning constraint
Definition at line 8869 of file cons_setppc.c. References createConsSetppc(), and SCIP_SETPPCTYPE_PARTITIONING. Referenced by cliquePresolve(), consdataLinearize(), createAndAddLinearCons(), extractGates(), processIntegerBoundChg(), SCIP_DECL_CONSPARSE(), SCIP_DECL_PRESOLEXEC(), and SCIPcreateConsBasicSetpart().
creates and captures a set partitioning constraint in its most basic variant, i. e., with all constraint flags set to their default values, which can be set afterwards using SCIPsetConsFLAGNAME() in scip.h
creates and captures a set partitioning constraint with all constraint flags set to their default values
Definition at line 8909 of file cons_setppc.c. References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcreateConsSetpart(), and TRUE.
creates and captures a set packing constraint
Definition at line 8927 of file cons_setppc.c. References createConsSetppc(), and SCIP_SETPPCTYPE_PACKING. Referenced by addCliques(), addExtraCliques(), cliquePresolve(), consdataLinearize(), createAndAddLinearCons(), createCoveringProblem(), deleteRedundantVars(), detectRedundantVars(), dualWeightsTightening(), fixDeleteOrUpgradeCons(), presolRoundSOS1(), removeConstraintsDueToNegCliques(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSPARSE(), SCIP_DECL_QUADCONSUPGD(), SCIPcreateConsBasicSetpack(), tightenWeights(), upgradeCons(), and upgradeConss().
creates and captures a set packing constraint in its most basic variant, i. e., with all constraint flags set to their default values, which can be set afterwards using SCIPsetConsFLAGNAME() in scip.h
creates and captures a set packing constraint with all constraint flags set to their default values
Definition at line 8967 of file cons_setppc.c. References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcreateConsSetpack(), and TRUE.
creates and captures a set covering constraint
Definition at line 8986 of file cons_setppc.c. References createConsSetppc(), and SCIP_SETPPCTYPE_COVERING. Referenced by createAndAddLinearCons(), CUTOFF_CONSTRAINT(), forbidCover(), forbidFixation(), processNlRow(), readCnf(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSPARSE(), and SCIPcreateConsBasicSetcover().
creates and captures a set packing constraint in its most basic variant, i. e., with all constraint flags set to their default values, which can be set afterwards using SCIPsetConsFLAGNAME() in scip.h
creates and captures a set covering constraint with all constraint flags set to their default values
Definition at line 9026 of file cons_setppc.c. References FALSE, SCIP_CALL, SCIP_OKAY, SCIPcreateConsSetcover(), and TRUE.
adds coefficient in set partitioning / packing / covering constraint
Definition at line 9042 of file cons_setppc.c. References addCoef(), CONSHDLR_NAME, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by addCoefTerm(), cliquePresolve(), and SCIPaddCoefPseudoboolean(). gets number of variables in set partitioning / packing / covering constraint
Definition at line 9065 of file cons_setppc.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by addSetppcConstraints(), cleanupHashDatas(), correctPresoldata(), createPresoldata(), getLinearConsNVars(), getLinearConsVarsData(), initMatrix(), SCIP_DECL_CONSCOPY(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_READERWRITE(), SCIPwriteCcg(), SCIPwriteGms(), SCIPwriteLp(), SCIPwritePbm(), SCIPwritePip(), SCIPwritePpm(), writeFzn(), writeOpbConstraints(), and writeOpbObjective(). gets array of variables in set partitioning / packing / covering constraint
Definition at line 9086 of file cons_setppc.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by addSetppcConstraints(), correctPresoldata(), createPresoldata(), getLinearConsVarsData(), initMatrix(), SCIP_DECL_CONSCOPY(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_READERWRITE(), SCIPwriteCcg(), SCIPwriteGms(), SCIPwriteLp(), SCIPwritePbm(), SCIPwritePip(), SCIPwritePpm(), writeFzn(), writeOpbConstraints(), and writeOpbObjective().
gets type of set partitioning / packing / covering constraint
Definition at line 9107 of file cons_setppc.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. Referenced by addSetppcConstraints(), cleanupHashDatas(), correctPresoldata(), createPresoldata(), findAggregation(), getLinearConsSides(), initMatrix(), SCIP_DECL_CONSCOPY(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_READERWRITE(), SCIPwriteGms(), SCIPwriteLp(), SCIPwritePip(), tryUpgradingSetppc(), writeFzn(), and writeOpbConstraints(). gets the dual solution of the set partitioning / packing / covering constraint in the current LP
Definition at line 9127 of file cons_setppc.c. References CONSHDLR_NAME, NULL, SCIP_INVALID, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), SCIPerrorMessage, and SCIProwGetDualsol(). gets the dual Farkas value of the set partitioning / packing / covering constraint in the current infeasible LP
Definition at line 9151 of file cons_setppc.c. References CONSHDLR_NAME, NULL, SCIP_INVALID, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), SCIPerrorMessage, and SCIProwGetDualfarkas(). returns the linear relaxation of the given set partitioning / packing / covering constraint; may return NULL if no LP row was yet created; the user must not modify the row!
Definition at line 9177 of file cons_setppc.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. returns current number of variables fixed to one in the constraint
Definition at line 9198 of file cons_setppc.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. returns current number of variables fixed to zero in the constraint
Definition at line 9220 of file cons_setppc.c. References CONSHDLR_NAME, NULL, SCIPABORT, SCIPconsGetData(), SCIPconsGetHdlr(), SCIPconshdlrGetName(), and SCIPerrorMessage. |