|
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
cons.h File Reference Detailed Descriptioninternal methods for constraints and constraint handlers Definition in file cons.h. #include "scip/def.h"#include "blockmemshell/memory.h"#include "scip/type_retcode.h"#include "scip/type_result.h"#include "scip/type_set.h"#include "scip/type_stat.h"#include "scip/type_mem.h"#include "scip/type_misc.h"#include "scip/type_timing.h"#include "scip/type_lp.h"#include "scip/type_var.h"#include "scip/type_prob.h"#include "scip/type_sol.h"#include "scip/type_tree.h"#include "scip/type_sepastore.h"#include "scip/type_cons.h"#include "scip/pub_cons.h"#include "scip/struct_cons.h"Go to the source code of this file. Function Documentation
copies the given constraint handler to a new scip
Definition at line 1959 of file cons.c. References NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPconshdlrGetName(), and SCIPdebugMessage.
creates a constraint handler
Definition at line 1980 of file cons.c. References AGERESETAVG_INIT, BMSallocMemory, BMSduplicateMemoryArray, FALSE, NULL, paramname, SCIP_ALLOC, SCIP_CALL, SCIP_CLOCKTYPE_DEFAULT, SCIP_DIDNOTRUN, SCIP_MAXSTRLEN, SCIP_OKAY, SCIP_PROPTIMING_AFTERLPLOOP, SCIP_PROPTIMING_ALWAYS, SCIP_PROPTIMING_BEFORELP, SCIP_PROPTIMING_DURINGLPLOOP, SCIPclockCreate(), SCIPqueueCreate(), SCIPsetAddBoolParam(), SCIPsetAddIntParam(), SCIPsnprintf(), and TRUE. Referenced by SCIPincludeConshdlr(), and SCIPincludeConshdlrBasic().
calls destructor and frees memory of constraint handler
Definition at line 2239 of file cons.c. References BMSfreeMemory, BMSfreeMemoryArray, BMSfreeMemoryArrayNull, NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPclockFree(), and SCIPqueueFree().
calls init method of constraint handler calls initialization method of constraint handler
Definition at line 2284 of file cons.c. References SCIP_Conshdlr::ageresetavg, AGERESETAVG_INIT, SCIP_Conshdlr::checktime, conshdlrAreUpdatesDelayed(), conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Conshdlr::enfolptime, SCIP_Conshdlr::enfopstime, FALSE, SCIP_Conshdlr::initialized, SCIP_Conshdlr::lastenfolpdomchgcount, SCIP_Conshdlr::lastenfolplpcount, SCIP_Conshdlr::lastenfolpnode, SCIP_Conshdlr::lastenfolpresult, SCIP_Conshdlr::lastenfopsdomchgcount, SCIP_Conshdlr::lastenfopsnode, SCIP_Conshdlr::lastenfopsresult, SCIP_Conshdlr::lastnaddconss, SCIP_Conshdlr::lastnaddholes, SCIP_Conshdlr::lastnaggrvars, SCIP_Conshdlr::lastnchgbds, SCIP_Conshdlr::lastnchgcoefs, SCIP_Conshdlr::lastnchgsides, SCIP_Conshdlr::lastnchgvartypes, SCIP_Conshdlr::lastndelconss, SCIP_Conshdlr::lastnfixedvars, SCIP_Conshdlr::lastnupgdconss, SCIP_Conshdlr::lastnusefulenfoconss, SCIP_Conshdlr::lastnusefulpropconss, SCIP_Conshdlr::lastnusefulsepaconss, SCIP_Conshdlr::lastpropdomchgcount, SCIP_Conshdlr::lastsepalpcount, SCIP_Conshdlr::maxnactiveconss, SCIP_Set::misc_resetstat, SCIP_Conshdlr::nactiveconss, SCIP_Conshdlr::naddconss, SCIP_Conshdlr::naddholes, SCIP_Conshdlr::naggrvars, SCIP_Conshdlr::name, SCIP_Conshdlr::ncheckcalls, SCIP_Conshdlr::nchgbds, SCIP_Conshdlr::nchgcoefs, SCIP_Conshdlr::nchgsides, SCIP_Conshdlr::nchgvartypes, SCIP_Conshdlr::nchildren, SCIP_Conshdlr::nconss, SCIP_Conshdlr::nconssfound, SCIP_Conshdlr::ncutoffs, SCIP_Conshdlr::ncutsapplied, SCIP_Conshdlr::ncutsfound, SCIP_Conshdlr::ndelconss, SCIP_Conshdlr::ndomredsfound, SCIP_Conshdlr::nenfolpcalls, SCIP_Conshdlr::nenfopscalls, SCIP_Conshdlr::nfixedvars, SCIP_Conshdlr::npresolcalls, SCIP_Conshdlr::npropcalls, SCIP_Conshdlr::nrespropcalls, SCIP_Conshdlr::nsepacalls, NULL, SCIP_Conshdlr::nupgdconss, SCIP_Conshdlr::presoltime, SCIP_Conshdlr::presolwasdelayed, SCIP_Conshdlr::proptime, SCIP_Conshdlr::propwasdelayed, SCIP_Conshdlr::resproptime, SCIP_Conshdlr::sbproptime, SCIP_Set::scip, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockReset(), SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, SCIP_Conshdlr::sepalpwasdelayed, SCIP_Conshdlr::sepasolwasdelayed, SCIP_Conshdlr::sepatime, SCIP_Conshdlr::setuptime, SCIP_Conshdlr::startnactiveconss, and TRUE. Referenced by SCIPsetIncludeExternalCode().
calls exit method of constraint handler
Definition at line 2394 of file cons.c. References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, FALSE, SCIP_Conshdlr::initialized, SCIP_Conshdlr::name, SCIP_Conshdlr::nconss, NULL, SCIP_Conshdlr::pendingconss, SCIP_Set::scip, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPconshdlrPopProp(), SCIPerrorMessage, SCIPqueueIsEmpty(), and SCIP_Conshdlr::setuptime.
informs constraint handler that the presolving process is being started
Definition at line 2442 of file cons.c. References SCIP_Cons::addarraypos, conshdlrAddInitcons(), conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Cons::deleted, FALSE, SCIP_Conshdlr::initconss, SCIP_Cons::initconsspos, SCIP_Cons::initial, SCIP_Conshdlr::lastenfolpdomchgcount, SCIP_Conshdlr::lastenfolplpcount, SCIP_Conshdlr::lastenfolpnode, SCIP_Conshdlr::lastenfolpresult, SCIP_Conshdlr::lastenfopsdomchgcount, SCIP_Conshdlr::lastenfopsnode, SCIP_Conshdlr::lastenfopsresult, SCIP_Conshdlr::lastnaddconss, SCIP_Conshdlr::lastnaddholes, SCIP_Conshdlr::lastnaggrvars, SCIP_Conshdlr::lastnchgbds, SCIP_Conshdlr::lastnchgcoefs, SCIP_Conshdlr::lastnchgsides, SCIP_Conshdlr::lastnchgvartypes, SCIP_Conshdlr::lastndelconss, SCIP_Conshdlr::lastnfixedvars, SCIP_Conshdlr::lastnupgdconss, SCIP_Conshdlr::lastnusefulenfoconss, SCIP_Conshdlr::lastnusefulpropconss, SCIP_Conshdlr::lastnusefulsepaconss, SCIP_Conshdlr::lastpropdomchgcount, SCIP_Conshdlr::lastsepalpcount, SCIP_Conshdlr::maxnactiveconss, SCIP_Conshdlr::nactiveconss, SCIP_Conshdlr::nconss, SCIP_Stat::nruns, NULL, SCIP_Conshdlr::presolwasdelayed, SCIP_Conshdlr::propwasdelayed, SCIP_Set::scip, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIP_Conshdlr::setuptime, and SCIP_Conshdlr::startnactiveconss.
informs constraint handler that the presolving is finished
Definition at line 2541 of file cons.c. References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Conshdlr::maxnactiveconss, SCIP_Conshdlr::nactiveconss, SCIP_Conshdlr::nconss, NULL, SCIP_Conshdlr::pendingconss, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPconshdlrPopProp(), SCIPqueueIsEmpty(), SCIP_Conshdlr::setuptime, and SCIP_Conshdlr::startnactiveconss.
informs constraint handler that the branch and bound process is being started
Definition at line 2587 of file cons.c. References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, FALSE, SCIP_Conshdlr::nconss, NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIP_Conshdlr::sepalpwasdelayed, SCIP_Conshdlr::sepasolwasdelayed, and SCIP_Conshdlr::setuptime. Referenced by SCIPsetExitprePlugins().
informs constraint handler that the branch and bound process data is being freed
Definition at line 2627 of file cons.c. References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Conshdlr::nconss, NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Conshdlr::setuptime.
calls LP initialization method of constraint handler to separate all initial active constraints
Definition at line 2664 of file cons.c. References BMSfreeMemoryArrayNull, conshdlrAddInitcons(), conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::initconss, SCIP_Cons::initconsspos, SCIP_Conshdlr::initconsssize, SCIP_Conshdlr::name, SCIP_Conshdlr::ninitconss, SCIP_Conshdlr::ninitconsskept, SCIP_Stat::nnodes, NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPconsGetActiveDepth(), SCIPconsIsActive(), SCIPdebugMessage, SCIPtreeGetCurrentDepth(), SCIPtreeProbing(), and SCIP_Conshdlr::sepatime. Referenced by SCIPinitConssLP().
calls separator method of constraint handler to separate LP solution
Definition at line 2767 of file cons.c. References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::delaysepa, SCIP_Conshdlr::duringsepa, SCIP_Conshdlr::eagerfreq, FALSE, SCIP_Conshdlr::lastnusefulsepaconss, SCIP_Conshdlr::lastsepalpcount, SCIP_Stat::lpcount, MAX, MIN, SCIP_Stat::nactiveconss, SCIP_Conshdlr::name, SCIP_Stat::nboundchgs, SCIP_Conshdlr::ncheckconss, SCIP_Conshdlr::nconssfound, SCIP_Conshdlr::ncutoffs, SCIP_Conshdlr::ncutsfound, SCIP_Conshdlr::ndomredsfound, SCIP_Conshdlr::needscons, SCIP_Conshdlr::nenfoconss, SCIP_Stat::nholechgs, SCIP_Stat::nprobboundchgs, SCIP_Stat::nprobholechgs, SCIP_Conshdlr::npropconss, SCIP_Conshdlr::nsepacalls, SCIP_Conshdlr::nsepaconss, NULL, SCIP_Conshdlr::nusefulcheckconss, SCIP_Conshdlr::nusefulenfoconss, SCIP_Conshdlr::nusefulpropconss, SCIP_Conshdlr::nusefulsepaconss, SCIP_Set::scip, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_Longint, SCIP_NEWROUND, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SEPARATED, SCIPclockStart(), SCIPclockStop(), SCIPdebugMessage, SCIPerrorMessage, SCIPsepastoreGetNCuts(), SCIP_Conshdlr::sepaconss, SCIP_Conshdlr::sepafreq, SCIP_Conshdlr::sepalpwasdelayed, SCIP_Conshdlr::sepatime, and TRUE. Referenced by separationRoundLP().
calls separator method of constraint handler to separate given primal solution
Definition at line 2924 of file cons.c. References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::delaysepa, SCIP_Conshdlr::duringsepa, SCIP_Conshdlr::eagerfreq, FALSE, MAX, SCIP_Stat::nactiveconss, SCIP_Conshdlr::name, SCIP_Stat::nboundchgs, SCIP_Conshdlr::ncheckconss, SCIP_Conshdlr::nconssfound, SCIP_Conshdlr::ncutoffs, SCIP_Conshdlr::ncutsfound, SCIP_Conshdlr::ndomredsfound, SCIP_Conshdlr::needscons, SCIP_Conshdlr::nenfoconss, SCIP_Stat::nholechgs, SCIP_Stat::nprobboundchgs, SCIP_Stat::nprobholechgs, SCIP_Conshdlr::npropconss, SCIP_Conshdlr::nsepacalls, SCIP_Conshdlr::nsepaconss, NULL, SCIP_Conshdlr::nusefulcheckconss, SCIP_Conshdlr::nusefulenfoconss, SCIP_Conshdlr::nusefulpropconss, SCIP_Conshdlr::nusefulsepaconss, SCIP_Set::scip, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_Longint, SCIP_NEWROUND, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SEPARATED, SCIPclockStart(), SCIPclockStop(), SCIPdebugMessage, SCIPerrorMessage, SCIPsepastoreGetNCuts(), SCIP_Conshdlr::sepaconss, SCIP_Conshdlr::sepafreq, SCIP_Conshdlr::sepasolwasdelayed, SCIP_Conshdlr::sepatime, and TRUE. Referenced by separationRoundSol().
calls enforcing method of constraint handler for LP solution for all constraints added after last conshdlrReset() call calls enforcing method of constraint handler for LP solution for all constraints added after last conshdlrResetEnfo() call
Definition at line 3053 of file cons.c. References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Stat::domchgcount, SCIP_Conshdlr::eagerfreq, SCIP_Conshdlr::enfoconss, SCIP_Conshdlr::enfolptime, FALSE, SCIP_Conshdlr::lastenfolpdomchgcount, SCIP_Conshdlr::lastenfolplpcount, SCIP_Conshdlr::lastenfolpnode, SCIP_Conshdlr::lastenfolpresult, SCIP_Conshdlr::lastnusefulenfoconss, SCIP_Stat::lpcount, MAX, SCIP_Stat::nactiveconss, SCIP_Conshdlr::name, SCIP_Stat::nboundchgs, SCIP_Conshdlr::ncheckconss, SCIP_Conshdlr::nchildren, SCIP_Tree::nchildren, SCIP_Conshdlr::nconssfound, SCIP_Conshdlr::ncutoffs, SCIP_Conshdlr::ncutsfound, SCIP_Conshdlr::ndomredsfound, SCIP_Conshdlr::needscons, SCIP_Conshdlr::nenfoconss, SCIP_Conshdlr::nenfolpcalls, SCIP_Stat::nholechgs, SCIP_Stat::nnodes, SCIP_Stat::nprobboundchgs, SCIP_Stat::nprobholechgs, SCIP_Conshdlr::npropconss, SCIP_Conshdlr::nsepaconss, NULL, SCIP_Conshdlr::nusefulcheckconss, SCIP_Conshdlr::nusefulenfoconss, SCIP_Conshdlr::nusefulpropconss, SCIP_Conshdlr::nusefulsepaconss, SCIP_Set::scip, SCIP_Bool, SCIP_BRANCHED, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DIDNOTRUN, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_INVALIDRESULT, SCIP_Longint, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SEPARATED, SCIPclockStart(), SCIPclockStop(), SCIPdebugMessage, SCIPerrorMessage, SCIPsepastoreGetNCuts(), and TRUE. Referenced by enforceConstraints().
calls enforcing method of constraint handler for pseudo solution for all constraints added after last conshdlrReset() call calls enforcing method of constraint handler for pseudo solution for all constraints added after last conshdlrResetEnfo() call
Definition at line 3233 of file cons.c. References SCIP_Set::cons_disableenfops, conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Stat::domchgcount, SCIP_Conshdlr::eagerfreq, SCIP_Conshdlr::enfoconss, SCIP_Conshdlr::enfopstime, FALSE, SCIP_Conshdlr::lastenfopsdomchgcount, SCIP_Conshdlr::lastenfopsnode, SCIP_Conshdlr::lastenfopsresult, SCIP_Conshdlr::lastnusefulenfoconss, SCIP_Conshdlr::name, SCIP_Stat::nboundchgs, SCIP_Conshdlr::ncheckconss, SCIP_Conshdlr::nchildren, SCIP_Tree::nchildren, SCIP_Conshdlr::ncutoffs, SCIP_Conshdlr::ndomredsfound, SCIP_Conshdlr::needscons, SCIP_Conshdlr::nenfoconss, SCIP_Conshdlr::nenfopscalls, SCIP_Stat::nholechgs, SCIP_Stat::nnodes, SCIP_Stat::nprobboundchgs, SCIP_Stat::nprobholechgs, SCIP_Conshdlr::npropconss, SCIP_Conshdlr::nsepaconss, NULL, SCIP_Conshdlr::nusefulcheckconss, SCIP_Conshdlr::nusefulenfoconss, SCIP_Conshdlr::nusefulpropconss, SCIP_Conshdlr::nusefulsepaconss, SCIP_Set::scip, SCIP_Bool, SCIP_BRANCHED, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DIDNOTRUN, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_INVALIDRESULT, SCIP_Longint, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SOLVELP, SCIPbranchcandGetNPseudoCands(), SCIPclockStart(), SCIPclockStop(), SCIPdebugMessage, SCIPerrorMessage, and TRUE. Referenced by enforceConstraints().
calls feasibility check method of constraint handler
Definition at line 3429 of file cons.c. References SCIP_Conshdlr::checkconss, SCIP_Conshdlr::checktime, conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::name, SCIP_Conshdlr::ncheckcalls, SCIP_Conshdlr::ncheckconss, SCIP_Conshdlr::needscons, SCIP_Conshdlr::nenfoconss, SCIP_Conshdlr::npropconss, SCIP_Conshdlr::nsepaconss, NULL, SCIP_Conshdlr::nusefulcheckconss, SCIP_Conshdlr::nusefulenfoconss, SCIP_Conshdlr::nusefulpropconss, SCIP_Conshdlr::nusefulsepaconss, SCIP_Set::scip, SCIP_CALL, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_INVALIDRESULT, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPdebugMessage, and SCIPerrorMessage. Referenced by checkSolOrig(), and SCIPsolCheck().
calls propagation method of constraint handler
Definition at line 3494 of file cons.c. References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::delayprop, SCIP_Stat::domchgcount, SCIP_Conshdlr::duringprop, SCIP_Conshdlr::eagerfreq, FALSE, SCIP_Conshdlr::lastnusefulpropconss, SCIP_Conshdlr::lastpropdomchgcount, MIN, SCIP_Conshdlr::name, SCIP_Stat::nboundchgs, SCIP_Conshdlr::ncheckconss, SCIP_Conshdlr::ncutoffs, SCIP_Conshdlr::ndomredsfound, SCIP_Conshdlr::needscons, SCIP_Conshdlr::nenfoconss, SCIP_Stat::nholechgs, SCIP_Conshdlr::nmarkedpropconss, SCIP_Stat::nprobboundchgs, SCIP_Stat::nprobholechgs, SCIP_Conshdlr::npropcalls, SCIP_Conshdlr::npropconss, SCIP_Conshdlr::nsepaconss, NULL, SCIP_Conshdlr::nusefulcheckconss, SCIP_Conshdlr::nusefulenfoconss, SCIP_Conshdlr::nusefulpropconss, SCIP_Conshdlr::nusefulsepaconss, SCIP_Conshdlr::propconss, SCIP_Conshdlr::propfreq, SCIP_Conshdlr::proptime, SCIP_Conshdlr::propwasdelayed, SCIP_Conshdlr::sbproptime, SCIP_Set::scip, SCIP_CALL, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_Longint, SCIP_OKAY, SCIP_REDUCEDDOM, SCIPclockStart(), SCIPclockStop(), SCIPdebugMessage, SCIPerrorMessage, and TRUE. Referenced by propagationRound().
calls presolving method of constraint handler
Definition at line 3661 of file cons.c. References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Conshdlr::delaypresol, SCIP_Conshdlr::lastnaddconss, SCIP_Conshdlr::lastnaddholes, SCIP_Conshdlr::lastnaggrvars, SCIP_Conshdlr::lastnchgbds, SCIP_Conshdlr::lastnchgcoefs, SCIP_Conshdlr::lastnchgsides, SCIP_Conshdlr::lastnchgvartypes, SCIP_Conshdlr::lastndelconss, SCIP_Conshdlr::lastnfixedvars, SCIP_Conshdlr::lastnupgdconss, SCIP_Conshdlr::maxprerounds, SCIP_Conshdlr::nactiveconss, SCIP_Conshdlr::naddconss, SCIP_Conshdlr::naddholes, SCIP_Conshdlr::naggrvars, SCIP_Conshdlr::name, SCIP_Conshdlr::ncheckconss, SCIP_Conshdlr::nchgbds, SCIP_Conshdlr::nchgcoefs, SCIP_Conshdlr::nchgsides, SCIP_Conshdlr::nchgvartypes, SCIP_Conshdlr::ndelconss, SCIP_Conshdlr::needscons, SCIP_Conshdlr::nenfoconss, SCIP_Conshdlr::nfixedvars, SCIP_Conshdlr::npresolcalls, SCIP_Conshdlr::npropconss, SCIP_Conshdlr::nsepaconss, NULL, SCIP_Conshdlr::nupgdconss, SCIP_Conshdlr::nusefulcheckconss, SCIP_Conshdlr::nusefulenfoconss, SCIP_Conshdlr::nusefulpropconss, SCIP_Conshdlr::nusefulsepaconss, SCIP_Conshdlr::presoltime, SCIP_Conshdlr::presolwasdelayed, SCIP_Set::scip, SCIP_CALL, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_SUCCESS, SCIP_UNBOUNDED, SCIPclockStart(), SCIPclockStop(), SCIPdebugMessage, and SCIPerrorMessage. Referenced by presolveRound().
enables or disables all clocks of
Definition at line 4293 of file cons.c. References SCIP_Conshdlr::checktime, SCIP_Conshdlr::enfolptime, SCIP_Conshdlr::enfopstime, NULL, SCIP_Conshdlr::presoltime, SCIP_Conshdlr::proptime, SCIP_Conshdlr::resproptime, SCIP_Conshdlr::sbproptime, SCIPclockEnableOrDisable(), SCIP_Conshdlr::sepatime, and SCIP_Conshdlr::setuptime.
calls variable deletion method of constraint handler
Definition at line 3812 of file cons.c. References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Conshdlr::name, SCIP_Conshdlr::nconss, NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, and SCIPdebugMessage. Referenced by SCIPprobPerformVarDeletions().
locks rounding of variables involved in the given constraint constraint handler that doesn't need constraints
Definition at line 3843 of file cons.c. References SCIP_Conshdlr::needscons, NULL, SCIP_Set::scip, SCIP_CALL, and SCIP_OKAY. Referenced by SCIPprobTransform().
unlocks rounding of variables involved in the given constraint constraint handler that doesn't need constraints
Definition at line 3858 of file cons.c. References SCIP_Conshdlr::needscons, NULL, SCIP_Set::scip, SCIP_CALL, and SCIP_OKAY. Referenced by SCIPprobFree().
callback setter methods of constraint handlerssets copy method of both the constraint handler and each associated constraint sets copy method of both the constraint handler and each associated constraint
Definition at line 3954 of file cons.c. References SCIP_Conshdlr::needscons, and NULL. Referenced by SCIPsetConshdlrCopy().
sets destructor method of constraint handler
Definition at line 3969 of file cons.c. References NULL. Referenced by SCIPsetConshdlrFree().
sets initialization method of constraint handler
Definition at line 3980 of file cons.c. References NULL. Referenced by SCIPsetConshdlrInit().
sets deinitialization method of constraint handler
Definition at line 3991 of file cons.c. References NULL. Referenced by SCIPsetConshdlrExit().
sets solving process initialization method of constraint handler
Definition at line 4002 of file cons.c. References NULL. Referenced by SCIPsetConshdlrInitsol().
sets solving process deinitialization method of constraint handler
Definition at line 4013 of file cons.c. References NULL. Referenced by SCIPsetConshdlrExitsol().
sets preprocessing initialization method of constraint handler
Definition at line 4024 of file cons.c. References NULL. Referenced by SCIPsetConshdlrInitpre().
sets preprocessing deinitialization method of constraint handler
Definition at line 4035 of file cons.c. References NULL. Referenced by SCIPsetConshdlrExitpre().
sets presolving method of constraint handler
Definition at line 4046 of file cons.c. References SCIP_Conshdlr::delaypresol, SCIP_Conshdlr::maxprerounds, and NULL. Referenced by SCIPsetConshdlrPresol().
sets method of constraint handler to free specific constraint data
Definition at line 4061 of file cons.c. References NULL. Referenced by SCIPsetConshdlrDelete().
sets method of constraint handler to transform constraint data into data belonging to the transformed problem
Definition at line 4072 of file cons.c. References NULL. Referenced by SCIPsetConshdlrTrans().
sets method of constraint handler to initialize LP with relaxations of "initial" constraints
Definition at line 4083 of file cons.c. References NULL. Referenced by SCIPsetConshdlrInitlp().
sets propagation conflict resolving method of constraint handler
Definition at line 4094 of file cons.c. References NULL. Referenced by SCIPsetConshdlrResprop().
sets activation notification method of constraint handler
Definition at line 4105 of file cons.c. References NULL. Referenced by SCIPsetConshdlrActive().
sets deactivation notification method of constraint handler
Definition at line 4116 of file cons.c. References NULL. Referenced by SCIPsetConshdlrDeactive().
sets enabling notification method of constraint handler
Definition at line 4127 of file cons.c. References NULL. Referenced by SCIPsetConshdlrEnable().
sets disabling notification method of constraint handler
Definition at line 4138 of file cons.c. References NULL. Referenced by SCIPsetConshdlrDisable().
sets variable deletion method of constraint handler
Definition at line 4149 of file cons.c. References NULL. Referenced by SCIPsetConshdlrDelvars().
sets constraint display method of constraint handler
Definition at line 4160 of file cons.c. References NULL. Referenced by SCIPsetConshdlrPrint().
sets constraint parsing method of constraint handler
Definition at line 4171 of file cons.c. References NULL. Referenced by SCIPsetConshdlrParse().
sets constraint variable getter method of constraint handler
Definition at line 4182 of file cons.c. References NULL. Referenced by SCIPsetConshdlrGetVars().
sets constraint variable number getter method of constraint handler
Definition at line 4193 of file cons.c. References NULL. Referenced by SCIPsetConshdlrGetNVars().
frees constraint set change data and releases all included constraints
Definition at line 4910 of file cons.c. References BMSfreeBlockMemory, BMSfreeBlockMemoryArrayNull, conssetchgRelease(), NULL, SCIP_CALL, and SCIP_OKAY. Referenced by SCIPconssetchgMakeGlobal(), and SCIPnodeFree().
adds constraint addition to constraint set changes, and captures constraint; activates constraint if the constraint set change data is currently active
Definition at line 4984 of file cons.c. References SCIP_Cons::addarraypos, SCIP_Cons::addconssetchg, conssetchgCreate(), conssetchgEnsureAddedconssSize(), SCIP_Cons::deleted, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPconsActivate(), SCIPconsCapture(), and SCIPconsIsActive(). Referenced by SCIPnodeAddCons().
adds constraint disabling to constraint set changes, and captures constraint
Definition at line 5030 of file cons.c. References conssetchgCreate(), conssetchgEnsureDisabledconssSize(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPconsCapture(). Referenced by SCIPnodeDelCons().
applies constraint set change
Definition at line 5134 of file cons.c. References SCIP_Cons::active, SCIP_Cons::addarraypos, SCIP_Cons::addconssetchg, SCIP_ConsSetChg::addedconss, SCIP_Cons::conshdlr, conssetchgDelAddedCons(), conssetchgDelDisabledCons(), SCIP_Cons::deleted, SCIP_ConsSetChg::disabledconss, SCIP_Cons::enabled, SCIP_ConsSetChg::naddedconss, SCIP_Cons::name, SCIP_Conshdlr::name, SCIP_ConsSetChg::ndisabledconss, NULL, SCIP_CALL, SCIP_OKAY, SCIPconsActivate(), SCIPconsDisable(), SCIPdebugMessage, and SCIP_Cons::update. Referenced by nodeActivate().
undoes constraint set change
Definition at line 5221 of file cons.c. References SCIP_Cons::active, SCIP_Cons::addarraypos, SCIP_Cons::addconssetchg, SCIP_ConsSetChg::addedconss, SCIP_Cons::conshdlr, conssetchgDelDisabledCons(), SCIP_Cons::deleted, SCIP_ConsSetChg::disabledconss, SCIP_Cons::enabled, SCIP_ConsSetChg::naddedconss, SCIP_Cons::name, SCIP_Conshdlr::name, SCIP_ConsSetChg::ndisabledconss, NULL, SCIP_CALL, SCIP_OKAY, SCIPconsDeactivate(), SCIPconsEnable(), SCIPdebugMessage, and SCIP_Cons::update. Referenced by nodeDeactivate().
applies constraint set change to the global problem and deletes the constraint set change data
Definition at line 5307 of file cons.c. References conssetchgDelAddedCons(), conssetchgDelDisabledCons(), SCIP_Cons::deleted, SCIP_ConsSetChg::naddedconss, NULL, SCIP_CALL, SCIP_OKAY, SCIPconsCapture(), SCIPconsDelete(), SCIPconsIsStickingAtNode(), SCIPconsRelease(), SCIPconssetchgFree(), SCIPdebugMessage, SCIPprobAddCons(), and SCIP_Cons::update. Referenced by SCIPnodeFocus().
increase count of applied cuts
Definition at line 4492 of file cons.c. References SCIP_Conshdlr::ncutsapplied, and NULL. Referenced by sepastoreApplyCut().
increase count of found cuts
Definition at line 4502 of file cons.c. References SCIP_Conshdlr::ncutsfound, and NULL. Referenced by SCIPcutpoolSeparate().
creates and captures a constraint, and inserts it into the conss array of its constraint handler
Definition at line 5402 of file cons.c. References BMSallocBlockMemory, BMSduplicateBlockMemoryArray, checkConssArrays, conshdlrAddCons(), conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), FALSE, SCIP_Conshdlr::name, SCIP_Conshdlr::needscons, NULL, SCIP_Set::scip, SCIP_ALLOC, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPconsCapture(), SCIPdebugMessage, SCIPerrorMessage, and TRUE. Referenced by SCIPconsTransform(), and SCIPcreateCons().
copies source constraint of source SCIP into the target constraint for the target SCIP, using the variable map for mapping the variables of the source SCIP to the variables of the target SCIP; if the copying process was successful a constraint is creates and captures;
copies source constraint of source SCIP into the target constraint for the target SCIP, using the variable map for mapping the variables of the source SCIP to the variables of the target SCIP; if the copying process was successful a constraint is created and captured;
Definition at line 5546 of file cons.c. References FALSE, NULL, SCIP_Set::scip, SCIP_CALL, and SCIP_OKAY. Referenced by SCIPgetConsCopy().
parses constraint information (in cip format) out of a string; if the parsing process was successful a constraint is created, captured, and inserted into the conss array of its constraint handler.
Definition at line 5602 of file cons.c. References FALSE, NULL, SCIP_Set::scip, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPdebugMessage, SCIPmessagePrintWarning(), SCIPsetFindConshdlr(), and SCIPstrCopySection(). Referenced by SCIPparseCons().
change name of given constraint
Definition at line 5709 of file cons.c. References BMSduplicateBlockMemoryArray, BMSfreeBlockMemoryArray, SCIP_Cons::name, NULL, SCIP_ALLOC, and SCIP_OKAY. Referenced by SCIPchgConsName().
frees a constraint and removes it from the conss array of its constraint handler
Definition at line 5729 of file cons.c. References BMSfreeBlockMemory, BMSfreeBlockMemoryArray, checkConssArrays, SCIP_Cons::consdata, conshdlrDelCons(), NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, and SCIPdebugMessage. Referenced by SCIPconsRelease().
increases usage counter of constraint
Definition at line 5784 of file cons.c. References NULL, and SCIPdebugMessage. Referenced by boundchgCaptureData(), conshdlrAddUpdateCons(), SCIPcaptureCons(), SCIPconsCreate(), SCIPconshdlrsStorePropagationStatus(), SCIPconsPushProp(), SCIPconssetchgAddAddedCons(), SCIPconssetchgAddDisabledCons(), SCIPconssetchgMakeGlobal(), SCIPconsTransform(), SCIPprobAddCons(), SCIPtransformCons(), and SCIPtransformConss().
decreases usage counter of constraint, and frees memory if necessary
Definition at line 5796 of file cons.c. References conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), NULL, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPconsFree(), SCIPdebugMessage, and TRUE. Referenced by boundchgReleaseData(), conshdlrProcessUpdates(), conssetchgDelAddedCons(), conssetchgDelDisabledCons(), conssetchgRelease(), SCIPconshdlrPopProp(), SCIPconshdlrsResetPropagationStatus(), SCIPconssetchgMakeGlobal(), SCIPprobDelCons(), SCIPprobTransform(), and SCIPreleaseCons().
outputs constraint information to file stream
Definition at line 5836 of file cons.c. References SCIP_Cons::conshdlr, SCIP_Cons::name, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, and SCIPmessageFPrintInfo(). Referenced by SCIPprintCons().
checks single constraint for feasibility of the given solution
Definition at line 6933 of file cons.c. References SCIP_Cons::conshdlr, SCIP_Cons::name, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_INVALIDRESULT, SCIP_OKAY, SCIPdebugMessage, and SCIPerrorMessage. Referenced by checkSolOrig(), and SCIPcheckCons().
enforces single constraint for a given pseudo solution
Definition at line 6970 of file cons.c. References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_BRANCHED, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DIDNOTRUN, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SOLVELP, SCIPdebugMessage, and SCIPerrorMessage. Referenced by SCIPenfopsCons().
enforces single constraint for a given LP solution
Definition at line 7014 of file cons.c. References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_BRANCHED, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SEPARATED, SCIPdebugMessage, and SCIPerrorMessage. Referenced by SCIPenfolpCons().
calls LP initialization method for single constraint
Definition at line 7057 of file cons.c. References SCIP_Cons::conshdlr, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, and SCIP_OKAY. Referenced by SCIPinitlpCons().
calls separation method of single constraint for LP solution
Definition at line 7081 of file cons.c. References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_NEWROUND, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SEPARATED, SCIPdebugMessage, and SCIPerrorMessage. Referenced by SCIPsepalpCons().
calls separation method of single constraint for given primal solution
Definition at line 7122 of file cons.c. References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_NEWROUND, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SEPARATED, SCIPdebugMessage, and SCIPerrorMessage. Referenced by SCIPsepasolCons().
calls domain propagation method of single constraint
Definition at line 7165 of file cons.c. References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_REDUCEDDOM, SCIPdebugMessage, and SCIPerrorMessage. Referenced by SCIPpropCons().
resolves propagation conflict of single constraint
Definition at line 7205 of file cons.c. References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_SUCCESS, SCIPdebugMessage, and SCIPerrorMessage. Referenced by SCIPrespropCons().
presolves single constraint
Definition at line 7247 of file cons.c. References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_SUCCESS, SCIP_UNBOUNDED, SCIPdebugMessage, and SCIPerrorMessage. Referenced by SCIPpresolCons().
calls constraint activation notification method of single constraint
Definition at line 7319 of file cons.c. References SCIP_Cons::conshdlr, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, and SCIP_OKAY. Referenced by SCIPactiveCons().
calls constraint deactivation notification method of single constraint
Definition at line 7343 of file cons.c. References SCIP_Cons::conshdlr, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, and SCIP_OKAY. Referenced by SCIPdeactiveCons().
method to collect the variables of a constraint If the number of variables is greater than the available slots in the variable array, nothing happens except that the success point is set to FALSE. With the method SCIPgetConsNVars() it is possible to get the number of variables a constraint has in its scope.
method to collect the variables of a constraint If the number of variables is greater than the available slots in the variable array, nothing happens except that the success point is set to FALSE. With the method SCIPconsGetNVars() it is possible to get the number of variables a constraint has in its scope.
Definition at line 5875 of file cons.c. References SCIP_Cons::conshdlr, FALSE, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, and SCIP_OKAY. Referenced by SCIPgetConsVars().
methed to collect the number of variables of a constraint
Definition at line 5911 of file cons.c. References SCIP_Cons::conshdlr, FALSE, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, and SCIP_OKAY. Referenced by calcNonZeros(), and SCIPgetConsNVars().
globally removes constraint from all subproblems; removes constraint from the constraint set change data of the node, where it was created, or from the problem, if it was a problem constraint
Definition at line 5943 of file cons.c. References SCIP_Cons::active, SCIP_Cons::addarraypos, SCIP_Cons::addconssetchg, SCIP_ConsSetChg::addedconss, SCIP_Cons::conshdlr, conssetchgDelAddedCons(), SCIP_Conshdlr::delayupdatecount, SCIP_Cons::deleted, SCIP_Cons::enabled, FALSE, SCIP_ConsSetChg::naddedconss, SCIP_Cons::name, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPconsDeactivate(), SCIPdebugMessage, SCIPprobDelCons(), TRUE, SCIP_Cons::updateactivate, and SCIP_Cons::updatedeactivate. Referenced by SCIPconsAddAge(), SCIPconssetchgMakeGlobal(), SCIPdelCons(), SCIPdelConsLocal(), and SCIPdelConsNode().
gets and captures transformed constraint of a given constraint; if the constraint is not yet transformed, a new transformed constraint for this constraint is created gets and captures transformed constraint of a given original constraint; if the constraint is not yet transformed, a new transformed constraint for this constraint is created
Definition at line 5999 of file cons.c. References SCIP_Cons::check, SCIP_Cons::consdata, SCIP_Cons::conshdlr, SCIP_Cons::dynamic, SCIP_Cons::enforce, FALSE, SCIP_Cons::initial, SCIP_Cons::local, SCIP_Cons::modifiable, SCIP_Cons::name, NULL, SCIP_Cons::nupgradelocks, SCIP_Cons::original, SCIP_Cons::propagate, SCIP_Cons::removable, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPconsCapture(), SCIPconsCreate(), SCIP_Cons::separate, SCIP_Cons::stickingatnode, and SCIP_Cons::transorigcons. Referenced by SCIPprobTransform(), SCIPtransformCons(), and SCIPtransformConss().
sets the initial flag of the given constraint
Definition at line 6049 of file cons.c. References conshdlrAddInitcons(), conshdlrDelInitcons(), SCIP_Cons::initconsspos, SCIP_Cons::initial, NULL, SCIP_Cons::original, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, and SCIPconsGetHdlr(). Referenced by SCIPsetConsInitial().
sets the separate flag of the given constraint
Definition at line 6083 of file cons.c. References SCIP_Cons::conshdlr, conshdlrAddSepacons(), conshdlrDelSepacons(), SCIP_Cons::enabled, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PROBLEM, SCIPsetGetStage(), SCIP_Cons::sepaenabled, and SCIP_Cons::separate. Referenced by SCIPsetConsSeparated().
sets the enforce flag of the given constraint
Definition at line 6118 of file cons.c. References SCIP_Cons::conshdlr, conshdlrAddEnfocons(), conshdlrDelEnfocons(), SCIP_Cons::enabled, SCIP_Cons::enforce, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PROBLEM, and SCIPsetGetStage(). Referenced by SCIPsetConsEnforced().
sets the check flag of the given constraint
Definition at line 6153 of file cons.c. References SCIP_Cons::active, SCIP_Cons::addarraypos, SCIP_Cons::addconssetchg, SCIP_Cons::check, SCIP_Cons::conshdlr, conshdlrAddCheckcons(), conshdlrDelCheckcons(), NULL, SCIP_Cons::original, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, and SCIPconsAddLocks(). Referenced by SCIPsetConsChecked().
sets the propagate flag of the given constraint
Definition at line 6201 of file cons.c. References SCIP_Cons::conshdlr, conshdlrAddPropcons(), conshdlrDelPropcons(), SCIP_Cons::enabled, NULL, SCIP_Cons::propagate, SCIP_Cons::propenabled, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PROBLEM, and SCIPsetGetStage(). Referenced by SCIPsetConsPropagated(). sets the local flag of the given constraint
Definition at line 6236 of file cons.c. References SCIP_Cons::local, NULL, and SCIP_Cons::validdepth. Referenced by SCIPaddCons(), SCIPaddConsNode(), SCIPprobAddCons(), and SCIPsetConsLocal(). sets the modifiable flag of the given constraint
Definition at line 6249 of file cons.c. References SCIP_Cons::modifiable, and NULL. Referenced by SCIPcopyConss(), SCIPcopyOrigConss(), and SCIPsetConsModifiable(). sets the dynamic flag of the given constraint
Definition at line 6260 of file cons.c. References SCIP_Cons::dynamic, and NULL. Referenced by SCIPsetConsDynamic(). sets the removable flag of the given constraint
Definition at line 6271 of file cons.c. References NULL, and SCIP_Cons::removable. Referenced by SCIPsetConsRemovable(). sets the stickingatnode flag of the given constraint
Definition at line 6282 of file cons.c. References NULL, and SCIP_Cons::stickingatnode. Referenced by SCIPsetConsStickingAtNode().
gives the constraint a new name; ATTENTION: to old pointer is over written that might result in a memory leakage
Definition at line 6294 of file cons.c. References SCIP_Cons::name, and NULL. Referenced by SCIPreaderWrite(). gets associated transformed constraint of an original constraint, or NULL if no associated transformed constraint exists
Definition at line 6308 of file cons.c. Referenced by SCIPgetTransformedCons(), and SCIPgetTransformedConss().
activates constraint or marks constraint to be activated in next update
Definition at line 6318 of file cons.c. References SCIP_Cons::active, SCIP_Cons::activedepth, SCIP_Cons::conshdlr, conshdlrActivateCons(), conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), SCIP_Cons::name, SCIP_Conshdlr::name, NULL, SCIP_Cons::original, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, TRUE, SCIP_Cons::update, SCIP_Cons::updateactfocus, SCIP_Cons::updateactivate, SCIP_Cons::updatedeactivate, SCIP_Cons::updatedisable, SCIP_Cons::updateenable, SCIP_Cons::updatefree, and SCIP_Cons::updateobsolete. Referenced by SCIPconssetchgAddAddedCons(), SCIPconssetchgApply(), and SCIPprobAddCons().
deactivates constraint or marks constraint to be deactivated in next update
Definition at line 6360 of file cons.c. References SCIP_Cons::active, SCIP_Cons::activedepth, SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrDeactivateCons(), SCIP_Cons::name, SCIP_Conshdlr::name, NULL, SCIP_Cons::original, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, TRUE, SCIP_Cons::update, SCIP_Cons::updateactivate, and SCIP_Cons::updatedeactivate. Referenced by SCIPconsDelete(), SCIPconssetchgUndo(), and SCIPprobDelCons().
enables constraint's separation, enforcing, and propagation capabilities or marks them to be enabled in next update
Definition at line 6395 of file cons.c. References SCIP_Cons::active, SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrEnableCons(), SCIP_Cons::enabled, NULL, SCIP_Cons::original, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, TRUE, SCIP_Cons::update, SCIP_Cons::updateactivate, SCIP_Cons::updatedeactivate, SCIP_Cons::updatedisable, and SCIP_Cons::updateenable. Referenced by SCIPconssetchgUndo(), and SCIPenableCons().
disables constraint's separation, enforcing, and propagation capabilities or marks them to be disabled in next update
Definition at line 6428 of file cons.c. References SCIP_Cons::active, SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrDisableCons(), SCIP_Cons::enabled, NULL, SCIP_Cons::original, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, TRUE, SCIP_Cons::update, SCIP_Cons::updateactivate, SCIP_Cons::updatedisable, and SCIP_Cons::updateenable. Referenced by SCIPconssetchgApply(), SCIPdisableCons(), and SCIPnodeDelCons().
enables constraint's separation capabilities or marks them to be enabled in next update
Definition at line 6462 of file cons.c. References SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrEnableConsSeparation(), FALSE, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIP_Cons::sepaenabled, TRUE, SCIP_Cons::update, SCIP_Cons::updatesepadisable, and SCIP_Cons::updatesepaenable. Referenced by SCIPenableConsSeparation().
disables constraint's separation capabilities or marks them to be disabled in next update
Definition at line 6492 of file cons.c. References SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrDisableConsSeparation(), FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIP_Cons::sepaenabled, TRUE, SCIP_Cons::update, SCIP_Cons::updatesepadisable, and SCIP_Cons::updatesepaenable. Referenced by SCIPdisableConsSeparation().
enables constraint's propagation capabilities or marks them to be enabled in next update
Definition at line 6520 of file cons.c. References SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrEnableConsPropagation(), FALSE, NULL, SCIP_Cons::propenabled, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, TRUE, SCIP_Cons::update, SCIP_Cons::updatepropdisable, and SCIP_Cons::updatepropenable. Referenced by SCIPenableConsPropagation().
disables constraint's propagation capabilities or marks them to be disabled in next update
Definition at line 6550 of file cons.c. References SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrDisableConsPropagation(), FALSE, NULL, SCIP_Cons::propenabled, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, TRUE, SCIP_Cons::update, SCIP_Cons::updatepropdisable, and SCIP_Cons::updatepropenable. Referenced by SCIPdisableConsPropagation().
marks the constraint to be propagated (update might be delayed)
Definition at line 6580 of file cons.c. References SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrMarkConsPropagate(), SCIP_Cons::enabled, FALSE, SCIP_Cons::markpropagate, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, TRUE, SCIP_Cons::update, SCIP_Cons::updatemarkpropagate, and SCIP_Cons::updateunmarkpropagate. Referenced by SCIPconshdlrsResetPropagationStatus(), and SCIPmarkConsPropagate().
unmarks the constraint to be propagated (update might be delayed)
Definition at line 6610 of file cons.c. References SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrUnmarkConsPropagate(), SCIP_Cons::enabled, FALSE, SCIP_Cons::markpropagate, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, TRUE, SCIP_Cons::update, SCIP_Cons::updatemarkpropagate, and SCIP_Cons::updateunmarkpropagate. Referenced by SCIPconshdlrsStorePropagationStatus(), and SCIPunmarkConsPropagate().
adds given value to age of constraint, but age can never become negative; should be called
Definition at line 6648 of file cons.c. References SCIP_Cons::age, SCIP_Cons::check, consExceedsAgelimit(), consExceedsObsoleteage(), SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrMarkConsObsolete(), MAX, SCIP_Cons::name, SCIP_Conshdlr::name, NULL, SCIP_Cons::obsolete, SCIP_Cons::original, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PRESOLVING, SCIPconsDelete(), SCIPdebugMessage, SCIP_Set::stage, TRUE, SCIP_Cons::update, SCIP_Cons::updateactivate, and SCIP_Cons::updateobsolete. Referenced by SCIPaddConsAge(), and SCIPconsIncAge().
increases age of constraint by 1.0; should be called
Definition at line 6706 of file cons.c. References SCIP_CALL, SCIP_OKAY, and SCIPconsAddAge(). Referenced by SCIPincConsAge().
resets age of constraint to zero; should be called
Definition at line 6726 of file cons.c. References SCIP_Cons::age, SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrMarkConsUseful(), conshdlrUpdateAgeresetavg(), SCIP_Cons::name, SCIP_Conshdlr::name, NULL, SCIP_Cons::obsolete, SCIP_Cons::original, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, SCIP_OKAY, SCIPdebugMessage, TRUE, SCIP_Cons::update, SCIP_Cons::updateactivate, and SCIP_Cons::updateobsolete. Referenced by SCIPprobInitSolve(), and SCIPresetConsAge().
adds an active constraint to the propagation queue(if not already marked for propagation) of corresponding constraint handler and marks the constraint to be propagated in the next propagation round
Definition at line 6766 of file cons.c. References NULL, SCIP_CALL, SCIP_OKAY, SCIPconsCapture(), SCIPconsIsActive(), SCIPqueueInsert(), and TRUE.
returns first constraint from propagation queue(if not empty) of given constraint handler
Definition at line 6788 of file cons.c. References NULL, SCIP_Conshdlr::pendingconss, SCIPqueueFirst(), and SCIPqueueIsEmpty().
removes constraint from propagation queue(if not empty) of given constraint handler and unmarks constraint to be propagated in the next propagation round
Definition at line 6803 of file cons.c. References FALSE, SCIP_Cons::markedprop, NULL, SCIP_Conshdlr::pendingconss, SCIP_CALL, SCIP_OKAY, SCIPconsRelease(), SCIPqueueIsEmpty(), and SCIPqueueRemove(). Referenced by SCIPconshdlrExit(), and SCIPconshdlrExitpre().
resolves the given conflicting bound, that was deduced by the given constraint, by putting all "reason" bounds leading to the deduction into the conflict queue with calls to SCIPaddConflictLb(), SCIPaddConflictUb(), SCIPaddConflictBd(), SCIPaddConflictRelaxedLb(), SCIPaddConflictRelaxedUb(), SCIPaddConflictRelaxedBd(), or SCIPaddConflictBinvar();
Definition at line 6829 of file cons.c. References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, SCIP_Conshdlr::nrespropcalls, NULL, SCIP_Conshdlr::resproptime, SCIP_Cons::scip, SCIP_Set::scip, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_SUCCESS, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, SCIPvarGetLbAtIndex(), SCIPvarGetLbGlobal(), SCIPvarGetUbAtIndex(), SCIPvarGetUbGlobal(), and TRUE. Referenced by conflictResolveBound().
adds given values to lock status of the constraint and updates the rounding locks of the involved variables
Definition at line 6889 of file cons.c. References SCIP_Cons::conshdlr, SCIP_Cons::nlocksneg, SCIP_Cons::nlockspos, NULL, SCIP_Cons::scip, SCIP_Set::scip, SCIP_CALL, and SCIP_OKAY. Referenced by SCIPaddConsLocks(), SCIPconsSetChecked(), SCIPprobAddCons(), and SCIPprobDelCons().
stores all constraints marked for propagation away when probing is started
Definition at line 7412 of file cons.c. References BMScopyMemoryArray, ensurePropagationStorage(), SCIP_Conshdlr::lastpropdomchgcount, SCIP_Conshdlr::nmarkedpropconss, NULL, SCIP_Conshdlr::propconss, SCIP_CALL, SCIP_OKAY, SCIPconsCapture(), SCIPconsUnmarkPropagate(), SCIP_Conshdlr::storednmarkedpropconss, SCIP_Conshdlr::storedpropconss, and SCIP_Conshdlr::storedpropdomchgcount. Referenced by SCIPtreeStartProbing().
reset all constraints marked for propagation when probing was finished
Definition at line 7453 of file cons.c. References conshdlrAreUpdatesDelayed(), SCIP_Cons::enabled, SCIP_Conshdlr::lastpropdomchgcount, SCIP_Conshdlr::nmarkedpropconss, NULL, SCIP_Conshdlr::nupdateconss, SCIP_Cons::propagate, SCIP_Cons::propenabled, SCIP_CALL, SCIP_OKAY, SCIPconsMarkPropagate(), SCIPconsRelease(), SCIP_Conshdlr::storednmarkedpropconss, SCIP_Conshdlr::storedpropconss, and SCIP_Conshdlr::storedpropdomchgcount. Referenced by SCIPtreeEndProbing(). |