Detailed Description
methods for constraint handlers
Function Documentation
◆ SCIP_DECL_SORTPTRCOMP() [1/4]
SCIP_DECL_SORTPTRCOMP | ( | SCIPconshdlrCompSepa | ) |
◆ SCIP_DECL_SORTPTRCOMP() [2/4]
SCIP_DECL_SORTPTRCOMP | ( | SCIPconshdlrCompEnfo | ) |
◆ SCIP_DECL_SORTPTRCOMP() [3/4]
SCIP_DECL_SORTPTRCOMP | ( | SCIPconshdlrCompCheck | ) |
◆ SCIP_DECL_SORTPTRCOMP() [4/4]
SCIP_DECL_SORTPTRCOMP | ( | SCIPconsCompCheck | ) |
◆ SCIPconshdlrGetName()
const char * SCIPconshdlrGetName | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets name of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 4197 of file cons.c.
References SCIP_Conshdlr::name, and NULL.
Referenced by addAltLPConstraint(), addAltLPRow(), addObjcut(), addSlackVars(), checkBounddisjunction(), checkConsnames(), checkFeasSubtree(), checkKnapsack(), checkLogicor(), checkVarbound(), computeAndConstraintInfos(), consdataCollectLinkingCons(), consdataCreate(), consdataEnsureAddLinConsSize(), conshdlrsCanProvideSymInformation(), consPrintConsSol(), copyConsPseudoboolean(), createAltLP(), createAndAddProofcons(), createBlockproblem(), createMaps(), createNAryBranch(), deleteAltLPConstraint(), determineTotalNumberLinearConss(), enforceCardinality(), enforceConflictgraph(), enforceConssSOS1(), enforceConstraint(), enforceConstraints(), enforceCurrentSol(), enforceIndicators(), enforcePseudo(), enforceSOS2(), estimateSymgraphSize(), extractLinearValues(), generateBoundInequalityFromSOS1Cons(), initAlternativeLP(), initPricing(), isViolatedAndNotFixed(), paramsetSetPresolvingDefault(), paramsetSetPresolvingFast(), paramsetSetPresolvingOff(), paramsetSetSeparatingAggressive(), paramsetSetSeparatingDefault(), paramsetSetSeparatingOff(), performVarDeletions(), presolveRound(), printRangeSection(), processBinvarFixings(), processFixings(), processRealBoundChg(), processWatchedVars(), propagationRound(), readIndicators(), registerBranchingCandidates(), saveConsBounddisjuction(), saveConsLinear(), saveLocalConssData(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSACTIVE(), SCIP_DECL_CONSCHECK(), SCIP_DECL_CONSCOPY(), SCIP_DECL_CONSDEACTIVE(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSDISABLE(), SCIP_DECL_CONSENABLE(), SCIP_DECL_CONSENFOLP(), SCIP_DECL_CONSENFOPS(), SCIP_DECL_CONSENFORELAX(), SCIP_DECL_CONSEXIT(), SCIP_DECL_CONSEXITPRE(), SCIP_DECL_CONSEXITSOL(), SCIP_DECL_CONSFREE(), SCIP_DECL_CONSGETDIVEBDCHGS(), SCIP_DECL_CONSHDLRCOPY(), SCIP_DECL_CONSINIT(), SCIP_DECL_CONSINITLP(), SCIP_DECL_CONSINITPRE(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSLOCK(), SCIP_DECL_CONSPARSE(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPRINT(), scip::ObjConshdlr::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_NONLINCONSUPGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PRICERREDCOST(), SCIP_DECL_RELAXEXEC(), SCIP_DECL_SORTPTRCOMP(), SCIPaddBilinTermQuadratic(), SCIPaddCoefKnapsack(), SCIPaddCoefLinear(), SCIPaddCoefLogicor(), SCIPaddCoefPseudoboolean(), SCIPaddCoefSetppc(), SCIPaddConsElemConjunction(), SCIPaddConsElemDisjunction(), SCIPaddConstantQuadratic(), SCIPaddExprNonlinear(), SCIPaddLinearConsIndicator(), SCIPaddLinearVarNonlinear(), SCIPaddLinearVarQuadratic(), SCIPaddQuadVarLinearCoefQuadratic(), SCIPaddQuadVarQuadratic(), SCIPaddRowIndicator(), SCIPaddSquareCoefQuadratic(), SCIPaddTermPseudoboolean(), SCIPaddVarCardinality(), SCIPaddVarIndicator(), SCIPaddVarSOS1(), SCIPaddVarSOS2(), SCIPappendVarCardinality(), SCIPappendVarSOS1(), SCIPappendVarSOS2(), SCIPcheckQuadraticNonlinear(), SCIPchgAndConsCheckFlagWhenUpgr(), SCIPchgAndConsRemovableFlagWhenUpgr(), SCIPchgCapacityKnapsack(), SCIPchgCardvalCardinality(), SCIPchgCoefLinear(), SCIPchgExprNonlinear(), SCIPchgLhsLinear(), SCIPchgLhsNonlinear(), SCIPchgLhsPseudoboolean(), SCIPchgLhsQuadratic(), SCIPchgRhsLinear(), SCIPchgRhsNonlinear(), SCIPchgRhsPseudoboolean(), SCIPchgRhsQuadratic(), SCIPconflictstoreCleanNewIncumbent(), SCIPconsAddCoef(), SCIPconsGetDualfarkas(), SCIPconsGetDualsol(), SCIPconsGetLhs(), SCIPconsGetRhs(), SCIPconsGetRow(), SCIPconshdlrCopyInclude(), SCIPcopyConss(), SCIPcreateConsIndicatorGenericLinCons(), SCIPcreateConsIndicatorGenericLinConsPure(), SCIPcreateConsSuperindicator(), SCIPgetActiveOnIndicator(), SCIPgetActivityLinear(), SCIPgetAndDatasPseudoboolean(), SCIPgetBinaryVarIndicator(), SCIPgetBinaryVarIndicatorGeneric(), SCIPgetBinaryVarSuperindicator(), SCIPgetBinvarsDataLinking(), SCIPgetBinvarsLinking(), SCIPgetBoundsBounddisjunction(), SCIPgetBoundtypesBounddisjunction(), SCIPgetCapacityCumulative(), SCIPgetCapacityKnapsack(), SCIPgetCardvalCardinality(), SCIPgetConflictgraphSOS1(), SCIPgetConsVals(), SCIPgetCurvatureNonlinear(), SCIPgetDemandsCumulative(), SCIPgetDualfarkasKnapsack(), SCIPgetDualfarkasLinear(), SCIPgetDualfarkasLogicor(), SCIPgetDualfarkasSetppc(), SCIPgetDualfarkasVarbound(), SCIPgetDualsolKnapsack(), SCIPgetDualsolLinear(), SCIPgetDualsolLogicor(), SCIPgetDualsolSetppc(), SCIPgetDualSolVal(), SCIPgetDualsolVarbound(), SCIPgetDurationsCumulative(), SCIPgetExprNonlinear(), SCIPgetFeasibilityLinear(), SCIPgetHmaxCumulative(), SCIPgetHmaxOptcumulative(), SCIPgetHminCumulative(), SCIPgetHminOptcumulative(), SCIPgetIndVarPseudoboolean(), SCIPgetIntVarXor(), SCIPgetLhsLinear(), SCIPgetLhsNonlinear(), SCIPgetLhsPseudoboolean(), SCIPgetLhsVarbound(), SCIPgetLinDatasWithoutAndPseudoboolean(), SCIPgetLinearConsIndicator(), SCIPgetLinearConsPseudoboolean(), SCIPgetLinearConsTypePseudoboolean(), SCIPgetLinkvarLinking(), SCIPgetNAndsPseudoboolean(), SCIPgetNBinvarsLinking(), SCIPgetNFixedonesSetppc(), SCIPgetNFixedzerosSetppc(), SCIPgetNLinVarsWithoutAndPseudoboolean(), SCIPgetNlRowAbspower(), SCIPgetNlRowNonlinear(), SCIPgetNlRowQuadratic(), SCIPgetNlRowSOC(), SCIPgetNSOS1Vars(), SCIPgetNVarsAnd(), SCIPgetNVarsBounddisjunction(), SCIPgetNVarsCardinality(), SCIPgetNVarsCumulative(), SCIPgetNVarsKnapsack(), SCIPgetNVarsLinear(), SCIPgetNVarsLogicor(), SCIPgetNVarsOr(), SCIPgetNVarsSetppc(), SCIPgetNVarsSOS1(), SCIPgetNVarsSOS2(), SCIPgetNVarsXor(), SCIPgetResultantAnd(), SCIPgetResultantOr(), SCIPgetRhsLinear(), SCIPgetRhsNonlinear(), SCIPgetRhsPseudoboolean(), SCIPgetRhsVarbound(), SCIPgetRhsXor(), SCIPgetRowKnapsack(), SCIPgetRowLinear(), SCIPgetRowLogicor(), SCIPgetRowSetppc(), SCIPgetRowVarbound(), SCIPgetSlackConsSuperindicator(), SCIPgetSlackVarIndicator(), SCIPgetTypeSetppc(), SCIPgetValsLinear(), SCIPgetValsLinking(), SCIPgetVarsAnd(), SCIPgetVarsBounddisjunction(), SCIPgetVarsCardinality(), SCIPgetVarsCumulative(), SCIPgetVarsKnapsack(), SCIPgetVarsLinear(), SCIPgetVarsLogicor(), SCIPgetVarsOr(), SCIPgetVarsSetppc(), SCIPgetVarsSOS1(), SCIPgetVarsSOS2(), SCIPgetVarsXor(), SCIPgetVarVarbound(), SCIPgetVbdcoefVarbound(), SCIPgetVbdvarVarbound(), SCIPgetWeightsCardinality(), SCIPgetWeightsKnapsack(), SCIPgetWeightsSOS1(), 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(), SCIPsetSlackVarUb(), SCIPsolCheck(), SCIPsortAndCons(), SCIPtransformMinUC(), SCIPtransformProb(), SCIPupgradeConsLinear(), SCIPvarGetNodeSOS1(), SCIPvarIsSOS1(), 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 4207 of file cons.c.
References SCIP_Conshdlr::desc, and NULL.
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPincludeDialogDefaultFix(), and SCIPincludeDialogDefaultSet().
◆ SCIPconshdlrGetData()
SCIP_CONSHDLRDATA * SCIPconshdlrGetData | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets user data of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 4217 of file cons.c.
References SCIP_Conshdlr::conshdlrdata, and NULL.
Referenced by addAltLPConstraint(), addAltLPRow(), addCliques(), addCoef(), addCoefTerm(), addNegatedCliques(), addObjcut(), addRelaxation(), applyAlternativeBoundsFixing(), applyFixings(), bilinearTermsInsertAll(), bilinearTermsInsertEntry(), branchAuxNonlinear(), branching(), branchingIntegralFirst(), 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(), rangedRowPropagation(), 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_CONSGETPERMSYMGRAPH(), SCIP_DECL_CONSGETSIGNEDPERMSYMGRAPH(), 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(), SCIPappendVarSOS1(), SCIPassumeConvexNonlinear(), SCIPcleanupConssLogicor(), SCIPcleanupConssVarbound(), SCIPcomputeFacetVertexPolyhedralNonlinear(), SCIPcreateConsAnd(), SCIPcreateConsCardinality(), SCIPcreateConsCumulative(), SCIPcreateConsIndicatorGeneric(), SCIPcreateConsIndicatorGenericLinCons(), SCIPcreateConsIndicatorGenericLinConsPure(), SCIPcreateConsKnapsack(), SCIPcreateConsLinking(), SCIPcreateConsLogicor(), SCIPcreateConsOptcumulative(), SCIPcreateConsOr(), SCIPcreateConsOrbisack(), SCIPcreateConsOrbitope(), SCIPcreateConsPseudoboolean(), SCIPcreateConsPseudobooleanWithConss(), SCIPcreateConsSOS1(), SCIPcreateConsSuperindicator(), SCIPcreateConsVarbound(), SCIPexistsConsLinking(), SCIPfindNlhdlrNonlinear(), SCIPfindObjConshdlr(), SCIPgetBilinTermIdxNonlinear(), SCIPgetBilinTermNonlinear(), SCIPgetBilinTermsNonlinear(), SCIPgetBinvarsLinking(), SCIPgetConflictgraphSOS1(), SCIPgetConsLinking(), SCIPgetCountedSparseSols(), SCIPgetCurBoundsTagNonlinear(), SCIPgetExprBoundsNonlinear(), SCIPgetExprPartialDiffGradientDirNonlinear(), SCIPgetExprPartialDiffNonlinear(), SCIPgetExprViolScoreNonlinear(), SCIPgetLastBoundRelaxTagNonlinear(), SCIPgetNBilinTermsNonlinear(), SCIPgetNCountedFeasSubtrees(), SCIPgetNCountedSols(), SCIPgetNCountedSolsstr(), SCIPgetNlhdlrsNonlinear(), SCIPgetNNlhdlrsNonlinear(), SCIPgetNSOS1Vars(), SCIPgetObjConshdlr(), SCIPgetVarExprHashmapNonlinear(), SCIPincludeConsUpgradeNonlinear(), SCIPincludeLinconsUpgrade(), SCIPincludeNlhdlrNonlinear(), SCIPincrementCurBoundsTagNonlinear(), SCIPinsertBilinearTermExistingNonlinear(), SCIPinsertBilinearTermImplicitNonlinear(), SCIPmakeSOS1sFeasible(), SCIPprocessRowprepNonlinear(), SCIPpropCumulativeCondition(), SCIPregisterExprUsageNonlinear(), SCIPseparateRelaxedKnapsack(), SCIPsetBinaryVarIndicator(), SCIPsetLinearConsIndicator(), SCIPsetSolveCumulative(), SCIPsolveCumulative(), SCIPtightenExprIntervalNonlinear(), SCIPupgradeConsLinear(), SCIPvarGetNodeSOS1(), SCIPvarIsSOS1(), scoreBranchingCandidates(), selectBranchingCandidate(), separateConstraints(), separateIISRounding(), separateIndicators(), separateInequalities(), separatePerspective(), separateSOS1(), setSetppcType(), storeVarExprs(), tightenAuxVarBounds(), tightenWeights(), tightenWeightsLift(), 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 4227 of file cons.c.
References SCIP_Conshdlr::conshdlrdata, and NULL.
Referenced by SCIP_DECL_CONSFREE().
◆ 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 4238 of file cons.c.
References SCIP_Conshdlr::delaysepa, NULL, SCIP_Conshdlr::sepafreq, and SCIP_Conshdlr::sepapriority.
Referenced by 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 4259 of file cons.c.
References SCIP_Conshdlr::delayprop, NULL, SCIP_Conshdlr::propfreq, and SCIP_Conshdlr::proptiming.
Referenced by 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 4278 of file cons.c.
References NULL.
Referenced by 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 4593 of file cons.c.
References SCIP_Conshdlr::conss, and NULL.
Referenced by addBranchingDecisionConss(), addKnapsackConstraints(), addLinearConstraints(), addLogicOrConstraints(), addSetppcConstraints(), addVarboundConstraints(), calcNonZeros(), checkAndGetIndicator(), checkBounddisjunction(), checkFeasSubtree(), checkKnapsack(), checkLogicor(), checkVarbound(), componentPackingPartitioningOrbisackUpgrade(), computeAndConstraintInfos(), computeNodeDataSOS1(), computeRanks(), countNonlinearities(), createCoveringProblem(), createMaps(), createSubSCIP(), detectMinors(), getDiveBdChgsSOS1constraints(), getNVarsIndicators(), hasUnfixedSCIndicator(), makeSOS1conflictgraphFeasible(), makeSOS1constraintsFeasible(), packingUpgrade(), presolveAddKKTKnapsackConss(), presolveAddKKTLogicorConss(), presolveAddKKTSetppcConss(), presolveAddKKTVarboundConss(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSGETDIVEBDCHGS(), SCIP_DECL_CONSPROP(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_TABLEOUTPUT(), SCIPclassifyConstraintTypesLinear(), SCIPcleanupConssKnapsack(), SCIPcleanupConssLinear(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), 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 4603 of file cons.c.
References SCIP_Conshdlr::enfoconss, and NULL.
Referenced by 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 4613 of file cons.c.
References SCIP_Conshdlr::checkconss, and NULL.
Referenced by calcNonZeros(), SCIPcleanupConssKnapsack(), SCIPcleanupConssLinear(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), 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 4626 of file cons.c.
References NULL, and SCIP_Conshdlr::updateconss.
◆ SCIPconshdlrGetNConss()
int SCIPconshdlrGetNConss | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets total number of existing transformed constraints of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 4636 of file cons.c.
References SCIP_Conshdlr::nconss, and NULL.
Referenced by addBranchingDecisionConss(), checkConsQuadraticProblem(), componentPackingPartitioningOrbisackUpgrade(), computeAndConstraintInfos(), computeNodeDataSOS1(), computeRanks(), conshdlrsCanProvideSymInformation(), createMaps(), createSubSCIP(), detectMinors(), getDiveBdChgsSOS1constraints(), getNLPVarsNonConvexity(), getNVarsIndicators(), hasUnfixedSCIndicator(), makeSOS1conflictgraphFeasible(), makeSOS1constraintsFeasible(), packingUpgrade(), presolveAddKKTKnapsackConss(), presolveAddKKTLogicorConss(), presolveAddKKTSetppcConss(), presolveAddKKTVarboundConss(), SCIP_DECL_CONFLICTEXEC(), SCIP_DECL_CONSDELETE(), SCIP_DECL_CONSGETDIVEBDCHGS(), SCIP_DECL_DISPOUTPUT(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPEXEC(), SCIP_DECL_SEPAEXECLP(), SCIP_DECL_TABLEOUTPUT(), SCIPclassifyConstraintTypesLinear(), SCIPisPackingPartitioningOrbitope(), SCIPmakeIndicatorsFeasible(), SCIPmakeSOS1sFeasible(), SCIPreaderWrite(), SCIPwriteLp(), 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 4646 of file cons.c.
References SCIP_Conshdlr::nenfoconss, and NULL.
Referenced by 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 4656 of file cons.c.
References SCIP_Conshdlr::ncheckconss, and NULL.
Referenced by calcNonZeros(), SCIPapplyLockFixings(), SCIPcleanupConssKnapsack(), SCIPcleanupConssLinear(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), 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
-
conshdlr constraint handler
Definition at line 4670 of file cons.c.
References SCIP_Conshdlr::nactiveconss, and NULL.
Referenced by addKnapsackConstraints(), addLinearConstraints(), addLogicOrConstraints(), addSetppcConstraints(), addVarboundConstraints(), calcNonZeros(), checkAndGetIndicator(), checkBounddisjunction(), checkKnapsack(), checkLogicor(), checkVarbound(), countNonlinearities(), createCoveringProblem(), DECL_CHANGESUBSCIP(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSPRESOL(), SCIP_DECL_CONSPROP(), SCIP_DECL_DIVESETAVAILABLE(), SCIP_DECL_HEUREXEC(), SCIP_DECL_PRESOLEXEC(), SCIPapplyUndercover(), SCIPcleanupConssKnapsack(), SCIPcleanupConssLinear(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), SCIPcopyConss(), SCIPpermuteProb(), SCIPpresolve(), SCIPtransformProb(), testSymmetryComputationRequired(), and vartypeIsBranchRowType().
◆ SCIPconshdlrGetNEnabledConss()
int SCIPconshdlrGetNEnabledConss | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets number of enabled constraints of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 4680 of file cons.c.
References SCIP_Conshdlr::nenabledconss, and NULL.
Referenced by checkBounddisjunction(), checkFeasSubtree(), checkKnapsack(), checkLogicor(), and checkVarbound().
◆ SCIPconshdlrGetNUpdateConss()
int SCIPconshdlrGetNUpdateConss | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets number of constraints that have delayed updates
- Parameters
-
conshdlr constraint handler
Definition at line 4690 of file cons.c.
References NULL, and SCIP_Conshdlr::nupdateconss.
◆ 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 4720 of file cons.c.
References NULL, SCIPclockGetTime(), and SCIP_Conshdlr::setuptime.
Referenced by 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 4730 of file cons.c.
References NULL, SCIP_Conshdlr::presoltime, and SCIPclockGetTime().
Referenced by 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 4740 of file cons.c.
References NULL, SCIPclockGetTime(), and SCIP_Conshdlr::sepatime.
Referenced by 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 4750 of file cons.c.
References SCIP_Conshdlr::enfolptime, NULL, and SCIPclockGetTime().
Referenced by 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 4760 of file cons.c.
References SCIP_Conshdlr::enfopstime, NULL, and SCIPclockGetTime().
Referenced by 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 4770 of file cons.c.
References SCIP_Conshdlr::enforelaxtime, NULL, and SCIPclockGetTime().
Referenced by 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 4780 of file cons.c.
References NULL, SCIP_Conshdlr::proptime, and SCIPclockGetTime().
Referenced by 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 4790 of file cons.c.
References NULL, SCIP_Conshdlr::sbproptime, and SCIPclockGetTime().
Referenced by 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 4800 of file cons.c.
References SCIP_Conshdlr::checktime, NULL, and SCIPclockGetTime().
Referenced by 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 4810 of file cons.c.
References NULL, SCIP_Conshdlr::resproptime, and SCIPclockGetTime().
Referenced by 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 4820 of file cons.c.
References SCIP_Conshdlr::nsepacalls, and NULL.
Referenced by 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 4830 of file cons.c.
References SCIP_Conshdlr::nenfolpcalls, and NULL.
Referenced by 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 4840 of file cons.c.
References SCIP_Conshdlr::nenfopscalls, and NULL.
Referenced by 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 4850 of file cons.c.
References SCIP_Conshdlr::nenforelaxcalls, and NULL.
Referenced by 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 4860 of file cons.c.
References SCIP_Conshdlr::npropcalls, and NULL.
Referenced by 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 4870 of file cons.c.
References SCIP_Conshdlr::ncheckcalls, and NULL.
Referenced by 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 4880 of file cons.c.
References SCIP_Conshdlr::nrespropcalls, and NULL.
Referenced by 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 4890 of file cons.c.
References SCIP_Conshdlr::ncutoffs, and NULL.
Referenced by 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 4900 of file cons.c.
References SCIP_Conshdlr::ncutsfound, and NULL.
Referenced by 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 4910 of file cons.c.
References SCIP_Conshdlr::ncutsapplied, and NULL.
Referenced by 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 4940 of file cons.c.
References SCIP_Conshdlr::nconssfound, and NULL.
Referenced by 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 4950 of file cons.c.
References SCIP_Conshdlr::ndomredsfound, and NULL.
Referenced by SCIPprintConstraintStatistics().
◆ SCIPconshdlrGetNChildren()
SCIP_Longint SCIPconshdlrGetNChildren | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets number of children created by this constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 4960 of file cons.c.
References SCIP_Conshdlr::nchildren, and NULL.
Referenced by 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 4970 of file cons.c.
References SCIP_Conshdlr::maxnactiveconss, and NULL.
Referenced by SCIP_DECL_TABLEOUTPUT(), 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 4980 of file cons.c.
References NULL, and SCIP_Conshdlr::startnactiveconss.
Referenced by 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 4990 of file cons.c.
References SCIP_Conshdlr::nfixedvars, and NULL.
Referenced by 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 5000 of file cons.c.
References SCIP_Conshdlr::naggrvars, and NULL.
Referenced by 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 5010 of file cons.c.
References SCIP_Conshdlr::nchgvartypes, and NULL.
Referenced by 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 5020 of file cons.c.
References SCIP_Conshdlr::nchgbds, and NULL.
Referenced by 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 5030 of file cons.c.
References SCIP_Conshdlr::naddholes, and NULL.
Referenced by 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 5040 of file cons.c.
References SCIP_Conshdlr::ndelconss, and NULL.
Referenced by 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 5050 of file cons.c.
References SCIP_Conshdlr::naddconss, and NULL.
Referenced by 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 5060 of file cons.c.
References NULL, and SCIP_Conshdlr::nupgdconss.
Referenced by 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 5070 of file cons.c.
References SCIP_Conshdlr::nchgcoefs, and NULL.
Referenced by 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 5080 of file cons.c.
References SCIP_Conshdlr::nchgsides, and NULL.
Referenced by 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 5090 of file cons.c.
References SCIP_Conshdlr::npresolcalls, and NULL.
Referenced by SCIPprintPresolverStatistics().
◆ SCIPconshdlrGetSepaPriority()
int SCIPconshdlrGetSepaPriority | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets separation priority of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 5100 of file cons.c.
References NULL, and SCIP_Conshdlr::sepapriority.
Referenced by SCIP_DECL_DIALOGEXEC(), SCIPsetConshdlrSepa(), and separationRoundLP().
◆ SCIPconshdlrGetEnfoPriority()
int SCIPconshdlrGetEnfoPriority | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets enforcing priority of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 5110 of file cons.c.
References SCIP_Conshdlr::enfopriority, and NULL.
Referenced by SCIP_DECL_DIALOGEXEC().
◆ SCIPconshdlrGetCheckPriority()
int SCIPconshdlrGetCheckPriority | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets checking priority of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 5120 of file cons.c.
References SCIP_Conshdlr::checkpriority, and NULL.
Referenced by SCIP_DECL_DIALOGEXEC(), and SCIPsolCheckOrig().
◆ SCIPconshdlrGetSepaFreq()
int SCIPconshdlrGetSepaFreq | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets separation frequency of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 5130 of file cons.c.
References NULL, and SCIP_Conshdlr::sepafreq.
Referenced by branchBalancedCardinality(), SCIP_DECL_CONSINITSOL(), SCIP_DECL_CONSSEPALP(), SCIP_DECL_CONSSEPASOL(), and SCIP_DECL_DIALOGEXEC().
◆ SCIPconshdlrGetPropFreq()
int SCIPconshdlrGetPropFreq | ( | SCIP_CONSHDLR * | conshdlr | ) |
gets propagation frequency of constraint handler
- Parameters
-
conshdlr constraint handler
Definition at line 5140 of file cons.c.
References NULL, and SCIP_Conshdlr::propfreq.
Referenced by SCIP_DECL_CONSPROP(), and SCIP_DECL_DIALOGEXEC().
◆ 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 5150 of file cons.c.
References SCIP_Conshdlr::eagerfreq, and NULL.
Referenced by SCIP_DECL_DIALOGEXEC().
◆ SCIPconshdlrNeedsCons()
SCIP_Bool SCIPconshdlrNeedsCons | ( | SCIP_CONSHDLR * | conshdlr | ) |
needs constraint handler a constraint to be called?
- Parameters
-
conshdlr constraint handler
Definition at line 5160 of file cons.c.
References SCIP_Conshdlr::needscons, and NULL.
Referenced by SCIPprintConstraintStatistics(), SCIPprintConstraintTimingStatistics(), SCIPprintPresolverStatistics(), SCIPprobFree(), SCIPprobTransform(), SCIPsetCopyPlugins(), and SCIPsolCheckOrig().
◆ SCIPconshdlrDoesPresolve()
SCIP_Bool SCIPconshdlrDoesPresolve | ( | SCIP_CONSHDLR * | conshdlr | ) |
does the constraint handler perform presolving?
- Parameters
-
conshdlr constraint handler
Definition at line 5170 of file cons.c.
References NULL.
Referenced by 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 5180 of file cons.c.
References SCIP_Conshdlr::delaysepa, and NULL.
◆ SCIPconshdlrIsPropagationDelayed()
SCIP_Bool SCIPconshdlrIsPropagationDelayed | ( | SCIP_CONSHDLR * | conshdlr | ) |
should propagation method be delayed, if other propagators found reductions?
- Parameters
-
conshdlr constraint handler
Definition at line 5190 of file cons.c.
References SCIP_Conshdlr::delayprop, and NULL.
◆ SCIPconshdlrWasLPSeparationDelayed()
SCIP_Bool SCIPconshdlrWasLPSeparationDelayed | ( | SCIP_CONSHDLR * | conshdlr | ) |
was LP separation method delayed at the last call?
- Parameters
-
conshdlr constraint handler
Definition at line 5200 of file cons.c.
References NULL, and SCIP_Conshdlr::sepalpwasdelayed.
Referenced by 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 5210 of file cons.c.
References NULL, and SCIP_Conshdlr::sepasolwasdelayed.
Referenced by separationRoundSol().
◆ SCIPconshdlrWasPropagationDelayed()
SCIP_Bool SCIPconshdlrWasPropagationDelayed | ( | SCIP_CONSHDLR * | conshdlr | ) |
was propagation method delayed at the last call?
- Parameters
-
conshdlr constraint handler
Definition at line 5220 of file cons.c.
References NULL, and SCIP_Conshdlr::propwasdelayed.
Referenced by propagationRound().
◆ SCIPconshdlrIsInitialized()
SCIP_Bool SCIPconshdlrIsInitialized | ( | SCIP_CONSHDLR * | conshdlr | ) |
is constraint handler initialized?
- Parameters
-
conshdlr constraint handler
Definition at line 5230 of file cons.c.
References SCIP_Conshdlr::initialized, and NULL.
◆ SCIPconshdlrIsClonable()
SCIP_Bool SCIPconshdlrIsClonable | ( | SCIP_CONSHDLR * | conshdlr | ) |
does the constraint handler have a copy function?
- Parameters
-
conshdlr constraint handler
Definition at line 5240 of file cons.c.
References NULL.
Referenced by SCIPsetCopyPlugins().
◆ 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 5250 of file cons.c.
References NULL, and SCIP_Conshdlr::proptiming.
Referenced by propagationRound().
◆ 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 5593 of file cons.c.
References SCIP_ConsSetChg::addedconss, SCIP_ConsSetChg::naddedconss, and NULL.
◆ 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 5260 of file cons.c.
References NULL, and SCIP_Conshdlr::proptiming.
◆ 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 5272 of file cons.c.
References NULL, and SCIP_Conshdlr::presoltiming.
Referenced by SCIP_DECL_DIALOGEXEC().
◆ 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 5282 of file cons.c.
References NULL, and SCIP_Conshdlr::presoltiming.
◆ SCIPconshdlrSupportsPermsymDetection()
SCIP_Bool SCIPconshdlrSupportsPermsymDetection | ( | SCIP_CONSHDLR * | conshdlr | ) |
returns whether conshdlr supports permutation symmetry detection
- Parameters
-
conshdlr constraint handler
Definition at line 5293 of file cons.c.
References NULL.
Referenced by conshdlrCanProvideSymInformation().
◆ SCIPconshdlrSupportsSignedPermsymDetection()
SCIP_Bool SCIPconshdlrSupportsSignedPermsymDetection | ( | SCIP_CONSHDLR * | conshdlr | ) |
returns whether conshdlr supports signed permutation symmetry detection
- Parameters
-
conshdlr constraint handler
Definition at line 5303 of file cons.c.
References NULL.
Referenced by conshdlrCanProvideSymInformation().
◆ 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_DECL_CONSGETPERMSYMGRAPH((*consgetpermsymgraph)) | , | ||
SCIP_DECL_CONSGETSIGNEDPERMSYMGRAPH((*consgetsignedpermsymgraph)) | , | ||
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 83 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrCreate(), SCIPerrorMessage, SCIPfindConshdlr(), SCIPsetIncludeConshdlr(), and TRUE.
Referenced by SCIPincludeConshdlrNonlinear(), 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 181 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_INVALIDDATA, SCIP_OKAY, SCIP_PRESOLTIMING_ALWAYS, SCIP_PROPTIMING_BEFORELP, SCIPcheckStage(), SCIPconshdlrCreate(), SCIPerrorMessage, SCIPfindConshdlr(), SCIPsetIncludeConshdlr(), and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), includeConshdlrCountsols(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrBenderslp(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrFixedvar(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrIntegral(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 235 of file scip_cons.c.
References FALSE, NULL, paramname, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrGetName(), SCIPconshdlrGetSepaPriority(), SCIPconshdlrSetSepa(), SCIPsetReinsertConshdlrSepaPrio(), SCIPsetSetDefaultBoolParam(), SCIPsetSetDefaultIntParam(), SCIPsnprintf(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 281 of file scip_cons.c.
References FALSE, NULL, paramname, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrGetName(), SCIPconshdlrSetProp(), SCIPsetSetDefaultBoolParam(), SCIPsetSetDefaultIntParam(), SCIPsnprintf(), and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 323 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(), SCIPincludeConshdlrFixedvar(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrIntegral(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 347 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(), SCIPincludeConshdlrFixedvar(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrIntegral(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 372 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(), SCIPincludeConshdlrFixedvar(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 396 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetInit(), and TRUE.
Referenced by includeConshdlrCountsols(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrPseudoboolean(), and SCIPincludeConshdlrSetppc().
◆ 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 420 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetExit(), and TRUE.
Referenced by includeConshdlrCountsols(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLOP(), and SCIPincludeConshdlrOptcumulative().
◆ 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 444 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetInitsol(), and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), includeConshdlrCountsols(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrFixedvar(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 468 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetExitsol(), and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), includeConshdlrCountsols(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrFixedvar(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrRpa(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 492 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetInitpre(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOptcumulative(), 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 516 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetExitpre(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrSetppc(), 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 540 of file scip_cons.c.
References FALSE, NULL, paramname, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrGetName(), SCIPconshdlrSetPresol(), SCIPsetSetDefaultIntParam(), SCIPsnprintf(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrComponents(), SCIPincludeConshdlrConjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 578 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(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 601 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(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 624 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetInitlp(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBenders(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrDisjunction(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 647 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetResprop(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 670 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetActive(), and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSetppc(), 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 693 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetDeactive(), and TRUE.
Referenced by COLORincludeConshdlrStoreGraph(), SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSetppc(), 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 716 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetEnable(), and TRUE.
Referenced by SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrLinking(), and SCIPincludeConshdlrOptcumulative().
◆ 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 739 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetDisable(), and TRUE.
Referenced by SCIPincludeConshdlrIndicator(), and SCIPincludeConshdlrOptcumulative().
◆ 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 762 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetDelvars(), and TRUE.
Referenced by SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrOptcumulative(), and SCIPincludeConshdlrSetppc().
◆ 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 785 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(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrLOP(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSamediff(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 808 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(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOptcumulative(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 831 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetGetVars(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 854 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetGetNVars(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrCumulative(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrOrbisack(), SCIPincludeConshdlrOrbitope(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), 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 877 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetGetDiveBdChgs(), and TRUE.
Referenced by SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrIntegral(), and SCIPincludeConshdlrSOS1().
◆ SCIPsetConshdlrGetPermsymGraph()
SCIP_RETCODE SCIPsetConshdlrGetPermsymGraph | ( | SCIP * | scip, |
SCIP_CONSHDLR * | conshdlr, | ||
SCIP_DECL_CONSGETPERMSYMGRAPH((*consgetpermsymgraph)) | |||
) |
sets permutation symmetry detection graph 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:
sets permutation symmetry detection graph 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 900 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetGetPermsymGraph(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
◆ SCIPsetConshdlrGetSignedPermsymGraph()
SCIP_RETCODE SCIPsetConshdlrGetSignedPermsymGraph | ( | SCIP * | scip, |
SCIP_CONSHDLR * | conshdlr, | ||
SCIP_DECL_CONSGETSIGNEDPERMSYMGRAPH((*consgetsignedpermsymgraph)) | |||
) |
sets signed permutation symmetry detection graph 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:
sets signed permutation symmetry detection graph 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 924 of file scip_cons.c.
References FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPcheckStage(), SCIPconshdlrSetGetSignedPermsymGraph(), and TRUE.
Referenced by SCIPincludeConshdlrAnd(), SCIPincludeConshdlrBounddisjunction(), SCIPincludeConshdlrCardinality(), SCIPincludeConshdlrIndicator(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLinking(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrOr(), SCIPincludeConshdlrPseudoboolean(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrSOS1(), SCIPincludeConshdlrSOS2(), SCIPincludeConshdlrVarbound(), and SCIPincludeConshdlrXor().
◆ 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 941 of file scip_cons.c.
References NULL, and SCIPsetFindConshdlr().
Referenced by addCoef(), addLinearConstraintsToNlp(), addRelaxation(), addSlackVarsToConstraints(), applyAlternativeBoundsFixing(), applyObbtBilinear(), cancelRow(), checkConsQuadraticProblem(), checkOverloadViaThetaTree(), checkSubproblemConvexity(), COLORconsGetActiveStoreGraphCons(), COLORconsGetComplementaryGraph(), COLORconsGetCurrentGraph(), COLORconsGetRepresentative(), COLORconsGetRepresentatives(), COLORconsGetStack(), COLORconsGetUnion(), COLORconsGetUnions(), COLORcreateConsStoreGraph(), componentPackingPartitioningOrbisackUpgrade(), computeAndConstraintInfos(), computeEffectiveHorizon(), computeNodeDataSOS1(), computeRanks(), consdataCreate(), conshdlrsCanProvideSymInformation(), copyConsPseudoboolean(), coretimesUpdateLb(), coretimesUpdateUb(), countNonlinearities(), createAndAddLinearCons(), createAndAddTransferredCut(), createConsComponents(), createConsSetppc(), createConsStoreGraphAtRoot(), createConsXorIntvar(), createCoreProfile(), createCoveringProblem(), createSubscip(), createSubSCIP(), DECL_CHANGESUBSCIP(), detectMinors(), findCumulativeConss(), findPrecedenceConss(), generateAndApplyBendersIntegerCuts(), generateAndApplyBendersNogoodCut(), getNLPVarsNonConvexity(), getNVarsIndicators(), inferboundsEdgeFinding(), initBounds(), 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_DIVESETAVAILABLE(), SCIP_DECL_EVENTEXEC(), SCIP_DECL_HEUREXEC(), SCIP_DECL_HEURINIT(), SCIP_DECL_HEURINITSOL(), SCIP_DECL_LINCONSUPGD(), SCIP_DECL_NLHDLRINTEVAL(), SCIP_DECL_PARAMCHGD(), SCIP_DECL_PRESOLEXEC(), SCIP_DECL_PROPEXEC(), SCIP_DECL_PROPINITPRE(), SCIP_DECL_SEPAEXITSOL(), SCIP_DECL_TABLEOUTPUT(), SCIPapplyHeurDualval(), SCIPapplyLockFixings(), SCIPclassifyConstraintTypesLinear(), SCIPcleanupConssKnapsack(), SCIPcleanupConssLinear(), SCIPcleanupConssLogicor(), SCIPcleanupConssSetppc(), SCIPcleanupConssVarbound(), SCIPcopyCuts(), SCIPcreateConsAnd(), SCIPcreateConsBounddisjunction(), SCIPcreateConsBounddisjunctionRedundant(), SCIPcreateConsCardinality(), SCIPcreateConsConjunction(), SCIPcreateConsCumulative(), SCIPcreateConsDisjunction(), SCIPcreateConsIndicatorGeneric(), SCIPcreateConsIndicatorGenericLinCons(), SCIPcreateConsIndicatorGenericLinConsPure(), 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(), SCIPincludeConshdlrKnapsack(), SCIPincludeConshdlrLinear(), SCIPincludeConshdlrLogicor(), SCIPincludeConshdlrSetppc(), SCIPincludeConshdlrVarbound(), SCIPincludeConshdlrXor(), SCIPincludeConsUpgradeNonlinear(), SCIPincludeExprhdlrProduct(), SCIPincludeLinconsUpgrade(), SCIPincludeNlhdlrNonlinear(), SCIPincludePricerBinpacking(), SCIPincludeSepaRlt(), SCIPisPackingPartitioningOrbitope(), SCIPmatrixCreate(), SCIPorbitopalReductionAddOrbitope(), SCIPperformGenericDivingAlgorithm(), SCIPpropCumulativeCondition(), SCIPseparateRelaxedKnapsack(), SCIPsetSolveCumulative(), SCIPsolve(), SCIPsolveCumulative(), SCIPwriteLp(), SCIPwriteMps(), 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 954 of file scip_cons.c.
References NULL.
Referenced by checkFeasSubtree(), conshdlrsCanProvideSymInformation(), 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 965 of file scip_cons.c.
References NULL.
Referenced by checkFeasSubtree(), conshdlrsCanProvideSymInformation(), SCIP_DECL_DIALOGEXEC(), SCIPcopyConss(), SCIPgetNCheckConss(), SCIPincludeDialogDefaultFix(), SCIPincludeDialogDefaultSet(), SCIPmatrixCreate(), and SCIPpermuteProb().