All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
pub_cons.h
Go to the documentation of this file.
22 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
86 SCIP_DECL_CONSSEPASOL ((*conssepasol)), /**< separate cutting planes for arbitrary primal solution */
87 int sepafreq, /**< frequency for separating cuts; zero means to separate only in the root node */
92 /** sets both the propagation callback and the propagation frequency of the constraint handler */
97 int propfreq, /**< frequency for propagating domains; zero means only preprocessing propagation */
98 SCIP_Bool delayprop, /**< should propagation method be delayed, if other propagators found reductions? */
99 SCIP_PROPTIMING timingmask /**< positions in the node solving loop where propagators should be executed */
102 /** gets array with constraints of constraint handler; the first SCIPconshdlrGetNActiveConss() entries are the active
103 * constraints, the last SCIPconshdlrGetNConss() - SCIPconshdlrGetNActiveConss() constraints are deactivated
105 * @note A constraint is active if it is global and was not removed or it was added locally (in that case the local
145 * @note A constraint is active if it is global and was not removed or it was added locally (in that case the local
195 /** gets time in seconds used for propagation in this constraint handler during strong branching */
285 /** gets maximum number of active constraints of constraint handler existing at the same time */
321 /** gets number of holes added to domains of variables in presolving method of constraint handler */
357 /** gets number of times the presolving method of the constraint handler was called and tried to find reductions */
393 /** gets frequency of constraint handler for eager evaluations in separation, propagation and enforcement */
518 /** for an active constraint, returns the depth in the tree at which the constraint was activated */
524 /** returns the depth in the tree at which the constraint is valid; returns INT_MAX, if the constraint is local
634 /** returns TRUE iff constraint's relaxation should be removed from the LP due to aging or cleanup */
640 /** returns TRUE iff constraint's relaxation should be removed from the LP due to aging or cleanup */
676 /** returns TRUE iff roundings for variables in constraint or in constraint's negation are locked */
707 /** gets number of locks against upgrading the constraint, 0 means this constraint can be upgraded */
715 /* In optimized mode, the function calls are overwritten by defines to reduce the number of function calls and
729 #define SCIPconsIsActive(cons) ((cons)->updateactivate || ((cons)->active && !(cons)->updatedeactivate))
730 #define SCIPconsIsEnabled(cons) ((cons)->updateenable || ((cons)->enabled && !(cons)->updatedisable))
732 (SCIPconsIsEnabled(cons) && ((cons)->updatesepaenable || ((cons)->sepaenabled && !(cons)->updatesepadisable)))
734 (SCIPconsIsEnabled(cons) && ((cons)->updatepropenable || ((cons)->propenabled && !(cons)->updatepropdisable)))
int SCIPconshdlrGetNCheckConss(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsInitial(SCIP_CONS *cons) int SCIPconshdlrGetNEnfoConss(SCIP_CONSHDLR *conshdlr) SCIP_Longint SCIPconshdlrGetNEnfoLPCalls(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsMarkedPropagate(SCIP_CONS *cons) SCIP_Bool SCIPconsIsStickingAtNode(SCIP_CONS *cons) SCIP_Bool SCIPconsIsModifiable(SCIP_CONS *cons) SCIP_Real SCIPconshdlrGetStrongBranchPropTime(SCIP_CONSHDLR *conshdlr) type definitions for miscellaneous datastructures int SCIPconshdlrGetNChgBds(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsPropagated(SCIP_CONS *cons) SCIP_Bool SCIPconsIsOriginal(SCIP_CONS *cons) int SCIPconsGetNUpgradeLocks(SCIP_CONS *cons) int SCIPconshdlrGetNUpgdConss(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetNActiveConss(SCIP_CONSHDLR *conshdlr) void SCIPconshdlrSetData(SCIP_CONSHDLR *conshdlr, SCIP_CONSHDLRDATA *conshdlrdata) SCIP_Longint SCIPconshdlrGetNPropCalls(SCIP_CONSHDLR *conshdlr) int SCIPconsGetActiveDepth(SCIP_CONS *cons) SCIP_Real SCIPconshdlrGetPropTime(SCIP_CONSHDLR *conshdlr) SCIP_Real SCIPconshdlrGetRespropTime(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsEnabled(SCIP_CONS *cons) void SCIPconshdlrSetPropTiming(SCIP_CONSHDLR *conshdlr, SCIP_PROPTIMING proptiming) SCIP_Bool SCIPconshdlrNeedsCons(SCIP_CONSHDLR *conshdlr) int SCIPconsGetNUses(SCIP_CONS *cons) SCIP_Bool SCIPconshdlrIsClonable(SCIP_CONSHDLR *conshdlr) SCIP_Longint SCIPconshdlrGetNCutsFound(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconshdlrIsPropagationDelayed(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetEnfoPriority(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetNChgCoefs(SCIP_CONSHDLR *conshdlr) const char * SCIPconshdlrGetDesc(SCIP_CONSHDLR *conshdlr) SCIP_CONSHDLR * SCIPconsGetHdlr(SCIP_CONS *cons) void SCIPconshdlrSetProp(SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSPROP((*consprop)), int propfreq, SCIP_Bool delayprop, SCIP_PROPTIMING timingmask) const char * SCIPconshdlrGetName(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetSepaPriority(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetCheckPriority(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetNEnabledConss(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconshdlrIsSeparationDelayed(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsLocal(SCIP_CONS *cons) SCIP_Bool SCIPconshdlrWasLPSeparationDelayed(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsInProb(SCIP_CONS *cons) SCIP_Real SCIPconshdlrGetSetupTime(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetMaxNActiveConss(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetNAddConss(SCIP_CONSHDLR *conshdlr) SCIP_PRESOLTIMING SCIPconshdlrGetPresolTiming(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsGlobal(SCIP_CONS *cons) SCIP_Bool SCIPconsIsLockedPos(SCIP_CONS *cons) SCIP_PROPTIMING SCIPconshdlrGetPropTiming(SCIP_CONSHDLR *conshdlr) SCIP_Real SCIPconshdlrGetSepaTime(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsDeleted(SCIP_CONS *cons) void SCIPconsAddUpgradeLocks(SCIP_CONS *cons, int nlocks) int SCIPconshdlrGetStartNActiveConss(SCIP_CONSHDLR *conshdlr) SCIP_Real SCIPconshdlrGetEnfoLPTime(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsLocked(SCIP_CONS *cons) SCIP_Longint SCIPconshdlrGetNCheckCalls(SCIP_CONSHDLR *conshdlr) SCIP_Real SCIPconshdlrGetCheckTime(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetEagerFreq(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetSepaFreq(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetNAggrVars(SCIP_CONSHDLR *conshdlr) SCIP_CONSDATA * SCIPconsGetData(SCIP_CONS *cons) SCIP_Bool SCIPconshdlrWasPropagationDelayed(SCIP_CONSHDLR *conshdlr) SCIP_CONS ** SCIPconshdlrGetEnfoConss(SCIP_CONSHDLR *conshdlr) SCIP_Real SCIPconshdlrGetPresolTime(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetNAddHoles(SCIP_CONSHDLR *conshdlr) int SCIPconsGetNLocksPos(SCIP_CONS *cons) SCIP_Bool SCIPconsIsObsolete(SCIP_CONS *cons) SCIP_Longint SCIPconshdlrGetNEnfoPSCalls(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetPropFreq(SCIP_CONSHDLR *conshdlr) SCIP_Longint SCIPconshdlrGetNChildren(SCIP_CONSHDLR *conshdlr) void SCIPconshdlrSetSepa(SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSSEPALP((*conssepalp)), SCIP_DECL_CONSSEPASOL((*conssepasol)), int sepafreq, int sepapriority, SCIP_Bool delaysepa) SCIP_Bool SCIPconsIsSeparationEnabled(SCIP_CONS *cons) SCIP_CONS ** SCIPconshdlrGetCheckConss(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetNChgSides(SCIP_CONSHDLR *conshdlr) int SCIPconshdlrGetNPresolCalls(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsSeparated(SCIP_CONS *cons) SCIP_Longint SCIPconshdlrGetNRespropCalls(SCIP_CONSHDLR *conshdlr) SCIP_DECL_SORTPTRCOMP(SCIPconshdlrCompSepa) int SCIPconshdlrGetNFixedVars(SCIP_CONSHDLR *conshdlr) SCIP_CONS ** SCIPconshdlrGetConss(SCIP_CONSHDLR *conshdlr) int SCIPconsGetNLocksNeg(SCIP_CONS *cons) int SCIPconshdlrGetNConss(SCIP_CONSHDLR *conshdlr) SCIP_Longint SCIPconshdlrGetNCutoffs(SCIP_CONSHDLR *conshdlr) SCIP_Longint SCIPconshdlrGetNDomredsFound(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconshdlrWasSolSeparationDelayed(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsChecked(SCIP_CONS *cons) SCIP_Longint SCIPconshdlrGetNCutsApplied(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsActive(SCIP_CONS *cons) SCIP_Real SCIPconshdlrGetEnfoPSTime(SCIP_CONSHDLR *conshdlr) const char * SCIPconsGetName(SCIP_CONS *cons) int SCIPconshdlrGetNChgVarTypes(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconshdlrDoesPresolve(SCIP_CONSHDLR *conshdlr) SCIP_Longint SCIPconshdlrGetNSepaCalls(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsPropagationEnabled(SCIP_CONS *cons) void SCIPconshdlrSetPresolTiming(SCIP_CONSHDLR *conshdlr, SCIP_PRESOLTIMING presoltiming) int SCIPconsGetValidDepth(SCIP_CONS *cons) SCIP_Real SCIPconsGetAge(SCIP_CONS *cons) SCIP_Longint SCIPconshdlrGetNConssFound(SCIP_CONSHDLR *conshdlr) common defines and data types used in all packages of SCIP SCIP_CONSHDLRDATA * SCIPconshdlrGetData(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsEnforced(SCIP_CONS *cons) SCIP_Bool SCIPconsIsLockedNeg(SCIP_CONS *cons) int SCIPconsGetPos(SCIP_CONS *cons) SCIP_Bool SCIPconsIsAdded(SCIP_CONS *cons) SCIP_Bool SCIPconsIsTransformed(SCIP_CONS *cons) SCIP_Bool SCIPconsIsRemovable(SCIP_CONS *cons) type definitions for constraints and constraint handlers int SCIPconshdlrGetNDelConss(SCIP_CONSHDLR *conshdlr) SCIP_Bool SCIPconsIsDynamic(SCIP_CONS *cons) SCIP_Bool SCIPconshdlrIsInitialized(SCIP_CONSHDLR *conshdlr) |