Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

methods for constraint handlers

Functions

SCIP_EXPORT SCIP_DECL_SORTPTRCOMP (SCIPconshdlrCompSepa)
 
SCIP_EXPORT SCIP_DECL_SORTPTRCOMP (SCIPconshdlrCompEnfo)
 
SCIP_EXPORT SCIP_DECL_SORTPTRCOMP (SCIPconshdlrCompCheck)
 
SCIP_EXPORT const char * SCIPconshdlrGetName (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT const char * SCIPconshdlrGetDesc (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_CONSHDLRDATASCIPconshdlrGetData (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT void SCIPconshdlrSetData (SCIP_CONSHDLR *conshdlr, SCIP_CONSHDLRDATA *conshdlrdata)
 
SCIP_EXPORT void SCIPconshdlrSetSepa (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSSEPALP((*conssepalp)), SCIP_DECL_CONSSEPASOL((*conssepasol)), int sepafreq, int sepapriority, SCIP_Bool delaysepa)
 
SCIP_EXPORT void SCIPconshdlrSetProp (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSPROP((*consprop)), int propfreq, SCIP_Bool delayprop, SCIP_PROPTIMING timingmask)
 
SCIP_EXPORT void SCIPconshdlrSetEnforelax (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSENFORELAX((*consenforelax)))
 
SCIP_EXPORT SCIP_CONS ** SCIPconshdlrGetConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_CONS ** SCIPconshdlrGetEnfoConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_CONS ** SCIPconshdlrGetCheckConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_CONS ** SCIPconshdlrGetUpdateConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNEnfoConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNCheckConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNActiveConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNEnabledConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNUpdateConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Real SCIPconshdlrGetSetupTime (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Real SCIPconshdlrGetPresolTime (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Real SCIPconshdlrGetSepaTime (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Real SCIPconshdlrGetEnfoLPTime (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Real SCIPconshdlrGetEnfoPSTime (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Real SCIPconshdlrGetEnfoRelaxTime (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Real SCIPconshdlrGetPropTime (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Real SCIPconshdlrGetStrongBranchPropTime (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Real SCIPconshdlrGetCheckTime (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Real SCIPconshdlrGetRespropTime (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNSepaCalls (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNEnfoLPCalls (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNEnfoPSCalls (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNEnfoRelaxCalls (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNPropCalls (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNCheckCalls (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNRespropCalls (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNCutoffs (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNCutsFound (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNCutsApplied (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNConssFound (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNDomredsFound (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNChildren (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetMaxNActiveConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetStartNActiveConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNFixedVars (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNAggrVars (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNChgVarTypes (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNChgBds (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNAddHoles (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNDelConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNAddConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNUpgdConss (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNChgCoefs (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNChgSides (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetNPresolCalls (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetSepaPriority (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetEnfoPriority (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetCheckPriority (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetSepaFreq (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetPropFreq (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT int SCIPconshdlrGetEagerFreq (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Bool SCIPconshdlrNeedsCons (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Bool SCIPconshdlrDoesPresolve (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Bool SCIPconshdlrIsSeparationDelayed (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Bool SCIPconshdlrIsPropagationDelayed (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Bool SCIPconshdlrWasLPSeparationDelayed (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Bool SCIPconshdlrWasSolSeparationDelayed (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Bool SCIPconshdlrWasPropagationDelayed (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Bool SCIPconshdlrIsInitialized (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_Bool SCIPconshdlrIsClonable (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT SCIP_PROPTIMING SCIPconshdlrGetPropTiming (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT void SCIPconssetchgGetAddedConsData (SCIP_CONSSETCHG *conssetchg, SCIP_CONS ***conss, int *nconss)
 
SCIP_EXPORT void SCIPconshdlrSetPropTiming (SCIP_CONSHDLR *conshdlr, SCIP_PROPTIMING proptiming)
 
SCIP_EXPORT SCIP_PRESOLTIMING SCIPconshdlrGetPresolTiming (SCIP_CONSHDLR *conshdlr)
 
SCIP_EXPORT void SCIPconshdlrSetPresolTiming (SCIP_CONSHDLR *conshdlr, SCIP_PRESOLTIMING presoltiming)
 
SCIP_EXPORT SCIP_RETCODE SCIPincludeConshdlr (SCIP *scip, const char *name, const char *desc, int sepapriority, int enfopriority, int chckpriority, int sepafreq, int propfreq, int eagerfreq, int maxprerounds, SCIP_Bool delaysepa, SCIP_Bool delayprop, SCIP_Bool needscons, SCIP_PROPTIMING proptiming, SCIP_PRESOLTIMING presoltiming, SCIP_DECL_CONSHDLRCOPY((*conshdlrcopy)), SCIP_DECL_CONSFREE((*consfree)), SCIP_DECL_CONSINIT((*consinit)), SCIP_DECL_CONSEXIT((*consexit)), SCIP_DECL_CONSINITPRE((*consinitpre)), SCIP_DECL_CONSEXITPRE((*consexitpre)), SCIP_DECL_CONSINITSOL((*consinitsol)), SCIP_DECL_CONSEXITSOL((*consexitsol)), SCIP_DECL_CONSDELETE((*consdelete)), SCIP_DECL_CONSTRANS((*constrans)), SCIP_DECL_CONSINITLP((*consinitlp)), SCIP_DECL_CONSSEPALP((*conssepalp)), SCIP_DECL_CONSSEPASOL((*conssepasol)), SCIP_DECL_CONSENFOLP((*consenfolp)), SCIP_DECL_CONSENFORELAX((*consenforelax)), SCIP_DECL_CONSENFOPS((*consenfops)), SCIP_DECL_CONSCHECK((*conscheck)), SCIP_DECL_CONSPROP((*consprop)), SCIP_DECL_CONSPRESOL((*conspresol)), SCIP_DECL_CONSRESPROP((*consresprop)), SCIP_DECL_CONSLOCK((*conslock)), SCIP_DECL_CONSACTIVE((*consactive)), SCIP_DECL_CONSDEACTIVE((*consdeactive)), SCIP_DECL_CONSENABLE((*consenable)), SCIP_DECL_CONSDISABLE((*consdisable)), SCIP_DECL_CONSDELVARS((*consdelvars)), SCIP_DECL_CONSPRINT((*consprint)), SCIP_DECL_CONSCOPY((*conscopy)), SCIP_DECL_CONSPARSE((*consparse)), SCIP_DECL_CONSGETVARS((*consgetvars)), SCIP_DECL_CONSGETNVARS((*consgetnvars)), SCIP_DECL_CONSGETDIVEBDCHGS((*consgetdivebdchgs)), SCIP_CONSHDLRDATA *conshdlrdata)
 
SCIP_EXPORT SCIP_RETCODE SCIPincludeConshdlrBasic (SCIP *scip, SCIP_CONSHDLR **conshdlrptr, const char *name, const char *desc, int enfopriority, int chckpriority, int eagerfreq, SCIP_Bool needscons, SCIP_DECL_CONSENFOLP((*consenfolp)), SCIP_DECL_CONSENFOPS((*consenfops)), SCIP_DECL_CONSCHECK((*conscheck)), SCIP_DECL_CONSLOCK((*conslock)), SCIP_CONSHDLRDATA *conshdlrdata)
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrSepa (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSSEPALP((*conssepalp)), SCIP_DECL_CONSSEPASOL((*conssepasol)), int sepafreq, int sepapriority, SCIP_Bool delaysepa)
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrProp (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSPROP((*consprop)), int propfreq, SCIP_Bool delayprop, SCIP_PROPTIMING proptiming)
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrEnforelax (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSENFORELAX((*consenforelax)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrCopy (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSHDLRCOPY((*conshdlrcopy)), SCIP_DECL_CONSCOPY((*conscopy)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrFree (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSFREE((*consfree)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrInit (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSINIT((*consinit)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrExit (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSEXIT((*consexit)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrInitsol (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSINITSOL((*consinitsol)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrExitsol (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSEXITSOL((*consexitsol)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrInitpre (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSINITPRE((*consinitpre)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrExitpre (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSEXITPRE((*consexitpre)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrPresol (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSPRESOL((*conspresol)), int maxprerounds, SCIP_PRESOLTIMING presoltiming)
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrDelete (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSDELETE((*consdelete)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrTrans (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSTRANS((*constrans)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrInitlp (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSINITLP((*consinitlp)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrResprop (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSRESPROP((*consresprop)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrActive (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSACTIVE((*consactive)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrDeactive (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSDEACTIVE((*consdeactive)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrEnable (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSENABLE((*consenable)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrDisable (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSDISABLE((*consdisable)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrDelvars (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSDELVARS((*consdelvars)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrPrint (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSPRINT((*consprint)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrParse (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSPARSE((*consparse)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrGetVars (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSGETVARS((*consgetvars)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrGetNVars (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSGETNVARS((*consgetnvars)))
 
SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrGetDiveBdChgs (SCIP *scip, SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSGETDIVEBDCHGS((*consgetdivebdchgs)))
 
SCIP_EXPORT SCIP_CONSHDLRSCIPfindConshdlr (SCIP *scip, const char *name)
 
SCIP_EXPORT SCIP_CONSHDLR ** SCIPgetConshdlrs (SCIP *scip)
 
SCIP_EXPORT int SCIPgetNConshdlrs (SCIP *scip)
 

Function Documentation

◆ SCIP_DECL_SORTPTRCOMP() [1/3]

SCIP_EXPORT SCIP_DECL_SORTPTRCOMP ( SCIPconshdlrCompSepa  )

compares two constraint handlers w. r. to their separation priority

Definition at line 1951 of file cons.c.

Referenced by conshdlrAddUpdateCons().

◆ SCIP_DECL_SORTPTRCOMP() [2/3]

SCIP_EXPORT SCIP_DECL_SORTPTRCOMP ( SCIPconshdlrCompEnfo  )

compares two constraint handlers w. r. to their enforcing priority

Definition at line 1957 of file cons.c.

◆ SCIP_DECL_SORTPTRCOMP() [3/3]

SCIP_EXPORT SCIP_DECL_SORTPTRCOMP ( SCIPconshdlrCompCheck  )

compares two constraint handlers w. r. to their feasibility check priority

Definition at line 1963 of file cons.c.

◆ SCIPconshdlrGetName()

SCIP_EXPORT const char* SCIPconshdlrGetName ( SCIP_CONSHDLR conshdlr)

gets name of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4179 of file cons.c.

References SCIP_Conshdlr::name, NULL, and SCIPconshdlrGetDesc().

Referenced by addAltLPConstraint(), addAltLPRow(), addObjcut(), addSlackVars(), checkBounddisjunction(), checkConsnames(), checkFeasSubtree(), checkKnapsack(), checkLogicor(), checkVarbound(), computeAndConstraintInfos(), computeSymmetryGroup(), consdataCollectLinkingCons(), consdataCreate(), consdataEnsureAddLinConsSize(), copyConsPseudoboolean(), createAltLP(), createAndAddProofcons(), createNAryBranch(), createNormalizedSetppc(), deleteAltLPConstraint(), enforceCardinality(), enforceConflictgraph(), enforceConssSOS1(), enforceConstraint(), enforceConstraints(), enforceCurrentSol(), enforceIndicators(), enforcePseudo(), enforceSOS2(), extractLinearValues(), freeConflictgraph(), generateBoundInequalityFromSOS1Cons(), initAlternativeLP(), initPricing(), paramsetSetPresolvingDefault(), paramsetSetPresolvingFast(), paramsetSetPresolvingOff(), paramsetSetSeparatingAggressive(), paramsetSetSeparatingDefault(), paramsetSetSeparatingOff(), presolveRound(), printRangeSection(), processBinvarFixings(), processFixings(), processRealBoundChg(), processWatchedVars(), propagationRound(), readIndicators(), registerBranchingCandidates(), saveConsBounddisjuction(), saveConsLinear(), saveLocalConssData(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSDEACTIVE(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSDISABLE(), SCIP_DECL_CONSENABLE(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSENFOPS(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSEXIT(), SCIP_DECL_CONSEXITPRE(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSFREE(), SCIP_DECL_CONSGETDIVEBDCHGS(), SCIP_DECL_CONSHDLRCOPY(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITLP(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSPRESOL(), scip::ObjConshdlr::SCIP_DECL_CONSPRINT(), SCIP_DECL_CONSPRINT(), SCIP_DECL_CONSPROP(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_CONSSEPASOL(), SCIP_DECL_CONSTRANS(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SORTPTRCOMP(), SCIPaddCoefLinear(), SCIPaddCoefLogicor(), SCIPaddCoefPseudoboolean(), SCIPaddConsElemConjunction(), SCIPaddConsElemDisjunction(), SCIPaddLinearConsIndicator(), SCIPaddRowIndicator(), SCIPaddTermPseudoboolean(), SCIPaddVarCardinality(), SCIPaddVarIndicator(), SCIPaddVarSOS1(), SCIPaddVarSOS2(), SCIPappendVarCardinality(), SCIPappendVarSOS2(), SCIPchgAndConsCheckFlagWhenUpgr(), SCIPchgAndConsRemovableFlagWhenUpgr(), SCIPchgBilinCoefQuadratic(), SCIPchgCardvalCardinality(), SCIPchgLhsLinear(), SCIPchgLhsPseudoboolean(), SCIPchgLhsQuadratic(), SCIPchgLinearCoefQuadratic(), SCIPchgRhsLinear(), SCIPchgRhsPseudoboolean(), SCIPchgRhsQuadratic(), SCIPchgSquareCoefQuadratic(), SCIPconflictstoreCleanNewIncumbent(), SCIPconsAddCoef(), SCIPconsGetDualfarkas(), SCIPconsGetDualsol(), SCIPconsGetLhs(), SCIPconsGetRhs(), SCIPconsGetRow(), SCIPconshdlrCopyInclude(), SCIPconshdlrUnlockVars(), SCIPconsNonlinearAddLinearCoef(), SCIPconsNonlinearGetLhs(), SCIPconsNonlinearGetRhs(), SCIPcopyConsLinear(), SCIPcopyConss(), SCIPcreateConsIndicatorLinCons(), SCIPcreateConsSuperindicator(), SCIPdelCoefLinear(), SCIPgetActivityQuadratic(), SCIPgetAndDatasPseudoboolean(), SCIPgetBinaryVarIndicator(), SCIPgetBinaryVarSuperindicator(), SCIPgetBinvarsDataLinking(), SCIPgetBinvarsLinking(), SCIPgetBoundsBounddisjunction(), SCIPgetBoundtypesBounddisjunction(), SCIPgetCapacityCumulative(), SCIPgetCardvalCardinality(), SCIPgetCoefLinearAbspower(), SCIPgetConsVals(), SCIPgetDemandsCumulative(), SCIPgetDualfarkasLogicor(), SCIPgetDualfarkasVarbound(), SCIPgetDualsolLogicor(), SCIPgetDualSolVal(), SCIPgetDualsolVarbound(), SCIPgetDurationsCumulative(), SCIPgetExponentAbspower(), SCIPgetFeasibilityQuadratic(), SCIPgetHmaxCumulative(), SCIPgetHmaxOptcumulative(), SCIPgetHminCumulative(), SCIPgetHminOptcumulative(), SCIPgetIndVarPseudoboolean(), SCIPgetIntVarXor(), SCIPgetLhsAbspower(), SCIPgetLhsPseudoboolean(), SCIPgetLhsVarbound(), SCIPgetLinDatasWithoutAndPseudoboolean(), SCIPgetLinearConsIndicator(), SCIPgetLinearConsPseudoboolean(), SCIPgetLinearConsTypePseudoboolean(), SCIPgetLinearVarAbspower(), SCIPgetLinkvarLinking(), SCIPgetNAndsPseudoboolean(), SCIPgetNBinvarsLinking(), SCIPgetNLinVarsWithoutAndPseudoboolean(), SCIPgetNlRowAbspower(), SCIPgetNonlinearVarAbspower(), SCIPgetNVarsAnd(), SCIPgetNVarsBounddisjunction(), SCIPgetNVarsCardinality(), SCIPgetNVarsCumulative(), SCIPgetNVarsLogicor(), SCIPgetNVarsOr(), SCIPgetNVarsSOS2(), SCIPgetNVarsXor(), SCIPgetOffsetAbspower(), SCIPgetResultantAnd(), SCIPgetResultantOr(), SCIPgetRhsAbspower(), SCIPgetRhsPseudoboolean(), SCIPgetRhsVarbound(), SCIPgetRhsXor(), SCIPgetRowLogicor(), SCIPgetRowVarbound(), SCIPgetSlackConsSuperindicator(), SCIPgetSlackVarIndicator(), SCIPgetValsLinking(), SCIPgetVarsAnd(), SCIPgetVarsBounddisjunction(), SCIPgetVarsCardinality(), SCIPgetVarsCumulative(), SCIPgetVarsLogicor(), SCIPgetVarsOr(), SCIPgetVarsSOS2(), SCIPgetVarsXor(), SCIPgetVarVarbound(), SCIPgetVbdcoefVarbound(), SCIPgetVbdvarVarbound(), SCIPgetViolationAbspower(), SCIPgetWeightsCardinality(), SCIPgetWeightsSOS2(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPisAndConsSorted(), SCIPisConvexAbspower(), SCIPisDualSolAvailable(), SCIPmakeIndicatorFeasible(), SCIPmakeIndicatorsFeasible(), SCIPmakeSOS1sFeasible(), SCIPmatrixCreate(), SCIPpresolve(), SCIPprintConstraintStatistics(), SCIPprintConstraintTimingStatistics(), SCIPprintPresolverStatistics(), SCIPreaderWrite(), SCIPreadProb(), SCIPsetBinaryVarIndicator(), SCIPsetConshdlrPresol(), SCIPsetConshdlrProp(), SCIPsetConshdlrSepa(), SCIPsetHmaxCumulative(), SCIPsetHmaxOptcumulative(), SCIPsetHminCumulative(), SCIPsetHminOptcumulative(), SCIPsetIncludeConshdlr(), SCIPsetLinearConsIndicator(), SCIPsetReinsertConshdlrSepaPrio(), SCIPsetSlackVarUb(), SCIPsolCheck(), SCIPsortAndCons(), SCIPtransformMinUC(), SCIPtransformProb(), SCIPwriteCcg(), SCIPwriteGms(), SCIPwriteLp(), SCIPwriteMps(), SCIPwritePbm(), SCIPwritePip(), SCIPwritePpm(), separateCons(), separateConstraints(), separationRoundLP(), separationRoundSol(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), writeFzn(), writeOpbConstraints(), and writeOpbObjective().

◆ SCIPconshdlrGetDesc()

SCIP_EXPORT const char* SCIPconshdlrGetDesc ( SCIP_CONSHDLR conshdlr)

gets description of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4189 of file cons.c.

References SCIP_Conshdlr::desc, NULL, and SCIPconshdlrGetData().

Referenced by SCIP_DECL_DIALOGEXEC(), SCIPconshdlrGetName(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().

◆ SCIPconshdlrGetData()

SCIP_EXPORT SCIP_CONSHDLRDATA* SCIPconshdlrGetData ( SCIP_CONSHDLR conshdlr)

gets user data of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4199 of file cons.c.

References SCIP_Conshdlr::conshdlrdata, NULL, and SCIPconshdlrSetData().

Referenced by addAltLPConstraint(), addAltLPRow(), addCoef(), addCoefTerm(), addLinearCoef(), addLinearizationCuts(), addObjcut(), addQuadVarTerm(), addRelaxation(), applyAlternativeBoundsFixing(), catchLinearVarEvents(), checkAndConss(), checkCurvature(), checkFixedVariables(), checkOrigPbCons(), checkOverloadViaThetaTree(), chgLinearCoefPos(), COLORconsGetActiveStoreGraphCons(), COLORconsGetActiveStoreGraphConsFromHandler(), COLORconsGetComplementaryGraph(), COLORconsGetCurrentGraph(), COLORconsGetRepresentative(), COLORconsGetRepresentatives(), COLORconsGetStack(), COLORconsGetUnion(), COLORconsGetUnions(), computeEffectiveHorizon(), computeGauge(), computeViolation(), computeViolations(), consdataCreate(), consdataDeletePos(), consdataEnsureAddLinConsSize(), consdataPrint(), constructValidSolution(), coretimesUpdateLb(), coretimesUpdateUb(), createAndAddAndCons(), createAndAddLinearCons(), createConsSetppc(), createCoreProfile(), createNlRow(), createRow(), createSubscip(), delCoefPos(), deleteAltLPConstraint(), deleteRedundantVars(), delLinearCoefPos(), delQuadVarTermPos(), detectRedundantConstraints(), detectRedundantVars(), dropLinearVarEvents(), enforceCardinality(), enforceConssSOS1(), enforceConstraint(), enforceCuts(), enforceIndicators(), enforceSol(), enforceSOS1(), findCumulativeConss(), findPrecedenceConss(), generateBoundInequalityFromSOS1Cons(), generateCut(), generateCutSol(), generateLinearizationCut(), generateSecantCut(), generateSparseCut(), getLinVarsAndAndRess(), handleNewVariableSOS2(), inferboundsEdgeFinding(), initAlternativeLP(), preprocessConstraintPairs(), presolveConsEst(), presolveConsLct(), presolveDisaggregateMergeComponents(), presolveFindDuplicates(), presolvePropagateCons(), presolveRemoveFixedVariables(), presolveTryAddAND(), presolveTryAddLinearReform(), presolveUpgrade(), processCut(), propagateBounds(), propagateBoundsCons(), propagateCons(), propagateConstraintSides(), propagateLbTTEF(), propagateTimetable(), propagateTTEF(), propagateUbTTEF(), propagateVarbounds(), proposeFeasibleSolution(), reformulate(), registerBranchingCandidates(), registerBranchingCandidatesGap(), removeConstraintsDueToNegCliques(), removeFixedNonlinearVariables(), removeFixedVariables(), removeIrrelevantJobs(), replaceQuadVarTermPos(), resolvePropagationFullOrbitope(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSDEACTIVE(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSDELVARS(), SCIP_DECL_CONSDISABLE(), SCIP_DECL_CONSENABLE(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSENFOPS(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSEXIT(), SCIP_DECL_CONSEXITPRE(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSFREE(), SCIP_DECL_CONSGETDIVEBDCHGS(), SCIP_DECL_CONSGETNVARS(), SCIP_DECL_CONSGETVARS(), SCIP_DECL_CONSHDLRCOPY(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITLP(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSPARSE(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPRINT(), SCIP_DECL_CONSPROP(), SCIP_DECL_CONSRESPROP(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_CONSSEPASOL(), SCIP_DECL_CONSTRANS(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_QUADCONSUPGD(), SCIPaddBilinearIneqQuadratic(), SCIPaddLinearConsIndicator(), SCIPaddRowIndicator(), SCIPaddVarCardinality(), SCIPaddVarSOS1(), SCIPappendVarCardinality(), SCIPcheckCurvatureNonlinear(), SCIPcleanupConssLogicor(), SCIPcleanupConssVarbound(), SCIPconshdlrGetDesc(), SCIPcreateConsAnd(), SCIPcreateConsCardinality(), SCIPcreateConsCumulative(), SCIPcreateConsIndicator(), SCIPcreateConsIndicatorLinCons(), SCIPcreateConsKnapsack(), SCIPcreateConsLinking(), SCIPcreateConsLogicor(), SCIPcreateConsOptcumulative(), SCIPcreateConsOr(), SCIPcreateConsOrbisack(), SCIPcreateConsOrbitope(), SCIPcreateConsPseudoboolean(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateConsSOC(), SCIPcreateConsSOS1(), SCIPcreateConsSuperindicator(), SCIPcreateConsVarbound(), SCIPexistsConsLinking(), SCIPfindObjConshdlr(), SCIPgetAllBilinearTermsQuadratic(), SCIPgetBinvarsLinking(), SCIPgetConsLinking(), SCIPgetCountedSparseSols(), SCIPgetCurvatureNonlinear(), SCIPgetExprgraphNonlinear(), SCIPgetExprtreeCurvaturesNonlinear(), SCIPgetNAllBilinearTermsQuadratic(), SCIPgetNCountedFeasSubtrees(), SCIPgetNCountedSols(), SCIPgetNCountedSolsstr(), SCIPgetObjConshdlr(), SCIPincludeNonlinconsUpgrade(), SCIPincludeQuadconsUpgrade(), SCIPmakeSOS1sFeasible(), SCIPpropCumulativeCondition(), SCIPseparateRelaxedKnapsack(), SCIPsetBinaryVarIndicator(), SCIPsetLinearConsIndicator(), SCIPsetSolveCumulative(), SCIPsolveCumulative(), separateConstraints(), separateIISRounding(), separateIndicators(), separateInequalities(), separatePerspective(), separatePoint(), separateSOS1(), splitOffLinearPart(), tightenWeights(), upgradeLinearSuperindicator(), and upgradeSuperindicator().

◆ SCIPconshdlrSetData()

SCIP_EXPORT void SCIPconshdlrSetData ( SCIP_CONSHDLR conshdlr,
SCIP_CONSHDLRDATA conshdlrdata 
)

sets user data of constraint handler; user has to free old data in advance!

Parameters
conshdlrconstraint handler
conshdlrdatanew constraint handler user data

Definition at line 4209 of file cons.c.

References SCIP_Conshdlr::conshdlrdata, NULL, and SCIPconshdlrSetSepa().

Referenced by SCIP_DECL_CONSFREE(), SCIP_DECL_CONSHDLRCOPY(), and SCIPconshdlrGetData().

◆ SCIPconshdlrSetSepa()

SCIP_EXPORT void SCIPconshdlrSetSepa ( SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSSEPALP((*conssepalp))  ,
SCIP_DECL_CONSSEPASOL((*conssepasol))  ,
int  sepafreq,
int  sepapriority,
SCIP_Bool  delaysepa 
)

sets all separation related callbacks of the constraint handler

Parameters
conshdlrconstraint handler
sepafreqfrequency for separating cuts; zero means to separate only in the root node
sepaprioritypriority of the constraint handler for separation
delaysepashould separation method be delayed, if other separators found cuts?

Definition at line 4220 of file cons.c.

References SCIP_Conshdlr::delaysepa, NULL, SCIPconshdlrSetProp(), SCIP_Conshdlr::sepafreq, and SCIP_Conshdlr::sepapriority.

Referenced by SCIPconshdlrSetData(), and SCIPsetConshdlrSepa().

◆ SCIPconshdlrSetProp()

SCIP_EXPORT void SCIPconshdlrSetProp ( SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSPROP((*consprop))  ,
int  propfreq,
SCIP_Bool  delayprop,
SCIP_PROPTIMING  timingmask 
)

sets both the propagation callback and the propagation frequency of the constraint handler

Parameters
conshdlrconstraint handler
propfreqfrequency for propagating domains; zero means only preprocessing propagation
delaypropshould propagation method be delayed, if other propagators found reductions?
timingmaskpositions in the node solving loop where propagators should be executed

Definition at line 4241 of file cons.c.

References SCIP_Conshdlr::delayprop, NULL, SCIP_Conshdlr::propfreq, SCIP_Conshdlr::proptiming, and SCIPconshdlrSetEnforelax().

Referenced by SCIPconshdlrSetSepa(), and SCIPsetConshdlrProp().

◆ SCIPconshdlrSetEnforelax()

SCIP_EXPORT void SCIPconshdlrSetEnforelax ( SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSENFORELAX((*consenforelax))   
)

sets the relaxation enforcement method of the constraint handler

sets copy method of both the constraint handler and each associated constraint

Parameters
conshdlrconstraint handler

Definition at line 4260 of file cons.c.

References NULL, and SCIPconshdlrSetCopy().

Referenced by SCIPconshdlrSetProp(), and SCIPsetConshdlrEnforelax().

◆ SCIPconshdlrGetConss()

SCIP_EXPORT SCIP_CONS** SCIPconshdlrGetConss ( SCIP_CONSHDLR conshdlr)

gets array with constraints of constraint handler; the first SCIPconshdlrGetNActiveConss() entries are the active constraints, the last SCIPconshdlrGetNConss() - SCIPconshdlrGetNActiveConss() constraints are deactivated

Note
A constraint is active if it is global and was not removed or it was added locally (in that case the local flag is TRUE) and the current node belongs to the corresponding sub tree.
Parameters
conshdlrconstraint handler

Definition at line 4551 of file cons.c.

References SCIP_Conshdlr::conss, NULL, and SCIPconshdlrGetEnfoConss().

Referenced by addBranchingDecisionConss(), addKnapsackConstraints(), addLinearConstraints(), addLogicOrConstraints(), addSetppcConstraints(), addVarboundConstraints(), calcNonZeros(), checkBounddisjunction(), checkFeasSubtree(), checkKnapsack(), checkLogicor(), checkVarbound(), computeAndConstraintInfos(), computeRanks(), countNonlinearities(), createCoveringProblem(), createSubSCIP(), getDiveBdChgsSOS1constraints(), makeSOS1conflictgraphFeasible(), makeSOS1constraintsFeasible(), packingUpgrade(), presolveAddKKTKnapsackConss(), presolveAddKKTLogicorConss(), presolveAddKKTSetppcConss(), presolveAddKKTVarboundConss(), reformReplaceNode(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSGETDIVEBDCHGS(), SCIP_DECL_CONSPROP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PARAMCHGD(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), SCIPconshdlrSetGetDiveBdChgs(), SCIPcopyConss(), SCIPmakeIndicatorsFeasible(), SCIPpermuteProb(), SCIPreaderWrite(), SCIPStpConshdlrSetGraph(), SCIPwriteLp(), setupAndSolveSubscipRapidlearning(), strengthenOrbitopeConstraint(), tightenVarsBoundsSOS1(), writeOpbConstraints(), and writeOpbObjective().

◆ SCIPconshdlrGetEnfoConss()

SCIP_EXPORT SCIP_CONS** SCIPconshdlrGetEnfoConss ( SCIP_CONSHDLR conshdlr)

gets array with enforced constraints of constraint handler; this is local information

Parameters
conshdlrconstraint handler

Definition at line 4561 of file cons.c.

References SCIP_Conshdlr::enfoconss, NULL, and SCIPconshdlrGetCheckConss().

Referenced by SCIPconshdlrGetConss(), and SCIPreaderWrite().

◆ SCIPconshdlrGetCheckConss()

SCIP_EXPORT SCIP_CONS** SCIPconshdlrGetCheckConss ( SCIP_CONSHDLR conshdlr)

gets array with checked constraints of constraint handler; this is local information

Parameters
conshdlrconstraint handler

Definition at line 4571 of file cons.c.

References SCIP_Conshdlr::checkconss, NULL, and SCIPconshdlrGetUpdateConss().

Referenced by calcNonZeros(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), SCIPconshdlrGetEnfoConss(), SCIPcopyConss(), and SCIPmatrixCreate().

◆ SCIPconshdlrGetUpdateConss()

SCIP_EXPORT SCIP_CONS** SCIPconshdlrGetUpdateConss ( SCIP_CONSHDLR conshdlr)

gets array with delayed update constraints

Attention
Usually, there should be no need to access this array. Use this only if you are absolutely sure what you are doing.
Parameters
conshdlrconstraint handler

Definition at line 4584 of file cons.c.

References NULL, SCIPconshdlrGetNConss(), and SCIP_Conshdlr::updateconss.

Referenced by reformReplaceNode(), and SCIPconshdlrGetCheckConss().

◆ SCIPconshdlrGetNConss()

◆ SCIPconshdlrGetNEnfoConss()

SCIP_EXPORT int SCIPconshdlrGetNEnfoConss ( SCIP_CONSHDLR conshdlr)

gets number of enforced constraints of constraint handler; this is local information

Parameters
conshdlrconstraint handler

Definition at line 4604 of file cons.c.

References SCIP_Conshdlr::nenfoconss, NULL, and SCIPconshdlrGetNCheckConss().

Referenced by SCIPconshdlrGetNConss(), and SCIPreaderWrite().

◆ SCIPconshdlrGetNCheckConss()

SCIP_EXPORT int SCIPconshdlrGetNCheckConss ( SCIP_CONSHDLR conshdlr)

gets number of checked constraints of constraint handler; this is local information

Parameters
conshdlrconstraint handler

Definition at line 4614 of file cons.c.

References SCIP_Conshdlr::ncheckconss, NULL, and SCIPconshdlrGetNActiveConss().

Referenced by calcNonZeros(), SCIPapplyLockFixings(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), SCIPconshdlrGetNEnfoConss(), SCIPcopyConss(), SCIPgetNCheckConss(), SCIPincludePresolMILP(), and SCIPmatrixCreate().

◆ SCIPconshdlrGetNActiveConss()

SCIP_EXPORT int SCIPconshdlrGetNActiveConss ( SCIP_CONSHDLR conshdlr)

◆ SCIPconshdlrGetNEnabledConss()

SCIP_EXPORT int SCIPconshdlrGetNEnabledConss ( SCIP_CONSHDLR conshdlr)

gets number of enabled constraints of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4638 of file cons.c.

References SCIP_Conshdlr::nenabledconss, NULL, and SCIPconshdlrGetNUpdateConss().

Referenced by checkBounddisjunction(), checkFeasSubtree(), checkKnapsack(), checkLogicor(), checkVarbound(), and SCIPconshdlrGetNActiveConss().

◆ SCIPconshdlrGetNUpdateConss()

SCIP_EXPORT int SCIPconshdlrGetNUpdateConss ( SCIP_CONSHDLR conshdlr)

gets number of constraints that have delayed updates

Parameters
conshdlrconstraint handler

Definition at line 4648 of file cons.c.

References NULL, SCIP_Conshdlr::nupdateconss, and SCIPconshdlrEnableOrDisableClocks().

Referenced by reformReplaceNode(), reformulate(), and SCIPconshdlrGetNEnabledConss().

◆ SCIPconshdlrGetSetupTime()

SCIP_EXPORT SCIP_Real SCIPconshdlrGetSetupTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for setting up this constraint handler for new stages

Parameters
conshdlrconstraint handler

Definition at line 4678 of file cons.c.

References NULL, SCIP_Real, SCIPclockGetTime(), SCIPconshdlrGetPresolTime(), and SCIP_Conshdlr::setuptime.

Referenced by SCIPconshdlrEnableOrDisableClocks(), SCIPprintConstraintTimingStatistics(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetPresolTime()

SCIP_EXPORT SCIP_Real SCIPconshdlrGetPresolTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for presolving in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4688 of file cons.c.

References NULL, SCIP_Conshdlr::presoltime, SCIP_Real, SCIPclockGetTime(), and SCIPconshdlrGetSepaTime().

Referenced by SCIPconshdlrGetSetupTime(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetSepaTime()

SCIP_EXPORT SCIP_Real SCIPconshdlrGetSepaTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for separation in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4698 of file cons.c.

References NULL, SCIP_Real, SCIPclockGetTime(), SCIPconshdlrGetEnfoLPTime(), and SCIP_Conshdlr::sepatime.

Referenced by SCIPconshdlrGetPresolTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetEnfoLPTime()

SCIP_EXPORT SCIP_Real SCIPconshdlrGetEnfoLPTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for LP enforcement in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4708 of file cons.c.

References SCIP_Conshdlr::enfolptime, NULL, SCIP_Real, SCIPclockGetTime(), and SCIPconshdlrGetEnfoPSTime().

Referenced by SCIPconshdlrGetSepaTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetEnfoPSTime()

SCIP_EXPORT SCIP_Real SCIPconshdlrGetEnfoPSTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for pseudo enforcement in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4718 of file cons.c.

References SCIP_Conshdlr::enfopstime, NULL, SCIP_Real, SCIPclockGetTime(), and SCIPconshdlrGetEnfoRelaxTime().

Referenced by SCIPconshdlrGetEnfoLPTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetEnfoRelaxTime()

SCIP_EXPORT SCIP_Real SCIPconshdlrGetEnfoRelaxTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for relaxation enforcement in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4728 of file cons.c.

References SCIP_Conshdlr::enforelaxtime, NULL, SCIP_Real, SCIPclockGetTime(), and SCIPconshdlrGetPropTime().

Referenced by SCIPconshdlrGetEnfoPSTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetPropTime()

SCIP_EXPORT SCIP_Real SCIPconshdlrGetPropTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for propagation in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4738 of file cons.c.

References NULL, SCIP_Conshdlr::proptime, SCIP_Real, SCIPclockGetTime(), and SCIPconshdlrGetStrongBranchPropTime().

Referenced by SCIPconshdlrGetEnfoRelaxTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetStrongBranchPropTime()

SCIP_EXPORT SCIP_Real SCIPconshdlrGetStrongBranchPropTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for propagation in this constraint handler during strong branching

Parameters
conshdlrconstraint handler

Definition at line 4748 of file cons.c.

References NULL, SCIP_Conshdlr::sbproptime, SCIP_Real, SCIPclockGetTime(), and SCIPconshdlrGetCheckTime().

Referenced by SCIPconshdlrGetPropTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetCheckTime()

SCIP_EXPORT SCIP_Real SCIPconshdlrGetCheckTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for feasibility checking in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4758 of file cons.c.

References SCIP_Conshdlr::checktime, NULL, SCIP_Real, SCIPclockGetTime(), and SCIPconshdlrGetRespropTime().

Referenced by SCIPconshdlrGetStrongBranchPropTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetRespropTime()

SCIP_EXPORT SCIP_Real SCIPconshdlrGetRespropTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for resolving propagation in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4768 of file cons.c.

References NULL, SCIP_Conshdlr::resproptime, SCIP_Longint, SCIPclockGetTime(), and SCIPconshdlrGetNSepaCalls().

Referenced by SCIPconshdlrGetCheckTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetNSepaCalls()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNSepaCalls ( SCIP_CONSHDLR conshdlr)

gets number of calls to the constraint handler's separation method

Parameters
conshdlrconstraint handler

Definition at line 4778 of file cons.c.

References SCIP_Conshdlr::nsepacalls, NULL, SCIP_Longint, and SCIPconshdlrGetNEnfoLPCalls().

Referenced by SCIPconshdlrGetRespropTime(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNEnfoLPCalls()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNEnfoLPCalls ( SCIP_CONSHDLR conshdlr)

gets number of calls to the constraint handler's LP enforcing method

Parameters
conshdlrconstraint handler

Definition at line 4788 of file cons.c.

References SCIP_Conshdlr::nenfolpcalls, NULL, SCIP_Longint, and SCIPconshdlrGetNEnfoPSCalls().

Referenced by SCIPconshdlrGetNSepaCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNEnfoPSCalls()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNEnfoPSCalls ( SCIP_CONSHDLR conshdlr)

gets number of calls to the constraint handler's pseudo enforcing method

Parameters
conshdlrconstraint handler

Definition at line 4798 of file cons.c.

References SCIP_Conshdlr::nenfopscalls, NULL, SCIP_Longint, and SCIPconshdlrGetNEnfoRelaxCalls().

Referenced by SCIPconshdlrGetNEnfoLPCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNEnfoRelaxCalls()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNEnfoRelaxCalls ( SCIP_CONSHDLR conshdlr)

gets number of calls to the constraint handler's relaxation enforcing method

Parameters
conshdlrconstraint handler

Definition at line 4808 of file cons.c.

References SCIP_Conshdlr::nenforelaxcalls, NULL, SCIP_Longint, and SCIPconshdlrGetNPropCalls().

Referenced by SCIPconshdlrGetNEnfoPSCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNPropCalls()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNPropCalls ( SCIP_CONSHDLR conshdlr)

gets number of calls to the constraint handler's propagation method

Parameters
conshdlrconstraint handler

Definition at line 4818 of file cons.c.

References SCIP_Conshdlr::npropcalls, NULL, SCIP_Longint, and SCIPconshdlrGetNCheckCalls().

Referenced by SCIPconshdlrGetNEnfoRelaxCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNCheckCalls()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNCheckCalls ( SCIP_CONSHDLR conshdlr)

gets number of calls to the constraint handler's checking method

Parameters
conshdlrconstraint handler

Definition at line 4828 of file cons.c.

References SCIP_Conshdlr::ncheckcalls, NULL, SCIP_Longint, and SCIPconshdlrGetNRespropCalls().

Referenced by SCIPconshdlrGetNPropCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNRespropCalls()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNRespropCalls ( SCIP_CONSHDLR conshdlr)

gets number of calls to the constraint handler's resolve propagation method

Parameters
conshdlrconstraint handler

Definition at line 4838 of file cons.c.

References SCIP_Conshdlr::nrespropcalls, NULL, SCIP_Longint, and SCIPconshdlrGetNCutoffs().

Referenced by SCIPconshdlrGetNCheckCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNCutoffs()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNCutoffs ( SCIP_CONSHDLR conshdlr)

gets total number of times, this constraint handler detected a cutoff

Parameters
conshdlrconstraint handler

Definition at line 4848 of file cons.c.

References SCIP_Conshdlr::ncutoffs, NULL, SCIP_Longint, and SCIPconshdlrGetNCutsFound().

Referenced by SCIPconshdlrGetNRespropCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNCutsFound()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNCutsFound ( SCIP_CONSHDLR conshdlr)

gets total number of cuts found by this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4858 of file cons.c.

References SCIP_Conshdlr::ncutsfound, NULL, SCIP_Longint, and SCIPconshdlrGetNCutsApplied().

Referenced by SCIPconshdlrGetNCutoffs(), SCIPprintConstraintStatistics(), separateSequLiftedExtendedWeightInequality(), separateSequLiftedMinimalCoverInequality(), and separateSupLiftedMinimalCoverInequality().

◆ SCIPconshdlrGetNCutsApplied()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNCutsApplied ( SCIP_CONSHDLR conshdlr)

gets total number of cuts found by this constraint handler applied to lp

Parameters
conshdlrconstraint handler

Definition at line 4868 of file cons.c.

References SCIP_Conshdlr::ncutsapplied, NULL, and SCIPconshdlrIncNAppliedCuts().

Referenced by SCIPconshdlrGetNCutsFound(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNConssFound()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNConssFound ( SCIP_CONSHDLR conshdlr)

gets total number of additional constraints added by this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4898 of file cons.c.

References SCIP_Conshdlr::nconssfound, NULL, SCIP_Longint, and SCIPconshdlrGetNDomredsFound().

Referenced by SCIPconshdlrIncNCutsFound(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNDomredsFound()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNDomredsFound ( SCIP_CONSHDLR conshdlr)

gets total number of domain reductions found by this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4908 of file cons.c.

References SCIP_Conshdlr::ndomredsfound, NULL, SCIP_Longint, and SCIPconshdlrGetNChildren().

Referenced by SCIPconshdlrGetNConssFound(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNChildren()

SCIP_EXPORT SCIP_Longint SCIPconshdlrGetNChildren ( SCIP_CONSHDLR conshdlr)

gets number of children created by this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4918 of file cons.c.

References SCIP_Conshdlr::nchildren, NULL, and SCIPconshdlrGetMaxNActiveConss().

Referenced by SCIPconshdlrGetNDomredsFound(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetMaxNActiveConss()

SCIP_EXPORT int SCIPconshdlrGetMaxNActiveConss ( SCIP_CONSHDLR conshdlr)

gets maximum number of active constraints of constraint handler existing at the same time

Parameters
conshdlrconstraint handler

Definition at line 4928 of file cons.c.

References SCIP_Conshdlr::maxnactiveconss, NULL, and SCIPconshdlrGetStartNActiveConss().

Referenced by SCIPconshdlrGetNChildren(), SCIPprintConstraintStatistics(), SCIPprintConstraintTimingStatistics(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetStartNActiveConss()

SCIP_EXPORT int SCIPconshdlrGetStartNActiveConss ( SCIP_CONSHDLR conshdlr)

gets initial number of active constraints of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4938 of file cons.c.

References NULL, SCIPconshdlrGetNFixedVars(), and SCIP_Conshdlr::startnactiveconss.

Referenced by SCIPconshdlrGetMaxNActiveConss(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNFixedVars()

SCIP_EXPORT int SCIPconshdlrGetNFixedVars ( SCIP_CONSHDLR conshdlr)

gets number of variables fixed in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4948 of file cons.c.

References SCIP_Conshdlr::nfixedvars, NULL, and SCIPconshdlrGetNAggrVars().

Referenced by SCIPconshdlrGetStartNActiveConss(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNAggrVars()

SCIP_EXPORT int SCIPconshdlrGetNAggrVars ( SCIP_CONSHDLR conshdlr)

gets number of variables aggregated in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4958 of file cons.c.

References SCIP_Conshdlr::naggrvars, NULL, and SCIPconshdlrGetNChgVarTypes().

Referenced by SCIPconshdlrGetNFixedVars(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNChgVarTypes()

SCIP_EXPORT int SCIPconshdlrGetNChgVarTypes ( SCIP_CONSHDLR conshdlr)

gets number of variable types changed in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4968 of file cons.c.

References SCIP_Conshdlr::nchgvartypes, NULL, and SCIPconshdlrGetNChgBds().

Referenced by SCIPconshdlrGetNAggrVars(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNChgBds()

SCIP_EXPORT int SCIPconshdlrGetNChgBds ( SCIP_CONSHDLR conshdlr)

gets number of bounds changed in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4978 of file cons.c.

References SCIP_Conshdlr::nchgbds, NULL, and SCIPconshdlrGetNAddHoles().

Referenced by SCIPconshdlrGetNChgVarTypes(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNAddHoles()

SCIP_EXPORT int SCIPconshdlrGetNAddHoles ( SCIP_CONSHDLR conshdlr)

gets number of holes added to domains of variables in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4988 of file cons.c.

References SCIP_Conshdlr::naddholes, NULL, and SCIPconshdlrGetNDelConss().

Referenced by SCIPconshdlrGetNChgBds(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNDelConss()

SCIP_EXPORT int SCIPconshdlrGetNDelConss ( SCIP_CONSHDLR conshdlr)

gets number of constraints deleted in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4998 of file cons.c.

References SCIP_Conshdlr::ndelconss, NULL, and SCIPconshdlrGetNAddConss().

Referenced by SCIPconshdlrGetNAddHoles(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNAddConss()

SCIP_EXPORT int SCIPconshdlrGetNAddConss ( SCIP_CONSHDLR conshdlr)

gets number of constraints added in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5008 of file cons.c.

References SCIP_Conshdlr::naddconss, NULL, and SCIPconshdlrGetNUpgdConss().

Referenced by SCIPconshdlrGetNDelConss(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNUpgdConss()

SCIP_EXPORT int SCIPconshdlrGetNUpgdConss ( SCIP_CONSHDLR conshdlr)

gets number of constraints upgraded in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5018 of file cons.c.

References NULL, SCIP_Conshdlr::nupgdconss, and SCIPconshdlrGetNChgCoefs().

Referenced by SCIPconshdlrGetNAddConss(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNChgCoefs()

SCIP_EXPORT int SCIPconshdlrGetNChgCoefs ( SCIP_CONSHDLR conshdlr)

gets number of coefficients changed in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5028 of file cons.c.

References SCIP_Conshdlr::nchgcoefs, NULL, and SCIPconshdlrGetNChgSides().

Referenced by SCIPconshdlrGetNUpgdConss(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNChgSides()

SCIP_EXPORT int SCIPconshdlrGetNChgSides ( SCIP_CONSHDLR conshdlr)

gets number of constraint sides changed in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5038 of file cons.c.

References SCIP_Conshdlr::nchgsides, NULL, and SCIPconshdlrGetNPresolCalls().

Referenced by SCIPconshdlrGetNChgCoefs(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNPresolCalls()

SCIP_EXPORT int SCIPconshdlrGetNPresolCalls ( SCIP_CONSHDLR conshdlr)

gets number of times the presolving method of the constraint handler was called and tried to find reductions

Parameters
conshdlrconstraint handler

Definition at line 5048 of file cons.c.

References SCIP_Conshdlr::npresolcalls, NULL, and SCIPconshdlrGetSepaPriority().

Referenced by SCIPconshdlrGetNChgSides(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetSepaPriority()

SCIP_EXPORT int SCIPconshdlrGetSepaPriority ( SCIP_CONSHDLR conshdlr)

gets separation priority of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5058 of file cons.c.

References NULL, SCIPconshdlrGetEnfoPriority(), and SCIP_Conshdlr::sepapriority.

Referenced by SCIP_DECL_DIALOGEXEC(), SCIPconshdlrGetNPresolCalls(), SCIPsetConshdlrSepa(), SCIPsetIncludeConshdlr(), and separationRoundLP().

◆ SCIPconshdlrGetEnfoPriority()

SCIP_EXPORT int SCIPconshdlrGetEnfoPriority ( SCIP_CONSHDLR conshdlr)

gets enforcing priority of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5068 of file cons.c.

References SCIP_Conshdlr::enfopriority, NULL, and SCIPconshdlrGetCheckPriority().

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPconshdlrGetSepaPriority().

◆ SCIPconshdlrGetCheckPriority()

SCIP_EXPORT int SCIPconshdlrGetCheckPriority ( SCIP_CONSHDLR conshdlr)

gets checking priority of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5078 of file cons.c.

References SCIP_Conshdlr::checkpriority, NULL, and SCIPconshdlrGetSepaFreq().

Referenced by checkSolOrig(), SCIP_DECL_DIALOGEXEC(), SCIPconshdlrGetEnfoPriority(), and SCIPsetIncludeBenders().

◆ SCIPconshdlrGetSepaFreq()

SCIP_EXPORT int SCIPconshdlrGetSepaFreq ( SCIP_CONSHDLR conshdlr)

gets separation frequency of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5088 of file cons.c.

References NULL, SCIPconshdlrGetPropFreq(), and SCIP_Conshdlr::sepafreq.

Referenced by branchBalancedCardinality(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_DIALOGEXEC(), and SCIPconshdlrGetCheckPriority().

◆ SCIPconshdlrGetPropFreq()

SCIP_EXPORT int SCIPconshdlrGetPropFreq ( SCIP_CONSHDLR conshdlr)

gets propagation frequency of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5098 of file cons.c.

References NULL, SCIP_Conshdlr::propfreq, and SCIPconshdlrGetEagerFreq().

Referenced by SCIP_DECL_CONSPROP(), SCIP_DECL_DIALOGEXEC(), and SCIPconshdlrGetSepaFreq().

◆ SCIPconshdlrGetEagerFreq()

SCIP_EXPORT int SCIPconshdlrGetEagerFreq ( SCIP_CONSHDLR conshdlr)

gets frequency of constraint handler for eager evaluations in separation, propagation and enforcement

Parameters
conshdlrconstraint handler

Definition at line 5108 of file cons.c.

References SCIP_Conshdlr::eagerfreq, NULL, SCIP_Bool, and SCIPconshdlrNeedsCons().

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPconshdlrGetPropFreq().

◆ SCIPconshdlrNeedsCons()

SCIP_EXPORT SCIP_Bool SCIPconshdlrNeedsCons ( SCIP_CONSHDLR conshdlr)

needs constraint handler a constraint to be called?

Parameters
conshdlrconstraint handler

Definition at line 5118 of file cons.c.

References SCIP_Conshdlr::needscons, NULL, SCIP_Bool, and SCIPconshdlrDoesPresolve().

Referenced by checkSolOrig(), SCIP_DECL_PARAMCHGD(), SCIPconshdlrGetEagerFreq(), SCIPprintConstraintStatistics(), SCIPprintConstraintTimingStatistics(), SCIPprintPresolverStatistics(), SCIPprobFree(), and SCIPprobTransform().

◆ SCIPconshdlrDoesPresolve()

SCIP_EXPORT SCIP_Bool SCIPconshdlrDoesPresolve ( SCIP_CONSHDLR conshdlr)

does the constraint handler perform presolving?

Parameters
conshdlrconstraint handler

Definition at line 5128 of file cons.c.

References NULL, SCIP_Bool, and SCIPconshdlrIsSeparationDelayed().

Referenced by SCIPconshdlrNeedsCons(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrIsSeparationDelayed()

SCIP_EXPORT SCIP_Bool SCIPconshdlrIsSeparationDelayed ( SCIP_CONSHDLR conshdlr)

should separation method be delayed, if other separators found cuts?

Parameters
conshdlrconstraint handler

Definition at line 5138 of file cons.c.

References SCIP_Conshdlr::delaysepa, NULL, SCIP_Bool, and SCIPconshdlrIsPropagationDelayed().

Referenced by SCIPconshdlrDoesPresolve().

◆ SCIPconshdlrIsPropagationDelayed()

SCIP_EXPORT SCIP_Bool SCIPconshdlrIsPropagationDelayed ( SCIP_CONSHDLR conshdlr)

should propagation method be delayed, if other propagators found reductions?

Parameters
conshdlrconstraint handler

Definition at line 5148 of file cons.c.

References SCIP_Conshdlr::delayprop, NULL, SCIP_Bool, and SCIPconshdlrWasLPSeparationDelayed().

Referenced by SCIPconshdlrIsSeparationDelayed().

◆ SCIPconshdlrWasLPSeparationDelayed()

SCIP_EXPORT SCIP_Bool SCIPconshdlrWasLPSeparationDelayed ( SCIP_CONSHDLR conshdlr)

was LP separation method delayed at the last call?

Parameters
conshdlrconstraint handler

Definition at line 5158 of file cons.c.

References NULL, SCIP_Bool, SCIPconshdlrWasSolSeparationDelayed(), and SCIP_Conshdlr::sepalpwasdelayed.

Referenced by SCIPconshdlrIsPropagationDelayed(), and separationRoundLP().

◆ SCIPconshdlrWasSolSeparationDelayed()

SCIP_EXPORT SCIP_Bool SCIPconshdlrWasSolSeparationDelayed ( SCIP_CONSHDLR conshdlr)

was primal solution separation method delayed at the last call?

Parameters
conshdlrconstraint handler

Definition at line 5168 of file cons.c.

References NULL, SCIP_Bool, SCIPconshdlrWasPropagationDelayed(), and SCIP_Conshdlr::sepasolwasdelayed.

Referenced by SCIPconshdlrWasLPSeparationDelayed(), and separationRoundSol().

◆ SCIPconshdlrWasPropagationDelayed()

SCIP_EXPORT SCIP_Bool SCIPconshdlrWasPropagationDelayed ( SCIP_CONSHDLR conshdlr)

was propagation method delayed at the last call?

Parameters
conshdlrconstraint handler

Definition at line 5178 of file cons.c.

References NULL, SCIP_Conshdlr::propwasdelayed, SCIP_Bool, and SCIPconshdlrIsInitialized().

Referenced by propagationRound(), and SCIPconshdlrWasSolSeparationDelayed().

◆ SCIPconshdlrIsInitialized()

SCIP_EXPORT SCIP_Bool SCIPconshdlrIsInitialized ( SCIP_CONSHDLR conshdlr)

is constraint handler initialized?

Parameters
conshdlrconstraint handler

Definition at line 5188 of file cons.c.

References SCIP_Conshdlr::initialized, NULL, SCIP_Bool, and SCIPconshdlrIsClonable().

Referenced by SCIPconshdlrWasPropagationDelayed(), and SCIPsetIncludeBenders().

◆ SCIPconshdlrIsClonable()

SCIP_EXPORT SCIP_Bool SCIPconshdlrIsClonable ( SCIP_CONSHDLR conshdlr)

does the constraint handler have a copy function?

Parameters
conshdlrconstraint handler

Definition at line 5198 of file cons.c.

References NULL, and SCIPconshdlrGetPropTiming().

Referenced by SCIP_DECL_PARAMCHGD(), and SCIPconshdlrIsInitialized().

◆ SCIPconshdlrGetPropTiming()

SCIP_EXPORT SCIP_PROPTIMING SCIPconshdlrGetPropTiming ( SCIP_CONSHDLR conshdlr)

returns the timing mask of the propagation method of the constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5208 of file cons.c.

References NULL, SCIP_Conshdlr::proptiming, and SCIPconshdlrSetPropTiming().

Referenced by propagationRound(), and SCIPconshdlrIsClonable().

◆ SCIPconssetchgGetAddedConsData()

SCIP_EXPORT void SCIPconssetchgGetAddedConsData ( SCIP_CONSSETCHG conssetchg,
SCIP_CONS ***  conss,
int *  nconss 
)

gets added constraints data for a constraint set change

Parameters
conssetchgconstraint set change to get data from
conssreference to constraints array added in the conssetchg, or NULL
nconssreference to store the size of the constraints array, or NULL

Definition at line 5532 of file cons.c.

References SCIP_ConsSetChg::addedconss, SCIP_ConsSetChg::naddedconss, NULL, and SCIPconssetchgApply().

Referenced by conssetchgDelDisabledCons().

◆ SCIPconshdlrSetPropTiming()

SCIP_EXPORT void SCIPconshdlrSetPropTiming ( SCIP_CONSHDLR conshdlr,
SCIP_PROPTIMING  proptiming 
)

sets the timing mask of the propagation method of the constraint handler

Parameters
conshdlrconstraint handler
proptimingtiming mask to be set

Definition at line 5218 of file cons.c.

References NULL, SCIP_Conshdlr::proptiming, and SCIPconshdlrGetPresolTiming().

Referenced by SCIPconshdlrGetPropTiming().

◆ SCIPconshdlrGetPresolTiming()

SCIP_EXPORT SCIP_PRESOLTIMING SCIPconshdlrGetPresolTiming ( SCIP_CONSHDLR conshdlr)

returns the timing mask of the presolving method of the constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5230 of file cons.c.

References NULL, SCIP_Conshdlr::presoltiming, and SCIPconshdlrSetPresolTiming().

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPconshdlrSetPropTiming().

◆ SCIPconshdlrSetPresolTiming()

SCIP_EXPORT void SCIPconshdlrSetPresolTiming ( SCIP_CONSHDLR conshdlr,
SCIP_PRESOLTIMING  presoltiming 
)

sets the timing mask of the presolving method of the constraint handler

Parameters
conshdlrconstraint handler
presoltimingtiming mask to be set

Definition at line 5240 of file cons.c.

References conssetchgCreate(), NULL, and SCIP_Conshdlr::presoltiming.

Referenced by SCIPconshdlrGetPresolTiming().

◆ SCIPincludeConshdlr()

SCIP_EXPORT SCIP_RETCODE SCIPincludeConshdlr ( SCIP scip,
const char *  name,
const char *  desc,
int  sepapriority,
int  enfopriority,
int  chckpriority,
int  sepafreq,
int  propfreq,
int  eagerfreq,
int  maxprerounds,
SCIP_Bool  delaysepa,
SCIP_Bool  delayprop,
SCIP_Bool  needscons,
SCIP_PROPTIMING  proptiming,
SCIP_PRESOLTIMING  presoltiming,
SCIP_DECL_CONSHDLRCOPY((*conshdlrcopy))  ,
SCIP_DECL_CONSFREE((*consfree))  ,
SCIP_DECL_CONSINIT((*consinit))  ,
SCIP_DECL_CONSEXIT((*consexit))  ,
SCIP_DECL_CONSINITPRE((*consinitpre))  ,
SCIP_DECL_CONSEXITPRE((*consexitpre))  ,
SCIP_DECL_CONSINITSOL((*consinitsol))  ,
SCIP_DECL_CONSEXITSOL((*consexitsol))  ,
SCIP_DECL_CONSDELETE((*consdelete))  ,
SCIP_DECL_CONSTRANS((*constrans))  ,
SCIP_DECL_CONSINITLP((*consinitlp))  ,
SCIP_DECL_CONSSEPALP((*conssepalp))  ,
SCIP_DECL_CONSSEPASOL((*conssepasol))  ,
SCIP_DECL_CONSENFOLP((*consenfolp))  ,
SCIP_DECL_CONSENFORELAX((*consenforelax))  ,
SCIP_DECL_CONSENFOPS((*consenfops))  ,
SCIP_DECL_CONSCHECK((*conscheck))  ,
SCIP_DECL_CONSPROP((*consprop))  ,
SCIP_DECL_CONSPRESOL((*conspresol))  ,
SCIP_DECL_CONSRESPROP((*consresprop))  ,
SCIP_DECL_CONSLOCK((*conslock))  ,
SCIP_DECL_CONSACTIVE((*consactive))  ,
SCIP_DECL_CONSDEACTIVE((*consdeactive))  ,
SCIP_DECL_CONSENABLE((*consenable))  ,
SCIP_DECL_CONSDISABLE((*consdisable))  ,
SCIP_DECL_CONSDELVARS((*consdelvars))  ,
SCIP_DECL_CONSPRINT((*consprint))  ,
SCIP_DECL_CONSCOPY((*conscopy))  ,
SCIP_DECL_CONSPARSE((*consparse))  ,
SCIP_DECL_CONSGETVARS((*consgetvars))  ,
SCIP_DECL_CONSGETNVARS((*consgetnvars))  ,
SCIP_DECL_CONSGETDIVEBDCHGS((*consgetdivebdchgs))  ,
SCIP_CONSHDLRDATA conshdlrdata 
)

creates a constraint handler and includes it in SCIP.

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Note
method has all constraint handler callbacks as arguments and is thus changed every time a new callback is added in future releases; consider using SCIPincludeConshdlrBasic() and setter functions if you seek for a method which is less likely to change in future releases
Parameters
scipSCIP data structure
namename of constraint handler
descdescription of constraint handler
sepaprioritypriority of the constraint handler for separation
enfoprioritypriority of the constraint handler for constraint enforcing
chckprioritypriority of the constraint handler for checking feasibility (and propagation)
sepafreqfrequency for separating cuts; zero means to separate only in the root node
propfreqfrequency for propagating domains; zero means only preprocessing propagation
eagerfreqfrequency for using all instead of only the useful constraints in separation, propagation and enforcement, -1 for no eager evaluations, 0 for first only
maxpreroundsmaximal number of presolving rounds the constraint handler participates in (-1: no limit)
delaysepashould separation method be delayed, if other separators found cuts?
delaypropshould propagation method be delayed, if other propagators found reductions?
needsconsshould the constraint handler be skipped, if no constraints are available?
proptimingpositions in the node solving loop where propagation method of constraint handlers should be executed
presoltimingtiming mask of the constraint handler's presolving method
conshdlrdataconstraint handler data

Definition at line 73 of file scip_cons.c.

References FALSE, Scip::mem, Scip::messagehdlr, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrCreate(), SCIPerrorMessage, SCIPfindConshdlr(), SCIPsetIncludeConshdlr(), Scip::set, SCIP_Mem::setmem, and TRUE.

Referenced by SCIPincludeConshdlrOptcumulative(), and SCIPincludeObjConshdlr().

◆ SCIPincludeConshdlrBasic()

SCIP_EXPORT SCIP_RETCODE SCIPincludeConshdlrBasic ( SCIP scip,
SCIP_CONSHDLR **  conshdlrptr,
const char *  name,
const char *  desc,
int  enfopriority,
int  chckpriority,
int  eagerfreq,
SCIP_Bool  needscons,
SCIP_DECL_CONSENFOLP((*consenfolp))  ,
SCIP_DECL_CONSENFOPS((*consenfops))  ,
SCIP_DECL_CONSCHECK((*conscheck))  ,
SCIP_DECL_CONSLOCK((*conslock))  ,
SCIP_CONSHDLRDATA conshdlrdata 
)

creates a constraint handler and includes it in SCIP. All non-fundamental (or optional) callbacks will be set to NULL. Optional callbacks can be set via specific setter functions, see SCIPsetConshdlrInit(), SCIPsetConshdlrExit(), SCIPsetConshdlrCopy(), SCIPsetConshdlrFree(), SCIPsetConshdlrInitsol(), SCIPsetConshdlrExitsol(), SCIPsetConshdlrInitpre(), SCIPsetConshdlrExitpre(), SCIPsetConshdlrPresol(), SCIPsetConshdlrDelete(), SCIPsetConshdlrDelvars(), SCIPsetConshdlrInitlp(), SCIPsetConshdlrActive(), SCIPsetConshdlrDeactive(), SCIPsetConshdlrEnable(), SCIPsetConshdlrDisable(), SCIPsetConshdlrResprop(), SCIPsetConshdlrTrans(), SCIPsetConshdlrPrint(), SCIPsetConshdlrParse(), SCIPsetConshdlrGetVars(), SCIPsetConshdlrGetNVars(), and SCIPsetConshdlrGetDiveBdChgs().

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Note
if you want to set all callbacks with a single method call, consider using SCIPincludeConshdlr() instead
Parameters
scipSCIP data structure
conshdlrptrreference to a constraint handler pointer, or NULL
namename of constraint handler
descdescription of constraint handler
enfoprioritypriority of the constraint handler for constraint enforcing
chckprioritypriority of the constraint handler for checking feasibility (and propagation)
eagerfreqfrequency for using all instead of only the useful constraints in separation, propagation and enforcement, -1 for no eager evaluations, 0 for first only
needsconsshould the constraint handler be skipped, if no constraints are available?
conshdlrdataconstraint handler data

Definition at line 166 of file scip_cons.c.

References FALSE, Scip::mem, Scip::messagehdlr, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_PRESOLTIMING_ALWAYS, SCIP_PROPTIMING_BEFORELP, SCIPcheckStage(), SCIPconshdlrCreate(), SCIPerrorMessage, SCIPfindConshdlr(), SCIPsetIncludeConshdlr(), Scip::set, SCIP_Mem::setmem, and TRUE.

Referenced by COLORincludeConshdlrStoreGraph(), includeConshdlrCountsols(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrBenderslp(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrIntegral(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrStp(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), SCIPincludeConshdlrViolatedCut(), and SCIPincludeConshdlrXor().

◆ SCIPsetConshdlrSepa()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrSepa ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSSEPALP((*conssepalp))  ,
SCIP_DECL_CONSSEPASOL((*conssepasol))  ,
int  sepafreq,
int  sepapriority,
SCIP_Bool  delaysepa 
)

sets all separation related callbacks/parameters of the constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler
sepafreqfrequency for separating cuts; zero means to separate only in the root node
sepaprioritypriority of the constraint handler for separation
delaysepashould separation method be delayed, if other separators found cuts?

Definition at line 220 of file scip_cons.c.

References FALSE, NULL, paramname, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrGetName(), SCIPconshdlrGetSepaPriority(), SCIPconshdlrSetSepa(), SCIPsetReinsertConshdlrSepaPrio(), SCIPsetSetDefaultBoolParam(), SCIPsetSetDefaultIntParam(), SCIPsnprintf(), Scip::set, and TRUE.

Referenced by SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrStp(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().

◆ SCIPsetConshdlrProp()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrProp ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSPROP((*consprop))  ,
int  propfreq,
SCIP_Bool  delayprop,
SCIP_PROPTIMING  proptiming 
)

sets both the propagation callback and the propagation frequency of the constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler
propfreqfrequency for propagating domains; zero means only preprocessing propagation
delaypropshould propagation method be delayed, if other propagators found reductions?
proptimingpositions in the node solving loop where propagation should be executed

Definition at line 266 of file scip_cons.c.

References FALSE, NULL, paramname, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrGetName(), SCIPconshdlrSetProp(), SCIPsetSetDefaultBoolParam(), SCIPsetSetDefaultIntParam(), SCIPsnprintf(), Scip::set, and TRUE.

Referenced by COLORincludeConshdlrStoreGraph(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrStp(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().

◆ SCIPsetConshdlrEnforelax()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrEnforelax ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSENFORELAX((*consenforelax))   
)

◆ SCIPsetConshdlrCopy()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrCopy ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSHDLRCOPY((*conshdlrcopy))  ,
SCIP_DECL_CONSCOPY((*conscopy))   
)

◆ SCIPsetConshdlrFree()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrFree ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSFREE((*consfree))   
)

◆ SCIPsetConshdlrInit()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrInit ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSINIT((*consinit))   
)

sets initialization method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 381 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetInit(), and TRUE.

Referenced by includeConshdlrCountsols(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrQuadratic(), and SCIPincludeConshdlrSOC().

◆ SCIPsetConshdlrExit()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrExit ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSEXIT((*consexit))   
)

sets deinitialization method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 405 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetExit(), and TRUE.

Referenced by includeConshdlrCountsols(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrQuadratic(), and SCIPincludeConshdlrSOC().

◆ SCIPsetConshdlrInitsol()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrInitsol ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSINITSOL((*consinitsol))   
)

sets solving process initialization method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 429 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetInitsol(), and TRUE.

Referenced by COLORincludeConshdlrStoreGraph(), includeConshdlrCountsols(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrStp(), and SCIPincludeConshdlrSymresack().

◆ SCIPsetConshdlrExitsol()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrExitsol ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSEXITSOL((*consexitsol))   
)

sets solving process deinitialization method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 453 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetExitsol(), and TRUE.

Referenced by COLORincludeConshdlrStoreGraph(), includeConshdlrCountsols(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().

◆ SCIPsetConshdlrInitpre()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrInitpre ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSINITPRE((*consinitpre))   
)

sets preprocessing initialization method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 477 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetInitpre(), and TRUE.

Referenced by SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSuperindicator(), and SCIPincludeConshdlrXor().

◆ SCIPsetConshdlrExitpre()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrExitpre ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSEXITPRE((*consexitpre))   
)

sets preprocessing deinitialization method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 501 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetExitpre(), and TRUE.

Referenced by SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), and SCIPincludeConshdlrXor().

◆ SCIPsetConshdlrPresol()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrPresol ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSPRESOL((*conspresol))  ,
int  maxprerounds,
SCIP_PRESOLTIMING  presoltiming 
)

sets presolving method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler
maxpreroundsmaximal number of presolving rounds the constraint handler participates in (-1: no limit)
presoltimingtiming mask of the constraint handler's presolving method

Definition at line 525 of file scip_cons.c.

References FALSE, NULL, paramname, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrGetName(), SCIPconshdlrSetPresol(), SCIPsetSetDefaultIntParam(), SCIPsnprintf(), Scip::set, and TRUE.

Referenced by SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().

◆ SCIPsetConshdlrDelete()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrDelete ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSDELETE((*consdelete))   
)

◆ SCIPsetConshdlrTrans()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrTrans ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSTRANS((*constrans))   
)

◆ SCIPsetConshdlrInitlp()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrInitlp ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSINITLP((*consinitlp))   
)

sets method of constraint handler to initialize LP with relaxations of "initial" constraints

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 609 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetInitlp(), and TRUE.

Referenced by SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrStp(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().

◆ SCIPsetConshdlrResprop()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrResprop ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSRESPROP((*consresprop))   
)

sets propagation conflict resolving method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 632 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetResprop(), and TRUE.

Referenced by SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().

◆ SCIPsetConshdlrActive()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrActive ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSACTIVE((*consactive))   
)

sets activation notification method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 655 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetActive(), and TRUE.

Referenced by COLORincludeConshdlrStoreGraph(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrNonlinear(), and SCIPincludeConshdlrSamediff().

◆ SCIPsetConshdlrDeactive()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrDeactive ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSDEACTIVE((*consdeactive))   
)

sets deactivation notification method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 678 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetDeactive(), and TRUE.

Referenced by COLORincludeConshdlrStoreGraph(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrNonlinear(), and SCIPincludeConshdlrSamediff().

◆ SCIPsetConshdlrEnable()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrEnable ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSENABLE((*consenable))   
)

sets enabling notification method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 701 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetEnable(), and TRUE.

Referenced by SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrNonlinear(), and SCIPincludeConshdlrQuadratic().

◆ SCIPsetConshdlrDisable()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrDisable ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSDISABLE((*consdisable))   
)

sets disabling notification method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 724 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetDisable(), and TRUE.

Referenced by SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrNonlinear(), and SCIPincludeConshdlrQuadratic().

◆ SCIPsetConshdlrDelvars()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrDelvars ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSDELVARS((*consdelvars))   
)

sets variable deletion method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 747 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetDelvars(), and TRUE.

◆ SCIPsetConshdlrPrint()

◆ SCIPsetConshdlrParse()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrParse ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSPARSE((*consparse))   
)

◆ SCIPsetConshdlrGetVars()

◆ SCIPsetConshdlrGetNVars()

◆ SCIPsetConshdlrGetDiveBdChgs()

SCIP_EXPORT SCIP_RETCODE SCIPsetConshdlrGetDiveBdChgs ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSGETDIVEBDCHGS((*consgetdivebdchgs))   
)

sets diving enforcement method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:

sets diving bound change method of constraint handler

Returns
SCIP_OKAY is returned if everything worked. Otherwise a suitable error code is passed. See SCIP_RETCODE for a complete list of error codes.
Precondition
This method can be called if SCIP is in one of the following stages:
Parameters
scipSCIP data structure
conshdlrconstraint handler

Definition at line 862 of file scip_cons.c.

References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetGetDiveBdChgs(), and TRUE.

Referenced by SCIPincludeConshdlrIndicator(), and SCIPincludeConshdlrIntegral().

◆ SCIPfindConshdlr()

SCIP_EXPORT SCIP_CONSHDLR* SCIPfindConshdlr ( SCIP scip,
const char *  name 
)

returns the constraint handler of the given name, or NULL if not existing

returns the constraint handler of the given name, or NULL if not existing returns the constraint handler of the given name, or NULL if not existing

Parameters
scipSCIP data structure
namename of constraint handler

Definition at line 877 of file scip_cons.c.

References NULL, SCIPsetFindConshdlr(), and Scip::set.

Referenced by addCoef(), addLinearConstraintsToNlp(), addRelaxation(), addSlackVarsToConstraints(), applyAlternativeBoundsFixing(), cancelRow(), checkConsQuadraticProblem(), checkOverloadViaThetaTree(), checkSubproblemConvexity(), COLORconsGetActiveStoreGraphCons(), COLORconsGetComplementaryGraph(), COLORconsGetCurrentGraph(), COLORconsGetRepresentative(), COLORconsGetRepresentatives(), COLORconsGetStack(), COLORconsGetUnion(), COLORconsGetUnions(), COLORcreateConsStoreGraph(), computeAndConstraintInfos(), computeEffectiveHorizon(), computeRanks(), consdataCreate(), copyConsPseudoboolean(), coretimesUpdateLb(), coretimesUpdateUb(), countNonlinearities(), createAndAddLinearCons(), createAndAddTransferredCut(), createConsComponents(), createConsSetppc(), createConsStoreGraphAtRoot(), createConsXorIntvar(), createCoreProfile(), createCoveringProblem(), createSubscip(), createSubSCIP(), findCumulativeConss(), findPrecedenceConss(), generateAndApplyBendersIntegerCuts(), generateAndApplyBendersNogoodCut(), getNSymhandableConss(), inferboundsEdgeFinding(), isFiniteNonnegativeIntegral(), orbisackUpgrade(), packingUpgrade(), presolRoundConsSOS1(), presolveAddKKTKnapsackConss(), presolveAddKKTLogicorConss(), presolveAddKKTSetppcConss(), presolveAddKKTVarboundConss(), presolveConsEst(), presolveConsLct(), propagateLbTTEF(), propagateTimetable(), propagateTTEF(), propagateUbTTEF(), readCnf(), removeIrrelevantJobs(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSHDLRCOPY(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINIT(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_QUADCONSUPGD(), SCIP_DECL_SEPAEXITSOL(), SCIPaddBilinearIneqQuadratic(), SCIPapplyHeurDualval(), SCIPapplyLockFixings(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), SCIPcopyCuts(), SCIPcreateConsAbspower(), SCIPcreateConsAnd(), SCIPcreateConsBivariate(), SCIPcreateConsBounddisjunction(), SCIPcreateConsCardinality(), SCIPcreateConsConjunction(), SCIPcreateConsCumulative(), SCIPcreateConsDisjunction(), SCIPcreateConsIndicator(), SCIPcreateConsIndicatorLinCons(), SCIPcreateConsKnapsack(), SCIPcreateConsLinear(), SCIPcreateConsLinking(), SCIPcreateConsLogicor(), SCIPcreateConsLOP(), SCIPcreateConsNonlinear(), SCIPcreateConsNonlinear2(), SCIPcreateConsOptcumulative(), SCIPcreateConsOr(), SCIPcreateConsOrbisack(), SCIPcreateConsOrbitope(), SCIPcreateConsPseudoboolean(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateConsQuadratic(), SCIPcreateConsQuadratic2(), SCIPcreateConsSamediff(), SCIPcreateConsSOC(), SCIPcreateConsSOS1(), SCIPcreateConsSOS2(), SCIPcreateConsStp(), tsp::SCIPcreateConsSubtour(), SCIPcreateConsSuperindicator(), SCIPcreateConsSymresack(), SCIPcreateConsVarbound(), SCIPcreateConsXor(), SCIPexistsConsLinking(), SCIPfindObjConshdlr(), SCIPgenerateAndApplyBendersOptCut(), SCIPgetAllBilinearTermsQuadratic(), SCIPgetConsLinking(), SCIPgetCountedSparseSols(), SCIPgetNAllBilinearTermsQuadratic(), SCIPgetNCountedFeasSubtrees(), SCIPgetNCountedSols(), SCIPgetNCountedSolsstr(), SCIPincludeConshdlr(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBasic(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrVarbound(), SCIPincludeConshdlrXor(), SCIPincludeNonlinconsUpgrade(), SCIPincludePresolMILP(), SCIPincludePricerBinpacking(), SCIPincludeQuadconsUpgrade(), SCIPperformGenericDivingAlgorithm(), SCIPpropCumulativeCondition(), SCIPseparateRelaxedKnapsack(), SCIPsetCommonSubscipParams(), SCIPsetSolveCumulative(), SCIPsolve(), SCIPsolveCumulative(), SCIPStpConshdlrSetGraph(), SCIPStpDualAscent(), SCIPStpDualAscentPcMw(), SCIPwriteLp(), SCIPwriteMps(), SCIPwriteOpb(), separateCons(), setSubscipParameters(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipMutation(), setupAndSolveSubscipRapidlearning(), setupSubproblem(), setupSubScip(), strengthenOrbitopeConstraint(), tightenVarsBoundsSOS1(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), wrapperDins(), wrapperRins(), writeOpbConstraints(), and writeOpbObjective().

◆ SCIPgetConshdlrs()

SCIP_EXPORT SCIP_CONSHDLR** SCIPgetConshdlrs ( SCIP scip)

returns the array of currently available constraint handlers

Parameters
scipSCIP data structure

Definition at line 890 of file scip_cons.c.

References SCIP_Set::conshdlrs, NULL, and Scip::set.

Referenced by checkFeasSubtree(), SCIP_DECL_DIALOGEXEC(), SCIPcopyConss(), SCIPgetNCheckConss(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPmatrixCreate(), and SCIPpermuteProb().

◆ SCIPgetNConshdlrs()

SCIP_EXPORT int SCIPgetNConshdlrs ( SCIP scip)

returns the number of currently available constraint handlers

Parameters
scipSCIP data structure

Definition at line 901 of file scip_cons.c.

References SCIP_Set::nconshdlrs, NULL, and Scip::set.

Referenced by checkFeasSubtree(), SCIP_DECL_DIALOGEXEC(), SCIPcopyConss(), SCIPgetNCheckConss(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPmatrixCreate(), and SCIPpermuteProb().