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

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

Referenced by addAltLPConstraint(), addAltLPRow(), addObjcut(), checkBounddisjunction(), checkConsnames(), checkFeasSubtree(), checkKnapsack(), checkLogicor(), checkVarbound(), computeAndConstraintInfos(), consdataCollectLinkingCons(), consdataEnsureAddLinConsSize(), copyConsPseudoboolean(), createNAryBranch(), createNormalizedSetppc(), deleteAltLPConstraint(), enforceCardinality(), enforceConflictgraph(), enforceConssSOS1(), enforceConstraint(), enforceConstraints(), enforceCurrentSol(), enforceIndicators(), enforcePseudo(), enforceSOS2(), extractLinearValues(), freeConflictgraph(), generateBoundInequalityFromSOS1Cons(), initAlternativeLP(), initPricing(), paramsetSetPresolvingDefault(), paramsetSetPresolvingFast(), paramsetSetPresolvingOff(), paramsetSetSeparatingAggressive(), paramsetSetSeparatingDefault(), paramsetSetSeparatingOff(), presolveRound(), printConstraintStatistics(), printConstraintTimingStatistics(), printDualSol(), printPresolverStatistics(), 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_READERWRITE(), 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(), SCIPconshdlrCopyInclude(), SCIPconshdlrUnlockVars(), SCIPcopyConsLinear(), SCIPcopyConss(), SCIPcreateConsIndicatorLinCons(), SCIPcreateConsSuperindicator(), SCIPdelCoefLinear(), SCIPgetActivityQuadratic(), SCIPgetAndDatasPseudoboolean(), SCIPgetBinaryVarIndicator(), SCIPgetBinaryVarSuperindicator(), SCIPgetBinvarsLinking(), SCIPgetBoundsBounddisjunction(), SCIPgetBoundtypesBounddisjunction(), SCIPgetCapacityCumulative(), SCIPgetCardvalCardinality(), SCIPgetCoefLinearAbspower(), SCIPgetDemandsCumulative(), SCIPgetDualfarkasKnapsack(), SCIPgetDualfarkasLogicor(), SCIPgetDualfarkasSetppc(), SCIPgetDualfarkasVarbound(), SCIPgetDualsolKnapsack(), SCIPgetDualsolLogicor(), SCIPgetDualsolSetppc(), 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(), SCIPreaderWrite(), SCIPreadProb(), SCIPsetBinaryVarIndicator(), SCIPsetConshdlrPresol(), SCIPsetConshdlrProp(), SCIPsetConshdlrSepa(), SCIPsetCopyPlugins(), SCIPsetHmaxCumulative(), SCIPsetHminCumulative(), SCIPsetIncludeConshdlr(), SCIPsetLinearConsIndicator(), SCIPsetReinsertConshdlrSepaPrio(), SCIPsolCheck(), SCIPsortAndCons(), SCIPtransformMinUC(), SCIPtransformProb(), SCIPwriteCcg(), SCIPwriteGms(), SCIPwriteLp(), 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 4123 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 4133 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(), computeEffectiveHorizon(), computeGauge(), computeViolation(), computeViolations(), consdataCreate(), consdataDeletePos(), consdataEnsureAddLinConsSize(), consdataPrint(), coretimesUpdateLb(), coretimesUpdateUb(), createAndAddAndCons(), createAndAddLinearCons(), createConsSetppc(), createCoreProfile(), createNlRow(), createSubscip(), delCoefPos(), deleteAltLPConstraint(), deleteRedundantVars(), delLinearCoefPos(), delQuadVarTermPos(), detectRedundantConstraints(), detectRedundantVars(), dropLinearVarEvents(), enforceCardinality(), enforceConssSOS1(), enforceConstraint(), enforceCuts(), enforceIndicators(), enforceSOS1(), findCumulativeConss(), findPrecedenceConss(), generateBoundInequalityFromSOS1Cons(), generateCut(), generateCutSol(), generateLinearizationCut(), generateSecantCut(), generateSparseCut(), getLinVarsAndAndRess(), handleNewVariableSOS2(), inferboundsEdgeFinding(), initAlternativeLP(), preprocessConstraintPairs(), presolveConsEst(), presolveConsLct(), presolveFindDuplicates(), presolvePropagateCons(), presolveRemoveFixedVariables(), presolveTryAddAND(), presolveTryAddLinearReform(), presolveUpgrade(), processCut(), propagateBounds(), propagateBoundsCons(), propagateCons(), propagateConstraintSides(), propagateLbTTEF(), propagateTimetable(), propagateTTEF(), propagateUbTTEF(), propagateVarbounds(), proposeFeasibleSolution(), reformulate(), registerBranchingCandidates(), 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(), SCIPaddLinearConsIndicator(), SCIPaddRowIndicator(), SCIPaddVarCardinality(), SCIPaddVarSOS1(), SCIPappendVarCardinality(), SCIPcheckCurvatureNonlinear(), SCIPconshdlrGetDesc(), SCIPcreateConsAnd(), SCIPcreateConsCardinality(), SCIPcreateConsCumulative(), SCIPcreateConsIndicator(), SCIPcreateConsIndicatorLinCons(), SCIPcreateConsKnapsack(), SCIPcreateConsLinear(), SCIPcreateConsLinking(), SCIPcreateConsLogicor(), SCIPcreateConsOr(), SCIPcreateConsPseudoboolean(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateConsSOC(), SCIPcreateConsSOS1(), SCIPcreateConsSuperindicator(), SCIPcreateConsVarbound(), SCIPexistsConsLinking(), SCIPfindObjConshdlr(), SCIPgetBinvarsLinking(), SCIPgetConsLinking(), SCIPgetCountedSparseSols(), SCIPgetCurvatureNonlinear(), SCIPgetExprgraphNonlinear(), SCIPgetExprtreeCurvaturesNonlinear(), SCIPgetNCountedFeasSubtrees(), SCIPgetNCountedSols(), SCIPgetNCountedSolsstr(), SCIPgetObjConshdlr(), SCIPincludeNonlinconsUpgrade(), SCIPincludeQuadconsUpgrade(), SCIPmakeSOS1sFeasible(), SCIPpropCumulativeCondition(), SCIPseparateRelaxedKnapsack(), SCIPsetBinaryVarIndicator(), SCIPsetLinearConsIndicator(), SCIPsetSolveCumulative(), SCIPsolveCumulative(), separateIISRounding(), separateIndicators(), 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 4143 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 4154 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 4175 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 4194 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 4485 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(), 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(), SCIPwriteLp(), 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 4495 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 4505 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 4525 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 4535 of file cons.c.

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

Referenced by calcNonZeros(), 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 4549 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(), 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 4559 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 4589 of file cons.c.

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

Referenced by printConstraintTimingStatistics(), printPresolverStatistics(), and SCIPconshdlrEnableOrDisableClocks().

◆ SCIPconshdlrGetPresolTime()

SCIP_Real SCIPconshdlrGetPresolTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for presolving in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4599 of file cons.c.

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

Referenced by printPresolverStatistics(), and SCIPconshdlrGetSetupTime().

◆ SCIPconshdlrGetSepaTime()

SCIP_Real SCIPconshdlrGetSepaTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for separation in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4609 of file cons.c.

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

Referenced by printConstraintTimingStatistics(), and SCIPconshdlrGetPresolTime().

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

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

Referenced by printConstraintTimingStatistics(), and SCIPconshdlrGetSepaTime().

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

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

Referenced by printConstraintTimingStatistics(), and SCIPconshdlrGetEnfoLPTime().

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

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

Referenced by printConstraintTimingStatistics(), and SCIPconshdlrGetEnfoPSTime().

◆ SCIPconshdlrGetPropTime()

SCIP_Real SCIPconshdlrGetPropTime ( SCIP_CONSHDLR conshdlr)

gets time in seconds used for propagation in this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4649 of file cons.c.

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

Referenced by printConstraintTimingStatistics(), and SCIPconshdlrGetEnfoRelaxTime().

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

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

Referenced by printConstraintTimingStatistics(), and SCIPconshdlrGetPropTime().

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

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

Referenced by printConstraintTimingStatistics(), and SCIPconshdlrGetStrongBranchPropTime().

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

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

Referenced by printConstraintTimingStatistics(), and SCIPconshdlrGetCheckTime().

◆ SCIPconshdlrGetNSepaCalls()

SCIP_Longint SCIPconshdlrGetNSepaCalls ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4689 of file cons.c.

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

Referenced by printConstraintStatistics(), and SCIPconshdlrGetRespropTime().

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

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

Referenced by printConstraintStatistics(), and SCIPconshdlrGetNSepaCalls().

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

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

Referenced by printConstraintStatistics(), and SCIPconshdlrGetNEnfoLPCalls().

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

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

Referenced by printConstraintStatistics(), and SCIPconshdlrGetNEnfoPSCalls().

◆ SCIPconshdlrGetNPropCalls()

SCIP_Longint SCIPconshdlrGetNPropCalls ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4729 of file cons.c.

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

Referenced by printConstraintStatistics(), and SCIPconshdlrGetNEnfoRelaxCalls().

◆ SCIPconshdlrGetNCheckCalls()

SCIP_Longint SCIPconshdlrGetNCheckCalls ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4739 of file cons.c.

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

Referenced by printConstraintStatistics(), and SCIPconshdlrGetNPropCalls().

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

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

Referenced by printConstraintStatistics(), and SCIPconshdlrGetNCheckCalls().

◆ SCIPconshdlrGetNCutoffs()

SCIP_Longint SCIPconshdlrGetNCutoffs ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4759 of file cons.c.

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

Referenced by printConstraintStatistics(), and SCIPconshdlrGetNRespropCalls().

◆ SCIPconshdlrGetNCutsFound()

SCIP_Longint SCIPconshdlrGetNCutsFound ( SCIP_CONSHDLR conshdlr)

gets total number of cuts found by this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4769 of file cons.c.

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

Referenced by printConstraintStatistics(), SCIPconshdlrGetNCutoffs(), 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 4779 of file cons.c.

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

Referenced by printConstraintStatistics(), and SCIPconshdlrGetNCutsFound().

◆ SCIPconshdlrGetNConssFound()

SCIP_Longint SCIPconshdlrGetNConssFound ( SCIP_CONSHDLR conshdlr)

gets total number of additional constraints added by this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4809 of file cons.c.

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

Referenced by printConstraintStatistics(), and SCIPconshdlrIncNCutsFound().

◆ SCIPconshdlrGetNDomredsFound()

SCIP_Longint SCIPconshdlrGetNDomredsFound ( SCIP_CONSHDLR conshdlr)

gets total number of domain reductions found by this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4819 of file cons.c.

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

Referenced by printConstraintStatistics(), and SCIPconshdlrGetNConssFound().

◆ SCIPconshdlrGetNChildren()

SCIP_Longint SCIPconshdlrGetNChildren ( SCIP_CONSHDLR conshdlr)

gets number of children created by this constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4829 of file cons.c.

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

Referenced by printConstraintStatistics(), and SCIPconshdlrGetNDomredsFound().

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

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

Referenced by printConstraintStatistics(), printConstraintTimingStatistics(), printPresolverStatistics(), and SCIPconshdlrGetNChildren().

◆ SCIPconshdlrGetStartNActiveConss()

int SCIPconshdlrGetStartNActiveConss ( SCIP_CONSHDLR conshdlr)

gets initial number of active constraints of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4849 of file cons.c.

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

Referenced by printConstraintStatistics(), and SCIPconshdlrGetMaxNActiveConss().

◆ SCIPconshdlrGetNFixedVars()

int SCIPconshdlrGetNFixedVars ( SCIP_CONSHDLR conshdlr)

gets number of variables fixed in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4859 of file cons.c.

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

Referenced by printPresolverStatistics(), and SCIPconshdlrGetStartNActiveConss().

◆ SCIPconshdlrGetNAggrVars()

int SCIPconshdlrGetNAggrVars ( SCIP_CONSHDLR conshdlr)

gets number of variables aggregated in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4869 of file cons.c.

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

Referenced by printPresolverStatistics(), and SCIPconshdlrGetNFixedVars().

◆ SCIPconshdlrGetNChgVarTypes()

int SCIPconshdlrGetNChgVarTypes ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4879 of file cons.c.

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

Referenced by printPresolverStatistics(), and SCIPconshdlrGetNAggrVars().

◆ SCIPconshdlrGetNChgBds()

int SCIPconshdlrGetNChgBds ( SCIP_CONSHDLR conshdlr)

gets number of bounds changed in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4889 of file cons.c.

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

Referenced by printPresolverStatistics(), and SCIPconshdlrGetNChgVarTypes().

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

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

Referenced by printPresolverStatistics(), and SCIPconshdlrGetNChgBds().

◆ SCIPconshdlrGetNDelConss()

int SCIPconshdlrGetNDelConss ( SCIP_CONSHDLR conshdlr)

gets number of constraints deleted in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4909 of file cons.c.

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

Referenced by printPresolverStatistics(), and SCIPconshdlrGetNAddHoles().

◆ SCIPconshdlrGetNAddConss()

int SCIPconshdlrGetNAddConss ( SCIP_CONSHDLR conshdlr)

gets number of constraints added in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4919 of file cons.c.

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

Referenced by printPresolverStatistics(), and SCIPconshdlrGetNDelConss().

◆ SCIPconshdlrGetNUpgdConss()

int SCIPconshdlrGetNUpgdConss ( SCIP_CONSHDLR conshdlr)

gets number of constraints upgraded in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4929 of file cons.c.

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

Referenced by printPresolverStatistics(), and SCIPconshdlrGetNAddConss().

◆ SCIPconshdlrGetNChgCoefs()

int SCIPconshdlrGetNChgCoefs ( SCIP_CONSHDLR conshdlr)

gets number of coefficients changed in presolving method of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4939 of file cons.c.

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

Referenced by printPresolverStatistics(), and SCIPconshdlrGetNUpgdConss().

◆ SCIPconshdlrGetNChgSides()

int SCIPconshdlrGetNChgSides ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 4949 of file cons.c.

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

Referenced by printPresolverStatistics(), and SCIPconshdlrGetNChgCoefs().

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

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

Referenced by printPresolverStatistics(), and SCIPconshdlrGetNChgSides().

◆ SCIPconshdlrGetSepaPriority()

int SCIPconshdlrGetSepaPriority ( SCIP_CONSHDLR conshdlr)

gets separation priority of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4969 of file cons.c.

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

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

◆ SCIPconshdlrGetEnfoPriority()

int SCIPconshdlrGetEnfoPriority ( SCIP_CONSHDLR conshdlr)

gets enforcing priority of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4979 of file cons.c.

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

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPconshdlrGetSepaPriority().

◆ SCIPconshdlrGetCheckPriority()

int SCIPconshdlrGetCheckPriority ( SCIP_CONSHDLR conshdlr)

gets checking priority of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4989 of file cons.c.

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

Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPconshdlrGetEnfoPriority().

◆ SCIPconshdlrGetSepaFreq()

int SCIPconshdlrGetSepaFreq ( SCIP_CONSHDLR conshdlr)

gets separation frequency of constraint handler

Parameters
conshdlrconstraint handler

Definition at line 4999 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 5009 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 5019 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 5029 of file cons.c.

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

Referenced by checkSolOrig(), printConstraintStatistics(), printConstraintTimingStatistics(), printPresolverStatistics(), SCIP_DECL_PARAMCHGD(), SCIPconshdlrGetEagerFreq(), SCIPprobFree(), and SCIPprobTransform().

◆ SCIPconshdlrDoesPresolve()

SCIP_Bool SCIPconshdlrDoesPresolve ( SCIP_CONSHDLR conshdlr)

does the constraint handler perform presolving?

Parameters
conshdlrconstraint handler

Definition at line 5039 of file cons.c.

References NULL, SCIP_Bool, and SCIPconshdlrIsSeparationDelayed().

Referenced by printPresolverStatistics(), and SCIPconshdlrNeedsCons().

◆ SCIPconshdlrIsSeparationDelayed()

SCIP_Bool SCIPconshdlrIsSeparationDelayed ( SCIP_CONSHDLR conshdlr)

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

Parameters
conshdlrconstraint handler

Definition at line 5049 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 5059 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 5069 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 5079 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 5089 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 5099 of file cons.c.

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

Referenced by SCIPconshdlrWasPropagationDelayed(), and SCIPsetIncludePricer().

◆ SCIPconshdlrIsClonable()

SCIP_Bool SCIPconshdlrIsClonable ( SCIP_CONSHDLR conshdlr)

does the constraint handler have a copy function?

Parameters
conshdlrconstraint handler

Definition at line 5109 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 5119 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 5443 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 5129 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 5141 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 5151 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 5738 of file scip.c.

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

Referenced by 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 5831 of file scip.c.

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

Referenced by includeConshdlrCountsols(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrIntegral(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), 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 5885 of file scip.c.

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

Referenced by SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), 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 5931 of file scip.c.

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

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

◆ SCIPsetConshdlrEnforelax()

◆ SCIPsetConshdlrCopy()

◆ SCIPsetConshdlrFree()

◆ 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 6046 of file scip.c.

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

Referenced by includeConshdlrCountsols(), SCIPincludeConshdlrAbspower(), 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 6070 of file scip.c.

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

Referenced by includeConshdlrCountsols(), SCIPincludeConshdlrAbspower(), 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 6094 of file scip.c.

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

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

◆ 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 6118 of file scip.c.

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

Referenced by includeConshdlrCountsols(), SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrQuadratic(), 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 6142 of file scip.c.

References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, 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 6166 of file scip.c.

References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, 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 6190 of file scip.c.

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

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

◆ SCIPsetConshdlrDelete()

◆ 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 6274 of file scip.c.

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

Referenced by SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBivariate(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), 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 6297 of file scip.c.

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

Referenced by SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), 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 6320 of file scip.c.

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

Referenced by 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 6343 of file scip.c.

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

Referenced by 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 6366 of file scip.c.

References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, 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 6389 of file scip.c.

References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, 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 6412 of file scip.c.

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

◆ SCIPsetConshdlrPrint()

◆ SCIPsetConshdlrParse()

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

sets constraint parsing 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 6458 of file scip.c.

References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPconshdlrSetParse(), and TRUE.

Referenced by SCIPincludeConshdlrAbspower(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrNonlinear(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrQuadratic(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().

◆ SCIPsetConshdlrGetVars()

SCIP_RETCODE SCIPsetConshdlrGetVars ( SCIP scip,
SCIP_CONSHDLR conshdlr,
SCIP_DECL_CONSGETVARS((*consgetvars))   
)

◆ 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 6527 of file scip.c.

References checkStage(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, 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

Parameters
scipSCIP data structure
namename of constraint handler

Definition at line 6541 of file scip.c.

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

Referenced by addCoef(), addLinearConstraintsToNlp(), addRelaxation(), applyAlternativeBoundsFixing(), applyVbounds(), checkConsQuadraticProblem(), checkOverloadViaThetaTree(), computeAndConstraintInfos(), computeEffectiveHorizon(), computeRanks(), consdataCreate(), copyConsPseudoboolean(), coretimesUpdateLb(), coretimesUpdateUb(), countNonlinearities(), createAndAddLinearCons(), createConsComponents(), createConsSetppc(), createConsXorIntvar(), createCoreProfile(), createCoveringProblem(), createSubscip(), createSubSCIP(), findCumulativeConss(), findPrecedenceConss(), inferboundsEdgeFinding(), 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_QUADCONSUPGD(), SCIP_DECL_READERWRITE(), SCIP_DECL_SEPAEXITSOL(), SCIPapplyHeurDualval(), SCIPapplyRens(), SCIPapplyZeroobj(), SCIPcopyCuts(), SCIPcreateConsAbspower(), SCIPcreateConsAnd(), SCIPcreateConsBivariate(), SCIPcreateConsBounddisjunction(), SCIPcreateConsCardinality(), SCIPcreateConsConjunction(), SCIPcreateConsCumulative(), SCIPcreateConsDisjunction(), SCIPcreateConsIndicator(), SCIPcreateConsIndicatorLinCons(), SCIPcreateConsKnapsack(), SCIPcreateConsLinear(), SCIPcreateConsLinking(), SCIPcreateConsLogicor(), SCIPcreateConsLOP(), SCIPcreateConsNonlinear(), SCIPcreateConsNonlinear2(), SCIPcreateConsOr(), SCIPcreateConsOrbitope(), SCIPcreateConsPseudoboolean(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateConsQuadratic(), SCIPcreateConsQuadratic2(), SCIPcreateConsSamediff(), SCIPcreateConsSOC(), SCIPcreateConsSOS1(), SCIPcreateConsSOS2(), tsp::SCIPcreateConsSubtour(), SCIPcreateConsSuperindicator(), SCIPcreateConsVarbound(), SCIPcreateConsXor(), SCIPexistsConsLinking(), SCIPfindObjConshdlr(), SCIPgetConsLinking(), SCIPgetCountedSparseSols(), SCIPgetNCountedFeasSubtrees(), SCIPgetNCountedSols(), SCIPgetNCountedSolsstr(), SCIPincludeConshdlr(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBasic(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrSOC(), SCIPincludeConshdlrVarbound(), SCIPincludeConshdlrXor(), SCIPincludeNonlinconsUpgrade(), SCIPincludePricerBinpacking(), SCIPincludeQuadconsUpgrade(), SCIPperformGenericDivingAlgorithm(), SCIPpropCumulativeCondition(), SCIPseparateRelaxedKnapsack(), SCIPsetSolveCumulative(), SCIPsolve(), SCIPsolveCumulative(), SCIPwriteLp(), SCIPwriteOpb(), separateCons(), setSubscipParameters(), setupSubproblem(), setupSubScip(), tightenVarsBoundsSOS1(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), writeOpbConstraints(), and writeOpbObjective().

◆ SCIPgetConshdlrs()

SCIP_CONSHDLR** SCIPgetConshdlrs ( SCIP scip)

returns the array of currently available constraint handlers

Parameters
scipSCIP data structure

Definition at line 6554 of file scip.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 6565 of file scip.c.

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

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