Scippy

SCIP

Solving Constraint Integer Programs

Detailed Description

methods for constraint handlers

Functions

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

Function Documentation

◆ SCIP_DECL_SORTPTRCOMP() [1/3]

SCIP_DECL_SORTPTRCOMP ( SCIPconshdlrCompSepa  )

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

Definition at line 1950 of file cons.c.

Referenced by conshdlrAddUpdateCons().

◆ SCIP_DECL_SORTPTRCOMP() [2/3]

SCIP_DECL_SORTPTRCOMP ( SCIPconshdlrCompEnfo  )

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

Definition at line 1956 of file cons.c.

◆ SCIP_DECL_SORTPTRCOMP() [3/3]

SCIP_DECL_SORTPTRCOMP ( SCIPconshdlrCompCheck  )

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

Definition at line 1962 of file cons.c.

◆ SCIPconshdlrGetName()

const char* SCIPconshdlrGetName ( SCIP_CONSHDLR conshdlr)

gets name of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4191 of file cons.c.

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

Referenced by addAltLPConstraint(), addAltLPRow(), addObjcut(), checkBounddisjunction(), checkConsnames(), checkFeasSubtree(), checkKnapsack(), checkLogicor(), checkVarbound(), computeAndConstraintInfos(), computeSymmetryGroup(), consdataCollectLinkingCons(), 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(), processIntegerBoundChg(), 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(), SCIPaddCoefKnapsack(), SCIPaddCoefLinear(), SCIPaddCoefLogicor(), SCIPaddCoefPseudoboolean(), SCIPaddCoefSetppc(), SCIPaddConsElemConjunction(), SCIPaddConsElemDisjunction(), SCIPaddLinearConsIndicator(), SCIPaddRowIndicator(), SCIPaddTermPseudoboolean(), SCIPaddVarCardinality(), SCIPaddVarIndicator(), SCIPaddVarSOS1(), SCIPaddVarSOS2(), SCIPappendVarCardinality(), SCIPappendVarSOS2(), SCIPchgAndConsCheckFlagWhenUpgr(), SCIPchgAndConsRemovableFlagWhenUpgr(), SCIPchgBilinCoefQuadratic(), SCIPchgCapacityKnapsack(), SCIPchgCardvalCardinality(), SCIPchgLhsLinear(), SCIPchgLhsPseudoboolean(), SCIPchgLhsQuadratic(), SCIPchgLinearCoefQuadratic(), SCIPchgRhsLinear(), SCIPchgRhsPseudoboolean(), SCIPchgRhsQuadratic(), SCIPchgSquareCoefQuadratic(), SCIPconflictstoreCleanNewIncumbent(), SCIPconsGetDualfarkas(), SCIPconsGetDualsol(), SCIPconsGetLhs(), SCIPconsGetRhs(), SCIPconsGetRow(), SCIPconshdlrCopyInclude(), SCIPconshdlrUnlockVars(), SCIPcopyConsLinear(), SCIPcopyConss(), SCIPcreateConsIndicatorLinCons(), SCIPcreateConsSuperindicator(), SCIPdelCoefLinear(), SCIPgetActivityQuadratic(), SCIPgetAndDatasPseudoboolean(), SCIPgetBinaryVarIndicator(), SCIPgetBinaryVarSuperindicator(), SCIPgetBinvarsLinking(), SCIPgetBoundsBounddisjunction(), SCIPgetBoundtypesBounddisjunction(), SCIPgetCapacityCumulative(), SCIPgetCardvalCardinality(), SCIPgetCoefLinearAbspower(), SCIPgetConsVals(), SCIPgetDemandsCumulative(), SCIPgetDualfarkasKnapsack(), SCIPgetDualfarkasLogicor(), SCIPgetDualfarkasSetppc(), SCIPgetDualfarkasVarbound(), SCIPgetDualsolKnapsack(), SCIPgetDualsolLogicor(), SCIPgetDualsolSetppc(), SCIPgetDualSolVal(), SCIPgetDualsolVarbound(), SCIPgetDurationsCumulative(), SCIPgetExponentAbspower(), SCIPgetFeasibilityQuadratic(), SCIPgetHmaxCumulative(), SCIPgetHminCumulative(), SCIPgetIndVarPseudoboolean(), SCIPgetIntvarLinking(), SCIPgetIntVarXor(), SCIPgetLhsAbspower(), SCIPgetLhsPseudoboolean(), SCIPgetLhsVarbound(), SCIPgetLinDatasWithoutAndPseudoboolean(), SCIPgetLinearConsIndicator(), SCIPgetLinearConsPseudoboolean(), SCIPgetLinearConsTypePseudoboolean(), SCIPgetLinearVarAbspower(), SCIPgetNAndsPseudoboolean(), SCIPgetNBinvarsLinking(), SCIPgetNFixedonesSetppc(), SCIPgetNLinVarsWithoutAndPseudoboolean(), SCIPgetNlRowAbspower(), SCIPgetNonlinearVarAbspower(), SCIPgetNVarsAnd(), SCIPgetNVarsBounddisjunction(), SCIPgetNVarsCardinality(), SCIPgetNVarsCumulative(), SCIPgetNVarsKnapsack(), SCIPgetNVarsLogicor(), SCIPgetNVarsOr(), SCIPgetNVarsSetppc(), SCIPgetNVarsSOS2(), SCIPgetNVarsXor(), SCIPgetOffsetAbspower(), SCIPgetResultantAnd(), SCIPgetResultantOr(), SCIPgetRhsAbspower(), SCIPgetRhsPseudoboolean(), SCIPgetRhsVarbound(), SCIPgetRhsXor(), SCIPgetRowLogicor(), SCIPgetRowSetppc(), SCIPgetRowVarbound(), SCIPgetSlackConsSuperindicator(), SCIPgetSlackVarIndicator(), SCIPgetTypeSetppc(), SCIPgetValsLinking(), SCIPgetVarsAnd(), SCIPgetVarsBounddisjunction(), SCIPgetVarsCardinality(), SCIPgetVarsCumulative(), SCIPgetVarsKnapsack(), SCIPgetVarsLogicor(), SCIPgetVarsOr(), SCIPgetVarsSetppc(), SCIPgetVarsSOS2(), SCIPgetVarsXor(), SCIPgetVarVarbound(), SCIPgetVbdcoefVarbound(), SCIPgetVbdvarVarbound(), SCIPgetViolationAbspower(), SCIPgetWeightsCardinality(), SCIPgetWeightsKnapsack(), SCIPgetWeightsSOS2(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPisAndConsSorted(), SCIPisDualSolAvailable(), SCIPmakeIndicatorFeasible(), SCIPmakeIndicatorsFeasible(), SCIPmakeSOS1sFeasible(), SCIPmatrixCreate(), SCIPpresolve(), SCIPprintConstraintStatistics(), SCIPprintConstraintTimingStatistics(), SCIPprintPresolverStatistics(), SCIPreaderWrite(), SCIPreadProb(), SCIPsetBinaryVarIndicator(), SCIPsetConshdlrPresol(), SCIPsetConshdlrProp(), SCIPsetConshdlrSepa(), SCIPsetHmaxCumulative(), SCIPsetHminCumulative(), 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()

const char* SCIPconshdlrGetDesc ( SCIP_CONSHDLR conshdlr)

gets description of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4201 of file cons.c.

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

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

◆ SCIPconshdlrGetData()

SCIP_CONSHDLRDATA* SCIPconshdlrGetData ( SCIP_CONSHDLR conshdlr)

gets user data of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4211 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(), 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(), 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()

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 4221 of file cons.c.

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

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

◆ SCIPconshdlrSetSepa()

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 4232 of file cons.c.

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

Referenced by SCIPconshdlrSetData(), and SCIPsetConshdlrSepa().

◆ SCIPconshdlrSetProp()

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 4253 of file cons.c.

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

Referenced by SCIPconshdlrSetSepa(), and SCIPsetConshdlrProp().

◆ SCIPconshdlrSetEnforelax()

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 4272 of file cons.c.

References NULL, and SCIPconshdlrSetCopy().

Referenced by SCIPconshdlrSetProp(), and SCIPsetConshdlrEnforelax().

◆ SCIPconshdlrGetConss()

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 4563 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(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSGETDIVEBDCHGS(), SCIP_DECL_CONSPROP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PARAMCHGD(), SCIPconshdlrSetGetDiveBdChgs(), SCIPcopyConss(), SCIPmakeIndicatorsFeasible(), SCIPpermuteProb(), SCIPreaderWrite(), SCIPStpConshdlrSetGraph(), SCIPwriteLp(), setupAndSolveSubscipRapidlearning(), strenghtenOrbitopeConstraint(), tightenVarsBoundsSOS1(), writeOpbConstraints(), and writeOpbObjective().

◆ SCIPconshdlrGetEnfoConss()

SCIP_CONS** SCIPconshdlrGetEnfoConss ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4573 of file cons.c.

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

Referenced by SCIPconshdlrGetConss(), and SCIPreaderWrite().

◆ SCIPconshdlrGetCheckConss()

SCIP_CONS** SCIPconshdlrGetCheckConss ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4583 of file cons.c.

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

Referenced by calcNonZeros(), SCIPconshdlrGetEnfoConss(), SCIPcopyConss(), and SCIPmatrixCreate().

◆ SCIPconshdlrGetNConss()

◆ SCIPconshdlrGetNEnfoConss()

int SCIPconshdlrGetNEnfoConss ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4603 of file cons.c.

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

Referenced by SCIPconshdlrGetNConss(), and SCIPreaderWrite().

◆ SCIPconshdlrGetNCheckConss()

int SCIPconshdlrGetNCheckConss ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4613 of file cons.c.

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

Referenced by calcNonZeros(), SCIPapplyLockFixings(), SCIPconshdlrGetNEnfoConss(), SCIPcopyConss(), SCIPgetNCheckConss(), and SCIPmatrixCreate().

◆ SCIPconshdlrGetNActiveConss()

int SCIPconshdlrGetNActiveConss ( SCIP_CONSHDLR conshdlr)

gets number of active constraints of constraint handler

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 4627 of file cons.c.

References SCIP_Conshdlr::nactiveconss, NULL, and SCIPconshdlrGetNEnabledConss().

Referenced by addKnapsackConstraints(), addLinearConstraints(), addLogicOrConstraints(), addSetppcConstraints(), addVarboundConstraints(), calcNonZeros(), checkBounddisjunction(), checkKnapsack(), checkLogicor(), checkVarbound(), countNonlinearities(), createCoveringProblem(), getNSymhandableConss(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPROP(), SCIPapplyUndercover(), SCIPconshdlrGetNCheckConss(), SCIPcopyConss(), SCIPpermuteProb(), SCIPpresolve(), and SCIPtransformProb().

◆ SCIPconshdlrGetNEnabledConss()

int SCIPconshdlrGetNEnabledConss ( SCIP_CONSHDLR conshdlr)

gets number of enabled constraints of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4637 of file cons.c.

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

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

◆ SCIPconshdlrGetSetupTime()

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 4667 of file cons.c.

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

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

◆ SCIPconshdlrGetPresolTime()

SCIP_Real SCIPconshdlrGetPresolTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for presolving in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4677 of file cons.c.

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

Referenced by SCIPconshdlrGetSetupTime(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetSepaTime()

SCIP_Real SCIPconshdlrGetSepaTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for separation in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4687 of file cons.c.

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

Referenced by SCIPconshdlrGetPresolTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetEnfoLPTime()

SCIP_Real SCIPconshdlrGetEnfoLPTime ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4697 of file cons.c.

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

Referenced by SCIPconshdlrGetSepaTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetEnfoPSTime()

SCIP_Real SCIPconshdlrGetEnfoPSTime ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4707 of file cons.c.

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

Referenced by SCIPconshdlrGetEnfoLPTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetEnfoRelaxTime()

SCIP_Real SCIPconshdlrGetEnfoRelaxTime ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4717 of file cons.c.

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

Referenced by SCIPconshdlrGetEnfoPSTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetPropTime()

SCIP_Real SCIPconshdlrGetPropTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for propagation in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4727 of file cons.c.

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

Referenced by SCIPconshdlrGetEnfoRelaxTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetStrongBranchPropTime()

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 4737 of file cons.c.

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

Referenced by SCIPconshdlrGetPropTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetCheckTime()

SCIP_Real SCIPconshdlrGetCheckTime ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4747 of file cons.c.

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

Referenced by SCIPconshdlrGetStrongBranchPropTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetRespropTime()

SCIP_Real SCIPconshdlrGetRespropTime ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4757 of file cons.c.

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

Referenced by SCIPconshdlrGetCheckTime(), and SCIPprintConstraintTimingStatistics().

◆ SCIPconshdlrGetNSepaCalls()

SCIP_Longint SCIPconshdlrGetNSepaCalls ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4767 of file cons.c.

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

Referenced by SCIPconshdlrGetRespropTime(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNEnfoLPCalls()

SCIP_Longint SCIPconshdlrGetNEnfoLPCalls ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4777 of file cons.c.

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

Referenced by SCIPconshdlrGetNSepaCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNEnfoPSCalls()

SCIP_Longint SCIPconshdlrGetNEnfoPSCalls ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4787 of file cons.c.

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

Referenced by SCIPconshdlrGetNEnfoLPCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNEnfoRelaxCalls()

SCIP_Longint SCIPconshdlrGetNEnfoRelaxCalls ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4797 of file cons.c.

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

Referenced by SCIPconshdlrGetNEnfoPSCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNPropCalls()

SCIP_Longint SCIPconshdlrGetNPropCalls ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4807 of file cons.c.

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

Referenced by SCIPconshdlrGetNEnfoRelaxCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNCheckCalls()

SCIP_Longint SCIPconshdlrGetNCheckCalls ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4817 of file cons.c.

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

Referenced by SCIPconshdlrGetNPropCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNRespropCalls()

SCIP_Longint SCIPconshdlrGetNRespropCalls ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4827 of file cons.c.

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

Referenced by SCIPconshdlrGetNCheckCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNCutoffs()

SCIP_Longint SCIPconshdlrGetNCutoffs ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4837 of file cons.c.

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

Referenced by SCIPconshdlrGetNRespropCalls(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNCutsFound()

SCIP_Longint SCIPconshdlrGetNCutsFound ( SCIP_CONSHDLR conshdlr)

gets total number of cuts found by this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4847 of file cons.c.

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

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

◆ SCIPconshdlrGetNCutsApplied()

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 4857 of file cons.c.

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

Referenced by SCIPconshdlrGetNCutsFound(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNConssFound()

SCIP_Longint SCIPconshdlrGetNConssFound ( SCIP_CONSHDLR conshdlr)

gets total number of additional constraints added by this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4887 of file cons.c.

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

Referenced by SCIPconshdlrIncNCutsFound(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNDomredsFound()

SCIP_Longint SCIPconshdlrGetNDomredsFound ( SCIP_CONSHDLR conshdlr)

gets total number of domain reductions found by this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4897 of file cons.c.

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

Referenced by SCIPconshdlrGetNConssFound(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNChildren()

SCIP_Longint SCIPconshdlrGetNChildren ( SCIP_CONSHDLR conshdlr)

gets number of children created by this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4907 of file cons.c.

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

Referenced by SCIPconshdlrGetNDomredsFound(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetMaxNActiveConss()

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 4917 of file cons.c.

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

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

◆ SCIPconshdlrGetStartNActiveConss()

int SCIPconshdlrGetStartNActiveConss ( SCIP_CONSHDLR conshdlr)

gets initial number of active constraints of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4927 of file cons.c.

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

Referenced by SCIPconshdlrGetMaxNActiveConss(), and SCIPprintConstraintStatistics().

◆ SCIPconshdlrGetNFixedVars()

int SCIPconshdlrGetNFixedVars ( SCIP_CONSHDLR conshdlr)

gets number of variables fixed in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4937 of file cons.c.

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

Referenced by SCIPconshdlrGetStartNActiveConss(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNAggrVars()

int SCIPconshdlrGetNAggrVars ( SCIP_CONSHDLR conshdlr)

gets number of variables aggregated in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4947 of file cons.c.

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

Referenced by SCIPconshdlrGetNFixedVars(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNChgVarTypes()

int SCIPconshdlrGetNChgVarTypes ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4957 of file cons.c.

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

Referenced by SCIPconshdlrGetNAggrVars(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNChgBds()

int SCIPconshdlrGetNChgBds ( SCIP_CONSHDLR conshdlr)

gets number of bounds changed in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4967 of file cons.c.

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

Referenced by SCIPconshdlrGetNChgVarTypes(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNAddHoles()

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 4977 of file cons.c.

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

Referenced by SCIPconshdlrGetNChgBds(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNDelConss()

int SCIPconshdlrGetNDelConss ( SCIP_CONSHDLR conshdlr)

gets number of constraints deleted in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4987 of file cons.c.

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

Referenced by SCIPconshdlrGetNAddHoles(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNAddConss()

int SCIPconshdlrGetNAddConss ( SCIP_CONSHDLR conshdlr)

gets number of constraints added in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4997 of file cons.c.

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

Referenced by SCIPconshdlrGetNDelConss(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNUpgdConss()

int SCIPconshdlrGetNUpgdConss ( SCIP_CONSHDLR conshdlr)

gets number of constraints upgraded in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5007 of file cons.c.

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

Referenced by SCIPconshdlrGetNAddConss(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNChgCoefs()

int SCIPconshdlrGetNChgCoefs ( SCIP_CONSHDLR conshdlr)

gets number of coefficients changed in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5017 of file cons.c.

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

Referenced by SCIPconshdlrGetNUpgdConss(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNChgSides()

int SCIPconshdlrGetNChgSides ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 5027 of file cons.c.

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

Referenced by SCIPconshdlrGetNChgCoefs(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetNPresolCalls()

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 5037 of file cons.c.

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

Referenced by SCIPconshdlrGetNChgSides(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrGetSepaPriority()

int SCIPconshdlrGetSepaPriority ( SCIP_CONSHDLR conshdlr)

gets separation priority of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5047 of file cons.c.

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

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

◆ SCIPconshdlrGetEnfoPriority()

int SCIPconshdlrGetEnfoPriority ( SCIP_CONSHDLR conshdlr)

gets enforcing priority of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5057 of file cons.c.

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

Referenced by SCIP_DECL_DIALOGEXEC(), SCIPconshdlrGetSepaPriority(), and SCIPsetFindBenders().

◆ SCIPconshdlrGetCheckPriority()

int SCIPconshdlrGetCheckPriority ( SCIP_CONSHDLR conshdlr)

gets checking priority of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5067 of file cons.c.

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

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

◆ SCIPconshdlrGetSepaFreq()

int SCIPconshdlrGetSepaFreq ( SCIP_CONSHDLR conshdlr)

gets separation frequency of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5077 of file cons.c.

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

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

◆ SCIPconshdlrGetPropFreq()

int SCIPconshdlrGetPropFreq ( SCIP_CONSHDLR conshdlr)

gets propagation frequency of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 5087 of file cons.c.

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

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

◆ SCIPconshdlrGetEagerFreq()

int SCIPconshdlrGetEagerFreq ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 5097 of file cons.c.

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

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPconshdlrGetPropFreq().

◆ SCIPconshdlrNeedsCons()

SCIP_Bool SCIPconshdlrNeedsCons ( SCIP_CONSHDLR conshdlr)

needs constraint handler a constraint to be called?

Parameters
conshdlrconstraint handler

Definition at line 5107 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_Bool SCIPconshdlrDoesPresolve ( SCIP_CONSHDLR conshdlr)

does the constraint handler perform presolving?

Parameters
conshdlrconstraint handler

Definition at line 5117 of file cons.c.

References NULL, SCIP_Bool, and SCIPconshdlrIsSeparationDelayed().

Referenced by SCIPconshdlrNeedsCons(), and SCIPprintPresolverStatistics().

◆ SCIPconshdlrIsSeparationDelayed()

SCIP_Bool SCIPconshdlrIsSeparationDelayed ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 5127 of file cons.c.

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

Referenced by SCIPconshdlrDoesPresolve().

◆ SCIPconshdlrIsPropagationDelayed()

SCIP_Bool SCIPconshdlrIsPropagationDelayed ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 5137 of file cons.c.

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

Referenced by SCIPconshdlrIsSeparationDelayed().

◆ SCIPconshdlrWasLPSeparationDelayed()

SCIP_Bool SCIPconshdlrWasLPSeparationDelayed ( SCIP_CONSHDLR conshdlr)

was LP separation method delayed at the last call?

Parameters
conshdlrconstraint handler

Definition at line 5147 of file cons.c.

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

Referenced by SCIPconshdlrIsPropagationDelayed(), and separationRoundLP().

◆ SCIPconshdlrWasSolSeparationDelayed()

SCIP_Bool SCIPconshdlrWasSolSeparationDelayed ( SCIP_CONSHDLR conshdlr)

was primal solution separation method delayed at the last call?

Parameters
conshdlrconstraint handler

Definition at line 5157 of file cons.c.

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

Referenced by SCIPconshdlrWasLPSeparationDelayed(), and separationRoundSol().

◆ SCIPconshdlrWasPropagationDelayed()

SCIP_Bool SCIPconshdlrWasPropagationDelayed ( SCIP_CONSHDLR conshdlr)

was propagation method delayed at the last call?

Parameters
conshdlrconstraint handler

Definition at line 5167 of file cons.c.

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

Referenced by propagationRound(), and SCIPconshdlrWasSolSeparationDelayed().

◆ SCIPconshdlrIsInitialized()

SCIP_Bool SCIPconshdlrIsInitialized ( SCIP_CONSHDLR conshdlr)

is constraint handler initialized?

Parameters
conshdlrconstraint handler

Definition at line 5177 of file cons.c.

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

Referenced by SCIPconshdlrWasPropagationDelayed(), and SCIPsetIncludeBenders().

◆ SCIPconshdlrIsClonable()

SCIP_Bool SCIPconshdlrIsClonable ( SCIP_CONSHDLR conshdlr)

does the constraint handler have a copy function?

Parameters
conshdlrconstraint handler

Definition at line 5187 of file cons.c.

References NULL, and SCIPconshdlrGetPropTiming().

Referenced by SCIP_DECL_PARAMCHGD(), and SCIPconshdlrIsInitialized().

◆ SCIPconshdlrGetPropTiming()

SCIP_PROPTIMING SCIPconshdlrGetPropTiming ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 5197 of file cons.c.

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

Referenced by propagationRound(), and SCIPconshdlrIsClonable().

◆ SCIPconssetchgGetAddedConsData()

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 5521 of file cons.c.

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

Referenced by conssetchgDelDisabledCons().

◆ SCIPconshdlrSetPropTiming()

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 5207 of file cons.c.

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

Referenced by SCIPconshdlrGetPropTiming().

◆ SCIPconshdlrGetPresolTiming()

SCIP_PRESOLTIMING SCIPconshdlrGetPresolTiming ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 5219 of file cons.c.

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

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPconshdlrSetPropTiming().

◆ SCIPconshdlrSetPresolTiming()

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 5229 of file cons.c.

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

Referenced by SCIPconshdlrGetPresolTiming().

◆ SCIPincludeConshdlr()

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 150 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_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 243 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_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 297 of file scip_cons.c.

References FALSE, NULL, 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_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 343 of file scip_cons.c.

References FALSE, NULL, 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_RETCODE SCIPsetConshdlrEnforelax ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSENFORELAX((*consenforelax))   
)

◆ SCIPsetConshdlrCopy()

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

◆ SCIPsetConshdlrFree()

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

◆ SCIPsetConshdlrInit()

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 458 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_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 482 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_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 506 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_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 530 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_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 554 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_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 578 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_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 602 of file scip_cons.c.

References FALSE, NULL, 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_RETCODE SCIPsetConshdlrDelete ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSDELETE((*consdelete))   
)

◆ SCIPsetConshdlrTrans()

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

◆ SCIPsetConshdlrInitlp()

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 686 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_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 709 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_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 732 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_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 755 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_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 778 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_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 801 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_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 824 of file scip_cons.c.

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

◆ SCIPsetConshdlrPrint()

◆ SCIPsetConshdlrParse()

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

◆ SCIPsetConshdlrGetVars()

◆ SCIPsetConshdlrGetNVars()

SCIP_RETCODE SCIPsetConshdlrGetNVars ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSGETNVARS((*consgetnvars))   
)

◆ SCIPsetConshdlrGetDiveBdChgs()

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 939 of file scip_cons.c.

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

Referenced by SCIPincludeConshdlrIndicator(), and SCIPincludeConshdlrIntegral().

◆ SCIPfindConshdlr()

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 954 of file scip_cons.c.

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

Referenced by addCoef(), addLinearConstraintsToNlp(), addRelaxation(), applyAlternativeBoundsFixing(), cancelRow(), checkConsQuadraticProblem(), checkOverloadViaThetaTree(), 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(), generateAndApplyBendersCuts(), 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(), 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(), SCIPgetAllBilinearTermsQuadratic(), SCIPgetConsLinking(), SCIPgetCountedSparseSols(), SCIPgetNAllBilinearTermsQuadratic(), SCIPgetNCountedFeasSubtrees(), SCIPgetNCountedSols(), SCIPgetNCountedSolsstr(), SCIPincludeConshdlr(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBasic(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrVarbound(), SCIPincludeConshdlrXor(), SCIPincludeNonlinconsUpgrade(), SCIPincludePricerBinpacking(), SCIPincludeQuadconsUpgrade(), SCIPperformGenericDivingAlgorithm(), SCIPpropCumulativeCondition(), SCIPseparateRelaxedKnapsack(), SCIPsetSolveCumulative(), SCIPsolve(), SCIPsolveCumulative(), SCIPStpConshdlrSetGraph(), SCIPStpDualAscent(), SCIPStpDualAscentPcMw(), SCIPwriteLp(), SCIPwriteMps(), SCIPwriteOpb(), separateCons(), setSubscipParameters(), setupAndSolveSubscip(), setupAndSolveSubscipCrossover(), setupAndSolveSubscipLocalbranching(), setupAndSolveSubscipMutation(), setupAndSolveSubscipRapidlearning(), setupSubproblem(), setupSubScip(), strenghtenOrbitopeConstraint(), tightenVarsBoundsSOS1(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), wrapperDins(), wrapperRins(), writeOpbConstraints(), and writeOpbObjective().

◆ SCIPgetConshdlrs()

SCIP_CONSHDLR** SCIPgetConshdlrs ( SCIP scip)

returns the array of currently available constraint handlers

Parameters
scipSCIP data structure

Definition at line 967 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()

int SCIPgetNConshdlrs ( SCIP scip)

returns the number of currently available constraint handlers

Parameters
scipSCIP data structure

Definition at line 978 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().