Detailed Description
methods for constraint handlers
Function Documentation
◆ SCIP_DECL_SORTPTRCOMP() [1/3]
SCIP_DECL_SORTPTRCOMP | ( | SCIPconshdlrCompSepa | ) |
compares two constraint handlers w. r. to their separation priority
Definition at line 1958 of file cons.c.
Referenced by conshdlrAddUpdateCons().
◆ SCIP_DECL_SORTPTRCOMP() [2/3]
SCIP_DECL_SORTPTRCOMP | ( | SCIPconshdlrCompEnfo | ) |
◆ SCIP_DECL_SORTPTRCOMP() [3/3]
SCIP_DECL_SORTPTRCOMP | ( | SCIPconshdlrCompCheck | ) |
◆ SCIPconshdlrGetName()
const char* SCIPconshdlrGetName | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets name of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 4182 of file cons.c.
References SCIP_Conshdlr::name, NULL, and SCIPconshdlrGetDesc().
Referenced by addAltLPConstraint(), addAltLPRow(), addObjcut(), addSlackVars(), checkBounddisjunction(), checkConsnames(), checkFeasSubtree(), checkKnapsack(), checkLogicor(), checkVarbound(), computeAndConstraintInfos(), computeSymmetryGroup(), consdataCollectLinkingCons(), consdataCreate(), consdataEnsureAddLinConsSize(), consdataPrint(), copyConsPseudoboolean(), createAltLP(), createAndAddProofcons(), createBlockproblem(), createNAryBranch(), createNormalizedSetppc(), deleteAltLPConstraint(), determineTotalNumberLinearConss(), enforceCardinality(), enforceConflictgraph(), enforceConssSOS1(), enforceConstraint(), enforceConstraints(), enforceCurrentSol(), enforceIndicators(), enforcePseudo(), enforceSOS2(), extractLinearValues(), freeConflictgraph(), generateBoundInequalityFromSOS1Cons(), initAlternativeLP(), initPricing(), paramsetSetPresolvingDefault(), paramsetSetPresolvingFast(), paramsetSetPresolvingOff(), paramsetSetSeparatingAggressive(), paramsetSetSeparatingDefault(), paramsetSetSeparatingOff(), presolveRound(), printRangeSection(), processBinvarFixings(), processFixings(), processRealBoundChg(), processWatchedVars(), propagationRound(), readIndicators(), registerBranchingCandidates(), saveConsBounddisjuction(), saveConsLinear(), saveLocalConssData(), scaleCons(), 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_CONSPARSE(), 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(), SCIPaddBilinTermQuadratic(), SCIPaddCoefLinear(), SCIPaddCoefLogicor(), SCIPaddCoefPseudoboolean(), SCIPaddConsElemConjunction(), SCIPaddConsElemDisjunction(), SCIPaddConstantQuadratic(), SCIPaddExprNonlinear(), SCIPaddLinearConsIndicator(), SCIPaddLinearVarNonlinear(), SCIPaddLinearVarQuadratic(), SCIPaddQuadVarLinearCoefQuadratic(), SCIPaddQuadVarQuadratic(), SCIPaddRowIndicator(), SCIPaddSquareCoefQuadratic(), SCIPaddTermPseudoboolean(), SCIPaddVarCardinality(), SCIPaddVarIndicator(), SCIPaddVarSOS1(), SCIPaddVarSOS2(), SCIPappendVarCardinality(), SCIPappendVarSOS2(), SCIPcheckQuadraticNonlinear(), SCIPchgAndConsCheckFlagWhenUpgr(), SCIPchgAndConsRemovableFlagWhenUpgr(), SCIPchgCardvalCardinality(), SCIPchgExprNonlinear(), SCIPchgLhsLinear(), SCIPchgLhsNonlinear(), SCIPchgLhsPseudoboolean(), SCIPchgLhsQuadratic(), SCIPchgRhsLinear(), SCIPchgRhsNonlinear(), SCIPchgRhsPseudoboolean(), SCIPchgRhsQuadratic(), SCIPconflictstoreCleanNewIncumbent(), SCIPconsAddCoef(), SCIPconsGetDualfarkas(), SCIPconsGetDualsol(), SCIPconsGetLhs(), SCIPconsGetRhs(), SCIPconsGetRow(), SCIPconshdlrCopyInclude(), SCIPconshdlrUnlockVars(), SCIPcopyConsLinear(), SCIPcopyConss(), SCIPcreateConsIndicatorGenericLinCons(), SCIPcreateConsSuperindicator(), SCIPdelCoefLinear(), SCIPgetActiveOnIndicator(), SCIPgetAndDatasPseudoboolean(), SCIPgetBinaryVarIndicator(), SCIPgetBinaryVarIndicatorGeneric(), SCIPgetBinaryVarSuperindicator(), SCIPgetBinvarsDataLinking(), SCIPgetBinvarsLinking(), SCIPgetBoundsBounddisjunction(), SCIPgetBoundtypesBounddisjunction(), SCIPgetCapacityCumulative(), SCIPgetCardvalCardinality(), SCIPgetConsVals(), SCIPgetCurvatureNonlinear(), SCIPgetDemandsCumulative(), SCIPgetDualfarkasLogicor(), SCIPgetDualfarkasVarbound(), SCIPgetDualsolLogicor(), SCIPgetDualSolVal(), SCIPgetDualsolVarbound(), SCIPgetDurationsCumulative(), SCIPgetExprNonlinear(), SCIPgetHmaxCumulative(), SCIPgetHmaxOptcumulative(), SCIPgetHminCumulative(), SCIPgetHminOptcumulative(), SCIPgetIndVarPseudoboolean(), SCIPgetIntVarXor(), SCIPgetLhsLinear(), SCIPgetLhsNonlinear(), SCIPgetLhsPseudoboolean(), SCIPgetLhsVarbound(), SCIPgetLinDatasWithoutAndPseudoboolean(), SCIPgetLinearConsIndicator(), SCIPgetLinearConsPseudoboolean(), SCIPgetLinearConsTypePseudoboolean(), SCIPgetLinkvarLinking(), SCIPgetNAndsPseudoboolean(), SCIPgetNBinvarsLinking(), SCIPgetNLinVarsWithoutAndPseudoboolean(), SCIPgetNlRowAbspower(), SCIPgetNlRowNonlinear(), SCIPgetNlRowQuadratic(), SCIPgetNlRowSOC(), SCIPgetNVarsAnd(), SCIPgetNVarsBounddisjunction(), SCIPgetNVarsCardinality(), SCIPgetNVarsCumulative(), SCIPgetNVarsLinear(), SCIPgetNVarsLogicor(), SCIPgetNVarsOr(), SCIPgetNVarsSOS2(), SCIPgetNVarsXor(), SCIPgetResultantAnd(), SCIPgetResultantOr(), SCIPgetRhsLinear(), SCIPgetRhsNonlinear(), SCIPgetRhsPseudoboolean(), SCIPgetRhsVarbound(), SCIPgetRhsXor(), SCIPgetRowLogicor(), SCIPgetRowVarbound(), SCIPgetSlackConsSuperindicator(), SCIPgetSlackVarIndicator(), SCIPgetValsLinear(), SCIPgetValsLinking(), SCIPgetVarsAnd(), SCIPgetVarsBounddisjunction(), SCIPgetVarsCardinality(), SCIPgetVarsCumulative(), SCIPgetVarsLinear(), SCIPgetVarsLogicor(), SCIPgetVarsOr(), SCIPgetVarsSOS2(), SCIPgetVarsXor(), SCIPgetVarVarbound(), SCIPgetVbdcoefVarbound(), SCIPgetVbdvarVarbound(), SCIPgetWeightsCardinality(), SCIPgetWeightsSOS2(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPisAndConsSorted(), SCIPisDualSolAvailable(), SCIPmakeIndicatorFeasible(), SCIPmakeIndicatorsFeasible(), SCIPmakeSOS1sFeasible(), SCIPmatrixCreate(), SCIPpresolve(), SCIPprintConstraintStatistics(), SCIPprintConstraintTimingStatistics(), SCIPprintPresolverStatistics(), SCIPreaderWrite(), SCIPreadProb(), SCIPsetBinaryVarIndicator(), SCIPsetConshdlrPresol(), SCIPsetConshdlrProp(), SCIPsetConshdlrSepa(), SCIPsetCopyPlugins(), SCIPsetHmaxCumulative(), SCIPsetHmaxOptcumulative(), SCIPsetHminCumulative(), SCIPsetHminOptcumulative(), SCIPsetLinearConsIndicator(), SCIPsetReinsertConshdlrSepaPrio(), SCIPsetSlackVarUb(), SCIPsolCheck(), SCIPsortAndCons(), SCIPtransformMinUC(), SCIPtransformProb(), SCIPwriteCcg(), SCIPwriteGms(), SCIPwriteLp(), SCIPwriteMps(), SCIPwritePbm(), SCIPwritePip(), SCIPwritePpm(), SCIPwriteSolutionNl(), separateCons(), separateConstraints(), separationRoundLP(), separationRoundSol(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), writeFzn(), writeOpbConstraints(), and writeOpbObjective().
◆ SCIPconshdlrGetDesc()
const char* SCIPconshdlrGetDesc | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets description of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 4192 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
-
conshdlr constraint handler
Definition at line 4202 of file cons.c.
References SCIP_Conshdlr::conshdlrdata, NULL, and SCIPconshdlrSetData().
Referenced by addAltLPConstraint(), addAltLPRow(), addCoef(), addCoefTerm(), addObjcut(), addRelaxation(), applyAlternativeBoundsFixing(), bilinearTermsInsertAll(), bilinearTermsInsertEntry(), branchAuxNonlinear(), branching(), canonicalizeConstraints(), catchVarEvents(), checkAndConss(), checkOrigPbCons(), checkOverloadViaThetaTree(), collectBranchingCandidates(), COLORconsGetActiveStoreGraphCons(), COLORconsGetActiveStoreGraphConsFromHandler(), COLORconsGetComplementaryGraph(), COLORconsGetCurrentGraph(), COLORconsGetRepresentative(), COLORconsGetRepresentatives(), COLORconsGetStack(), COLORconsGetUnion(), COLORconsGetUnions(), computeEffectiveHorizon(), computeVertexPolyhedralFacetLP(), consdataCreate(), consdataDeletePos(), consdataEnsureAddLinConsSize(), consdataPrint(), consEnfo(), constructValidSolution(), coretimesUpdateLb(), coretimesUpdateUb(), createAndAddAndCons(), createAndAddLinearCons(), createAuxVar(), createCons(), createConsSetppc(), createCoreProfile(), createExprVar(), createRow(), createSubscip(), deinitSolve(), delCoefPos(), deleteAltLPConstraint(), deleteRedundantVars(), detectNlhdlr(), detectNlhdlrs(), detectRedundantConstraints(), detectRedundantVars(), enforceCardinality(), enforceConssSOS1(), enforceConstraint(), enforceConstraints(), enforceCuts(), enforceExpr(), enforceIndicators(), enforceSol(), enforceSOS1(), findCumulativeConss(), findPrecedenceConss(), forbidNonlinearVariablesMultiaggration(), forwardPropExpr(), generateBoundInequalityFromSOS1Cons(), getBinaryProductExpr(), getConsRelViolation(), getLinVarsAndAndRess(), getViolSplitWeight(), handleNewVariableSOS2(), inferboundsEdgeFinding(), initAlternativeLP(), initSepa(), initSolve(), preprocessConstraintPairs(), presolveBinaryProducts(), presolveConsEst(), presolveConsLct(), presolvePropagateCons(), presolveRedundantConss(), presolveSingleLockedVars(), presolveUpgrade(), propagateCons(), propagateLbTTEF(), propagateTimetable(), propagateTTEF(), propagateUbTTEF(), propConss(), propExprDomains(), proposeFeasibleSolution(), removeConstraintsDueToNegCliques(), removeIrrelevantJobs(), replaceBinaryProducts(), reversePropQueue(), 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_EXPR_OWNERCREATE(), SCIP_DECL_EXPR_OWNEREVALACTIVITY(), SCIP_DECL_EXPR_OWNERFREE(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_TABLEOUTPUT(), SCIPaddExprViolScoreNonlinear(), SCIPaddLinearConsIndicator(), SCIPaddRowIndicator(), SCIPaddVarCardinality(), SCIPaddVarSOS1(), SCIPappendVarCardinality(), SCIPassumeConvexNonlinear(), SCIPclassifyConstraintTypesLinear(), SCIPcleanupConssLogicor(), SCIPcleanupConssVarbound(), SCIPcomputeFacetVertexPolyhedralNonlinear(), SCIPconshdlrGetDesc(), SCIPcreateConsAnd(), SCIPcreateConsCardinality(), SCIPcreateConsCumulative(), SCIPcreateConsIndicatorGeneric(), SCIPcreateConsIndicatorGenericLinCons(), SCIPcreateConsKnapsack(), SCIPcreateConsLinking(), SCIPcreateConsLogicor(), SCIPcreateConsOptcumulative(), SCIPcreateConsOr(), SCIPcreateConsOrbisack(), SCIPcreateConsOrbitope(), SCIPcreateConsPseudoboolean(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateConsSOS1(), SCIPcreateConsSuperindicator(), SCIPcreateConsVarbound(), SCIPexistsConsLinking(), SCIPfindNlhdlrNonlinear(), SCIPfindObjConshdlr(), SCIPgetBilinTermIdxNonlinear(), SCIPgetBilinTermNonlinear(), SCIPgetBilinTermsNonlinear(), SCIPgetBinvarsLinking(), SCIPgetConsLinking(), SCIPgetCountedSparseSols(), SCIPgetCurBoundsTagNonlinear(), SCIPgetExprBoundsNonlinear(), SCIPgetExprPartialDiffGradientDirNonlinear(), SCIPgetExprPartialDiffNonlinear(), SCIPgetExprViolScoreNonlinear(), SCIPgetLastBoundRelaxTagNonlinear(), SCIPgetNBilinTermsNonlinear(), SCIPgetNCountedFeasSubtrees(), SCIPgetNCountedSols(), SCIPgetNCountedSolsstr(), SCIPgetNlhdlrsNonlinear(), SCIPgetNNlhdlrsNonlinear(), SCIPgetObjConshdlr(), SCIPgetVarExprHashmapNonlinear(), SCIPincludeConsUpgradeNonlinear(), SCIPincludeLinconsUpgrade(), SCIPincludeNlhdlrNonlinear(), SCIPincrementCurBoundsTagNonlinear(), SCIPinsertBilinearTermExistingNonlinear(), SCIPinsertBilinearTermImplicitNonlinear(), SCIPmakeSOS1sFeasible(), SCIPprocessRowprepNonlinear(), SCIPpropCumulativeCondition(), SCIPregisterExprUsageNonlinear(), SCIPseparateRelaxedKnapsack(), SCIPsetBinaryVarIndicator(), SCIPsetLinearConsIndicator(), SCIPsetSolveCumulative(), SCIPsolveCumulative(), SCIPtightenExprIntervalNonlinear(), scoreBranchingCandidates(), separateConstraints(), separateIISRounding(), separateIndicators(), separateInequalities(), separatePerspective(), separateSOS1(), storeVarExprs(), tightenAuxVarBounds(), 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
-
conshdlr constraint handler conshdlrdata new constraint handler user data
Definition at line 4212 of file cons.c.
References SCIP_Conshdlr::conshdlrdata, NULL, and SCIPconshdlrSetSepa().
Referenced by SCIP_DECL_CONSFREE(), 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
-
conshdlr constraint handler sepafreq frequency for separating cuts; zero means to separate only in the root node sepapriority priority of the constraint handler for separation delaysepa should separation method be delayed, if other separators found cuts?
Definition at line 4223 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
-
conshdlr constraint handler propfreq frequency for propagating domains; zero means only preprocessing propagation delayprop should propagation method be delayed, if other propagators found reductions? timingmask positions in the node solving loop where propagators should be executed
Definition at line 4244 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
-
conshdlr constraint handler
Definition at line 4263 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
-
conshdlr constraint handler
Definition at line 4554 of file cons.c.
References SCIP_Conshdlr::conss, NULL, and SCIPconshdlrGetEnfoConss().
Referenced by addBranchingDecisionConss(), addKnapsackConstraints(), addLinearConstraints(), addLogicOrConstraints(), addSetppcConstraints(), addVarboundConstraints(), calcNonZeros(), checkBounddisjunction(), checkFeasSubtree(), checkKnapsack(), checkLogicor(), checkSymmetriesAreSymmetries(), checkVarbound(), computeAndConstraintInfos(), computeRanks(), countNonlinearities(), createConflictGraphSST(), createCoveringProblem(), createSubSCIP(), detectMinors(), determineGraphSize(), fillGraphByConss(), fillGraphByNonlinearConss(), 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(), SCIP_DECL_TABLEOUTPUT(), SCIPclassifyConstraintTypesLinear(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), SCIPconshdlrSetGetDiveBdChgs(), SCIPcopyConss(), SCIPisPackingPartitioningOrbitope(), SCIPmakeIndicatorsFeasible(), SCIPpermuteProb(), SCIPreaderWrite(), SCIPwriteLp(), setupAndSolveSubscipRapidlearning(), tightenVarsBoundsSOS1(), writeOpbConstraints(), and writeOpbObjective().
◆ SCIPconshdlrGetEnfoConss()
SCIP_CONS** SCIPconshdlrGetEnfoConss | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets array with enforced constraints of constraint handler; this is local information
- Parameters
-
conshdlr constraint handler
Definition at line 4564 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
-
conshdlr constraint handler
Definition at line 4574 of file cons.c.
References SCIP_Conshdlr::checkconss, NULL, and SCIPconshdlrGetUpdateConss().
Referenced by calcNonZeros(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), SCIPconshdlrGetEnfoConss(), SCIPcopyConss(), and SCIPmatrixCreate().
◆ SCIPconshdlrGetUpdateConss()
SCIP_CONS** SCIPconshdlrGetUpdateConss | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets array with delayed update constraints
- Attention
- Usually, there should be no need to access this array. Use this only if you are absolutely sure what you are doing.
- Parameters
-
conshdlr constraint handler
Definition at line 4587 of file cons.c.
References NULL, SCIPconshdlrGetNConss(), and SCIP_Conshdlr::updateconss.
Referenced by SCIPconshdlrGetCheckConss().
◆ SCIPconshdlrGetNConss()
int SCIPconshdlrGetNConss | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets total number of existing transformed constraints of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 4597 of file cons.c.
References SCIP_Conshdlr::nconss, NULL, and SCIPconshdlrGetNEnfoConss().
Referenced by addBranchingDecisionConss(), checkConsQuadraticProblem(), checkSymmetriesAreSymmetries(), computeAndConstraintInfos(), computeRanks(), createConflictGraphSST(), createSubSCIP(), detectMinors(), determineGraphSize(), fillGraphByConss(), fillGraphByNonlinearConss(), getDiveBdChgsSOS1constraints(), makeSOS1conflictgraphFeasible(), makeSOS1constraintsFeasible(), packingUpgrade(), presolveAddKKTKnapsackConss(), presolveAddKKTLogicorConss(), presolveAddKKTSetppcConss(), presolveAddKKTVarboundConss(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSGETDIVEBDCHGS(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_TABLEOUTPUT(), SCIPclassifyConstraintTypesLinear(), SCIPconshdlrGetUpdateConss(), SCIPisPackingPartitioningOrbitope(), SCIPmakeIndicatorsFeasible(), SCIPmakeSOS1sFeasible(), SCIPreaderWrite(), SCIPwriteLp(), SCIPwriteOpb(), setupAndSolveSubscipRapidlearning(), tightenVarsBoundsSOS1(), writeOpbConstraints(), and writeOpbObjective().
◆ SCIPconshdlrGetNEnfoConss()
int SCIPconshdlrGetNEnfoConss | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets number of enforced constraints of constraint handler; this is local information
- Parameters
-
conshdlr constraint handler
Definition at line 4607 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
-
conshdlr constraint handler
Definition at line 4617 of file cons.c.
References SCIP_Conshdlr::ncheckconss, NULL, and SCIPconshdlrGetNActiveConss().
Referenced by calcNonZeros(), SCIPapplyLockFixings(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), SCIPconshdlrGetNEnfoConss(), SCIPcopyConss(), SCIPgetNCheckConss(), SCIPincludePresolMILP(), and SCIPmatrixCreate().
◆ SCIPconshdlrGetNActiveConss()
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
-
conshdlr constraint handler
Definition at line 4631 of file cons.c.
References SCIP_Conshdlr::nactiveconss, NULL, and SCIPconshdlrGetNEnabledConss().
Referenced by addKnapsackConstraints(), addLinearConstraints(), addLogicOrConstraints(), addSetppcConstraints(), addVarboundConstraints(), calcNonZeros(), checkBounddisjunction(), checkKnapsack(), checkLogicor(), checkVarbound(), computeSymmetryGroup(), countNonlinearities(), createCoveringProblem(), DECL_CHANGESUBSCIP(), getNSymhandableConss(), hasNonlinearConstraints(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPROP(), SCIPapplyUndercover(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), SCIPconshdlrGetNCheckConss(), SCIPcopyConss(), SCIPpermuteProb(), SCIPpresolve(), and SCIPtransformProb().
◆ SCIPconshdlrGetNEnabledConss()
int SCIPconshdlrGetNEnabledConss | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets number of enabled constraints of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 4641 of file cons.c.
References SCIP_Conshdlr::nenabledconss, NULL, and SCIPconshdlrGetNUpdateConss().
Referenced by checkBounddisjunction(), checkFeasSubtree(), checkKnapsack(), checkLogicor(), checkVarbound(), and SCIPconshdlrGetNActiveConss().
◆ SCIPconshdlrGetNUpdateConss()
int SCIPconshdlrGetNUpdateConss | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets number of constraints that have delayed updates
- Parameters
-
conshdlr constraint handler
Definition at line 4651 of file cons.c.
References NULL, SCIP_Conshdlr::nupdateconss, and SCIPconshdlrEnableOrDisableClocks().
Referenced by SCIPconshdlrGetNEnabledConss().
◆ SCIPconshdlrGetSetupTime()
SCIP_Real SCIPconshdlrGetSetupTime | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets time in seconds used for setting up this constraint handler for new stages
- Parameters
-
conshdlr constraint handler
Definition at line 4681 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
-
conshdlr constraint handler
Definition at line 4691 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
-
conshdlr constraint handler
Definition at line 4701 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
-
conshdlr constraint handler
Definition at line 4711 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
-
conshdlr constraint handler
Definition at line 4721 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
-
conshdlr constraint handler
Definition at line 4731 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
-
conshdlr constraint handler
Definition at line 4741 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
-
conshdlr constraint handler
Definition at line 4751 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
-
conshdlr constraint handler
Definition at line 4761 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
-
conshdlr constraint handler
Definition at line 4771 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
-
conshdlr constraint handler
Definition at line 4781 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
-
conshdlr constraint handler
Definition at line 4791 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
-
conshdlr constraint handler
Definition at line 4801 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
-
conshdlr constraint handler
Definition at line 4811 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
-
conshdlr constraint handler
Definition at line 4821 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
-
conshdlr constraint handler
Definition at line 4831 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
-
conshdlr constraint handler
Definition at line 4841 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
-
conshdlr constraint handler
Definition at line 4851 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
-
conshdlr constraint handler
Definition at line 4861 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
-
conshdlr constraint handler
Definition at line 4871 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
-
conshdlr constraint handler
Definition at line 4901 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
-
conshdlr constraint handler
Definition at line 4911 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
-
conshdlr constraint handler
Definition at line 4921 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
-
conshdlr constraint handler
Definition at line 4931 of file cons.c.
References SCIP_Conshdlr::maxnactiveconss, NULL, and SCIPconshdlrGetStartNActiveConss().
Referenced by SCIP_DECL_TABLEOUTPUT(), SCIPconshdlrGetNChildren(), SCIPprintConstraintStatistics(), SCIPprintConstraintTimingStatistics(), and SCIPprintPresolverStatistics().
◆ SCIPconshdlrGetStartNActiveConss()
int SCIPconshdlrGetStartNActiveConss | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets initial number of active constraints of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 4941 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
-
conshdlr constraint handler
Definition at line 4951 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
-
conshdlr constraint handler
Definition at line 4961 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
-
conshdlr constraint handler
Definition at line 4971 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
-
conshdlr constraint handler
Definition at line 4981 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
-
conshdlr constraint handler
Definition at line 4991 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
-
conshdlr constraint handler
Definition at line 5001 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
-
conshdlr constraint handler
Definition at line 5011 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
-
conshdlr constraint handler
Definition at line 5021 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
-
conshdlr constraint handler
Definition at line 5031 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
-
conshdlr constraint handler
Definition at line 5041 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
-
conshdlr constraint handler
Definition at line 5051 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
-
conshdlr constraint handler
Definition at line 5061 of file cons.c.
References NULL, SCIPconshdlrGetEnfoPriority(), and SCIP_Conshdlr::sepapriority.
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPconshdlrGetNPresolCalls(), SCIPsetConshdlrSepa(), and separationRoundLP().
◆ SCIPconshdlrGetEnfoPriority()
int SCIPconshdlrGetEnfoPriority | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets enforcing priority of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 5071 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
-
conshdlr constraint handler
Definition at line 5081 of file cons.c.
References SCIP_Conshdlr::checkpriority, NULL, and SCIPconshdlrGetSepaFreq().
Referenced by checkSolOrig(), SCIP_DECL_DIALOGEXEC(), and SCIPconshdlrGetEnfoPriority().
◆ SCIPconshdlrGetSepaFreq()
int SCIPconshdlrGetSepaFreq | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets separation frequency of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 5091 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
-
conshdlr constraint handler
Definition at line 5101 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
-
conshdlr constraint handler
Definition at line 5111 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
-
conshdlr constraint handler
Definition at line 5121 of file cons.c.
References SCIP_Conshdlr::needscons, NULL, SCIP_Bool, and SCIPconshdlrDoesPresolve().
Referenced by checkSolOrig(), SCIPconshdlrGetEagerFreq(), SCIPprintConstraintStatistics(), SCIPprintConstraintTimingStatistics(), SCIPprintPresolverStatistics(), SCIPprobFree(), SCIPprobTransform(), and SCIPsetCopyPlugins().
◆ SCIPconshdlrDoesPresolve()
SCIP_Bool SCIPconshdlrDoesPresolve | ( | SCIP_CONSHDLR * | conshdlr | ) |
does the constraint handler perform presolving?
- Parameters
-
conshdlr constraint handler
Definition at line 5131 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
-
conshdlr constraint handler
Definition at line 5141 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
-
conshdlr constraint handler
Definition at line 5151 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
-
conshdlr constraint handler
Definition at line 5161 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
-
conshdlr constraint handler
Definition at line 5171 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
-
conshdlr constraint handler
Definition at line 5181 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
-
conshdlr constraint handler
Definition at line 5191 of file cons.c.
References SCIP_Conshdlr::initialized, NULL, SCIP_Bool, and SCIPconshdlrIsClonable().
Referenced by SCIPconshdlrWasPropagationDelayed().
◆ SCIPconshdlrIsClonable()
SCIP_Bool SCIPconshdlrIsClonable | ( | SCIP_CONSHDLR * | conshdlr | ) |
does the constraint handler have a copy function?
- Parameters
-
conshdlr constraint handler
Definition at line 5201 of file cons.c.
References NULL, and SCIPconshdlrGetPropTiming().
Referenced by SCIPconshdlrIsInitialized().
◆ SCIPconshdlrGetPropTiming()
SCIP_PROPTIMING SCIPconshdlrGetPropTiming | ( | SCIP_CONSHDLR * | conshdlr | ) |
returns the timing mask of the propagation method of the constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 5211 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
-
conssetchg constraint set change to get data from conss reference to constraints array added in the conssetchg, or NULL nconss reference to store the size of the constraints array, or NULL
Definition at line 5535 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
-
conshdlr constraint handler proptiming timing mask to be set
Definition at line 5221 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
-
conshdlr constraint handler
Definition at line 5233 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
-
conshdlr constraint handler presoltiming timing mask to be set
Definition at line 5243 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
-
scip SCIP data structure name name of constraint handler desc description of constraint handler sepapriority priority of the constraint handler for separation enfopriority priority of the constraint handler for constraint enforcing chckpriority priority of the constraint handler for checking feasibility (and propagation) sepafreq frequency for separating cuts; zero means to separate only in the root node propfreq frequency for propagating domains; zero means only preprocessing propagation eagerfreq frequency for using all instead of only the useful constraints in separation, propagation and enforcement, -1 for no eager evaluations, 0 for first only maxprerounds maximal number of presolving rounds the constraint handler participates in (-1: no limit) delaysepa should separation method be delayed, if other separators found cuts? delayprop should propagation method be delayed, if other propagators found reductions? needscons should the constraint handler be skipped, if no constraints are available? proptiming positions in the node solving loop where propagation method of constraint handlers should be executed presoltiming timing mask of the constraint handler's presolving method conshdlrdata constraint handler data
Definition at line 82 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 SCIPincludeConshdlrNonlinear(), 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
-
scip SCIP data structure conshdlrptr reference to a constraint handler pointer, or NULL name name of constraint handler desc description of constraint handler enfopriority priority of the constraint handler for constraint enforcing chckpriority priority of the constraint handler for checking feasibility (and propagation) eagerfreq frequency for using all instead of only the useful constraints in separation, propagation and enforcement, -1 for no eager evaluations, 0 for first only needscons should the constraint handler be skipped, if no constraints are available? conshdlrdata constraint handler data
Definition at line 175 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(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrBenderslp(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrIntegral(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSOS2(), 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
-
scip SCIP data structure conshdlr constraint handler sepafreq frequency for separating cuts; zero means to separate only in the root node sepapriority priority of the constraint handler for separation delaysepa should separation method be delayed, if other separators found cuts?
Definition at line 229 of file scip_cons.c.
References FALSE, NULL, paramname, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrGetName(), SCIPconshdlrGetSepaPriority(), SCIPconshdlrSetSepa(), SCIPsetReinsertConshdlrSepaPrio(), SCIPsetSetDefaultBoolParam(), SCIPsetSetDefaultIntParam(), SCIPsnprintf(), Scip::set, and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrSOS2(), 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
-
scip SCIP data structure conshdlr constraint handler propfreq frequency for propagating domains; zero means only preprocessing propagation delayprop should propagation method be delayed, if other propagators found reductions? proptiming positions in the node solving loop where propagation should be executed
Definition at line 275 of file scip_cons.c.
References FALSE, NULL, paramname, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrGetName(), SCIPconshdlrSetProp(), SCIPsetSetDefaultBoolParam(), SCIPsetSetDefaultIntParam(), SCIPsnprintf(), Scip::set, and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
◆ SCIPsetConshdlrEnforelax()
SCIP_RETCODE SCIPsetConshdlrEnforelax | ( | SCIP * | scip, |
SCIP_CONSHDLR * | conshdlr, | ||
SCIP_DECL_CONSENFORELAX((*consenforelax)) | |||
) |
sets relaxation enforcement method 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 317 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetEnforelax(), and TRUE.
Referenced by includeConshdlrCountsols(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrBenderslp(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrIntegral(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
◆ SCIPsetConshdlrCopy()
SCIP_RETCODE SCIPsetConshdlrCopy | ( | SCIP * | scip, |
SCIP_CONSHDLR * | conshdlr, | ||
SCIP_DECL_CONSHDLRCOPY((*conshdlrcopy)) | , | ||
SCIP_DECL_CONSCOPY((*conscopy)) | |||
) |
sets copy method of both the constraint handler and each associated constraint
- 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 341 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetCopy(), and TRUE.
Referenced by includeConshdlrCountsols(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrBenderslp(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrIntegral(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
◆ SCIPsetConshdlrFree()
SCIP_RETCODE SCIPsetConshdlrFree | ( | SCIP * | scip, |
SCIP_CONSHDLR * | conshdlr, | ||
SCIP_DECL_CONSFREE((*consfree)) | |||
) |
sets destructor 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 366 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetFree(), and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), includeConshdlrCountsols(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrBenderslp(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), SCIPincludeConshdlrViolatedCut(), and SCIPincludeConshdlrXor().
◆ 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 390 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetInit(), and TRUE.
Referenced by includeConshdlrCountsols(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrIndicator(), and SCIPincludeConshdlrPseudoboolean().
◆ 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 414 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetExit(), and TRUE.
Referenced by includeConshdlrCountsols(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrIndicator(), and SCIPincludeConshdlrLOP().
◆ 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 438 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetInitsol(), and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), includeConshdlrCountsols(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSymresack(), and SCIPincludeConshdlrVarbound().
◆ 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 462 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetExitsol(), and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), includeConshdlrCountsols(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrRpa(), 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 486 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetInitpre(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 510 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetExitpre(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrLogicor(), 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
-
scip SCIP data structure conshdlr constraint handler maxprerounds maximal number of presolving rounds the constraint handler participates in (-1: no limit) presoltiming timing mask of the constraint handler's presolving method
Definition at line 534 of file scip_cons.c.
References FALSE, NULL, paramname, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrGetName(), SCIPconshdlrSetPresol(), SCIPsetSetDefaultIntParam(), SCIPsnprintf(), Scip::set, and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
◆ SCIPsetConshdlrDelete()
SCIP_RETCODE SCIPsetConshdlrDelete | ( | SCIP * | scip, |
SCIP_CONSHDLR * | conshdlr, | ||
SCIP_DECL_CONSDELETE((*consdelete)) | |||
) |
sets method of constraint handler to free specific constraint data
- 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 572 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetDelete(), and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
◆ SCIPsetConshdlrTrans()
SCIP_RETCODE SCIPsetConshdlrTrans | ( | SCIP * | scip, |
SCIP_CONSHDLR * | conshdlr, | ||
SCIP_DECL_CONSTRANS((*constrans)) | |||
) |
sets method of constraint handler to transform constraint data into data belonging to the transformed problem
- 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 595 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetTrans(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
◆ 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 618 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetInitlp(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrSOS2(), 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 641 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetResprop(), and TRUE.
Referenced by 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 664 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetActive(), and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrSamediff(), and SCIPincludeConshdlrVarbound().
◆ 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 687 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetDeactive(), and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrSamediff(), and SCIPincludeConshdlrVarbound().
◆ 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 710 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetEnable(), and TRUE.
Referenced by SCIPincludeConshdlrIndicator(), and SCIPincludeConshdlrLinking().
◆ 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 733 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetDisable(), and TRUE.
Referenced by SCIPincludeConshdlrIndicator().
◆ 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 756 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetDelvars(), and TRUE.
◆ SCIPsetConshdlrPrint()
SCIP_RETCODE SCIPsetConshdlrPrint | ( | SCIP * | scip, |
SCIP_CONSHDLR * | conshdlr, | ||
SCIP_DECL_CONSPRINT((*consprint)) | |||
) |
sets constraint display 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 779 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetPrint(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
◆ 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 802 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetParse(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
◆ SCIPsetConshdlrGetVars()
SCIP_RETCODE SCIPsetConshdlrGetVars | ( | SCIP * | scip, |
SCIP_CONSHDLR * | conshdlr, | ||
SCIP_DECL_CONSGETVARS((*consgetvars)) | |||
) |
sets constraint variable getter 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 825 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetGetVars(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
◆ SCIPsetConshdlrGetNVars()
SCIP_RETCODE SCIPsetConshdlrGetNVars | ( | SCIP * | scip, |
SCIP_CONSHDLR * | conshdlr, | ||
SCIP_DECL_CONSGETNVARS((*consgetnvars)) | |||
) |
sets constraint variable number getter 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 848 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetGetNVars(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrSuperindicator(), SCIPincludeConshdlrSymresack(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
◆ 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
-
scip SCIP data structure conshdlr constraint handler
Definition at line 871 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
-
scip SCIP data structure name name of constraint handler
Definition at line 886 of file scip_cons.c.
References NULL, SCIPsetFindConshdlr(), and Scip::set.
Referenced by addCoef(), addLinearConstraintsToNlp(), addRelaxation(), addSlackVarsToConstraints(), applyAlternativeBoundsFixing(), cancelRow(), checkConsQuadraticProblem(), checkOverloadViaThetaTree(), checkSubproblemConvexity(), checkSymmetriesAreSymmetries(), COLORconsGetActiveStoreGraphCons(), COLORconsGetComplementaryGraph(), COLORconsGetCurrentGraph(), COLORconsGetRepresentative(), COLORconsGetRepresentatives(), COLORconsGetStack(), COLORconsGetUnion(), COLORconsGetUnions(), COLORcreateConsStoreGraph(), computeAndConstraintInfos(), computeEffectiveHorizon(), computeRanks(), consdataCreate(), copyConsPseudoboolean(), coretimesUpdateLb(), coretimesUpdateUb(), countNonlinearities(), createAndAddLinearCons(), createAndAddTransferredCut(), createConflictGraphSST(), createConsComponents(), createConsSetppc(), createConsStoreGraphAtRoot(), createConsXorIntvar(), createCoreProfile(), createCoveringProblem(), createSubscip(), createSubSCIP(), DECL_CHANGESUBSCIP(), detectMinors(), determineGraphSize(), fillGraphByConss(), fillGraphByNonlinearConss(), findCumulativeConss(), findPrecedenceConss(), generateAndApplyBendersIntegerCuts(), generateAndApplyBendersNogoodCut(), getNSymhandableConss(), inferboundsEdgeFinding(), isFiniteNonnegativeIntegral(), orbisackUpgrade(), packingUpgrade(), presolRoundConsSOS1(), presolveAddKKTKnapsackConss(), presolveAddKKTLogicorConss(), presolveAddKKTSetppcConss(), presolveAddKKTVarboundConss(), presolveConsEst(), presolveConsLct(), presolveSingleLockedVars(), propagateLbTTEF(), propagateTimetable(), propagateTTEF(), propagateUbTTEF(), readCnf(), removeIrrelevantJobs(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSHDLRCOPY(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINIT(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_NLHDLRINTEVAL(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPINITPRE(), SCIP_DECL_SEPAEXITSOL(), SCIP_DECL_TABLEOUTPUT(), SCIPapplyHeurDualval(), SCIPapplyLockFixings(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), SCIPcopyCuts(), SCIPcreateConsAnd(), SCIPcreateConsBounddisjunction(), SCIPcreateConsBounddisjunctionRedundant(), SCIPcreateConsCardinality(), SCIPcreateConsConjunction(), SCIPcreateConsCumulative(), SCIPcreateConsDisjunction(), SCIPcreateConsIndicatorGeneric(), SCIPcreateConsIndicatorGenericLinCons(), SCIPcreateConsKnapsack(), SCIPcreateConsLinear(), SCIPcreateConsLinking(), SCIPcreateConsLogicor(), SCIPcreateConsLOP(), SCIPcreateConsNonlinear(), SCIPcreateConsOptcumulative(), SCIPcreateConsOr(), SCIPcreateConsOrbisack(), SCIPcreateConsOrbitope(), SCIPcreateConsPseudoboolean(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateConsQuadraticNonlinear(), SCIPcreateConsSamediff(), SCIPcreateConsSOS1(), SCIPcreateConsSOS2(), tsp::SCIPcreateConsSubtour(), SCIPcreateConsSuperindicator(), SCIPcreateConsSymresack(), SCIPcreateConsVarbound(), SCIPcreateConsXor(), SCIPexistsConsLinking(), SCIPfindObjConshdlr(), SCIPgenerateAndApplyBendersOptCut(), SCIPgetConsLinking(), SCIPgetCountedSparseSols(), SCIPgetNCountedFeasSubtrees(), SCIPgetNCountedSols(), SCIPgetNCountedSolsstr(), SCIPincludeConshdlr(), SCIPincludeConshdlrBasic(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrVarbound(), SCIPincludeConshdlrXor(), SCIPincludeConsUpgradeNonlinear(), SCIPincludeExprhdlrProduct(), SCIPincludeNlhdlrNonlinear(), SCIPincludePresolMILP(), SCIPincludePricerBinpacking(), SCIPincludeSepaRlt(), SCIPisPackingPartitioningOrbitope(), SCIPperformGenericDivingAlgorithm(), SCIPpropCumulativeCondition(), SCIPseparateRelaxedKnapsack(), SCIPsetSolveCumulative(), SCIPsolve(), SCIPsolveCumulative(), SCIPwriteLp(), SCIPwriteMps(), SCIPwriteOpb(), separateCons(), setupAndSolveSubscipRapidlearning(), tightenVarsBoundsSOS1(), upgradeIndicatorSuperindicator(), upgradeLinearSuperindicator(), writeOpbConstraints(), and writeOpbObjective().
◆ SCIPgetConshdlrs()
SCIP_CONSHDLR** SCIPgetConshdlrs | ( | SCIP * | scip | ) |
returns the array of currently available constraint handlers
- Parameters
-
scip SCIP data structure
Definition at line 899 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
-
scip SCIP data structure
Definition at line 910 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().