Scippy

    SCIP

    Solving Constraint Integer Programs

    cons.h File Reference

    Detailed Description

    internal methods for constraints and constraint handlers

    Author
    Tobias Achterberg

    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/type_branch.h"
    #include "scip/type_reopt.h"
    #include "scip/type_message.h"
    #include "scip/pub_cons.h"
    #include "scip/struct_cons.h"

    Go to the source code of this file.

    Functions

    SCIP_RETCODE SCIPconshdlrCopyInclude (SCIP_CONSHDLR *conshdlr, SCIP_SET *set, SCIP_Bool *valid)
     
    SCIP_RETCODE SCIPconshdlrCreate (SCIP_CONSHDLR **conshdlr, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, BMS_BLKMEM *blkmem, const char *name, const char *desc, int sepapriority, int enfopriority, int checkpriority, 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)
     
    SCIP_RETCODE SCIPconshdlrFree (SCIP_CONSHDLR **conshdlr, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconshdlrInit (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat)
     
    SCIP_RETCODE SCIPconshdlrExit (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat)
     
    SCIP_RETCODE SCIPconshdlrInitpre (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat)
     
    SCIP_RETCODE SCIPconshdlrExitpre (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat)
     
    SCIP_RETCODE SCIPconshdlrInitsol (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat)
     
    SCIP_RETCODE SCIPconshdlrExitsol (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_Bool restart)
     
    SCIP_RETCODE SCIPconshdlrInitLP (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_TREE *tree, SCIP_Bool initkeptconss, SCIP_Bool *cutoff)
     
    SCIP_RETCODE SCIPconshdlrSeparateLP (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_SEPASTORE *sepastore, int depth, SCIP_Bool execdelayed, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconshdlrSeparateSol (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_SEPASTORE *sepastore, SCIP_SOL *sol, int depth, SCIP_Bool execdelayed, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconshdlrEnforceRelaxSol (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_TREE *tree, SCIP_SEPASTORE *sepastore, SCIP_SOL *relaxsol, SCIP_Bool solinfeasible, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconshdlrEnforceLPSol (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_TREE *tree, SCIP_SEPASTORE *sepastore, SCIP_Bool solinfeasible, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconshdlrGetDiveBoundChanges (SCIP_CONSHDLR *conshdlr, SCIP_SET *set, SCIP_DIVESET *diveset, SCIP_SOL *sol, SCIP_Bool *success, SCIP_Bool *infeasible)
     
    SCIP_RETCODE SCIPconshdlrEnforcePseudoSol (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_TREE *tree, SCIP_BRANCHCAND *branchcand, SCIP_Bool solinfeasible, SCIP_Bool objinfeasible, SCIP_Bool forced, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconshdlrCheck (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_SOL *sol, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool printreason, SCIP_Bool completely, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconshdlrPropagate (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, int depth, SCIP_Bool fullpropagation, SCIP_Bool execdelayed, SCIP_Bool instrongbranching, SCIP_PROPTIMING proptiming, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconshdlrPresolve (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PRESOLTIMING timing, int nrounds, int *nfixedvars, int *naggrvars, int *nchgvartypes, int *nchgbds, int *naddholes, int *ndelconss, int *naddconss, int *nupgdconss, int *nchgcoefs, int *nchgsides, SCIP_RESULT *result)
     
    void SCIPconshdlrEnableOrDisableClocks (SCIP_CONSHDLR *conshdlr, SCIP_Bool enable)
     
    SCIP_RETCODE SCIPconshdlrDelVars (SCIP_CONSHDLR *conshdlr, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat)
     
    SCIP_RETCODE SCIPconshdlrLockVars (SCIP_CONSHDLR *conshdlr, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconshdlrUnlockVars (SCIP_CONSHDLR *conshdlr, SCIP_SET *set)
     
    void SCIPconshdlrSetCopy (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSHDLRCOPY((*conshdlrcopy)), SCIP_DECL_CONSCOPY((*conscopy)))
     
    void SCIPconshdlrSetFree (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSFREE((*consfree)))
     
    void SCIPconshdlrSetInit (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSINIT((*consinit)))
     
    void SCIPconshdlrSetExit (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSEXIT((*consexit)))
     
    void SCIPconshdlrSetInitsol (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSINITSOL((*consinitsol)))
     
    void SCIPconshdlrSetExitsol (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSEXITSOL((*consexitsol)))
     
    void SCIPconshdlrSetInitpre (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSINITPRE((*consinitpre)))
     
    void SCIPconshdlrSetExitpre (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSEXITPRE((*consexitpre)))
     
    SCIP_RETCODE SCIPconshdlrSetPresol (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSPRESOL((*conspresol)), int maxprerounds, SCIP_PRESOLTIMING presoltiming)
     
    void SCIPconshdlrSetDelete (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSDELETE((*consdelete)))
     
    void SCIPconshdlrSetTrans (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSTRANS((*constrans)))
     
    void SCIPconshdlrSetInitlp (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSINITLP((*consinitlp)))
     
    void SCIPconshdlrSetResprop (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSRESPROP((*consresprop)))
     
    void SCIPconshdlrSetActive (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSACTIVE((*consactive)))
     
    void SCIPconshdlrSetDeactive (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSDEACTIVE((*consdeactive)))
     
    void SCIPconshdlrSetEnable (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSENABLE((*consenable)))
     
    void SCIPconshdlrSetDisable (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSDISABLE((*consdisable)))
     
    void SCIPconshdlrSetDelvars (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSDELVARS((*consdelvars)))
     
    void SCIPconshdlrSetPrint (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSPRINT((*consprint)))
     
    void SCIPconshdlrSetParse (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSPARSE((*consparse)))
     
    void SCIPconshdlrSetGetVars (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSGETVARS((*consgetvars)))
     
    void SCIPconshdlrSetGetNVars (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSGETNVARS((*consgetnvars)))
     
    void SCIPconshdlrSetGetDiveBdChgs (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSGETDIVEBDCHGS((*consgetdivebdchgs)))
     
    void SCIPconshdlrSetGetPermsymGraph (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSGETPERMSYMGRAPH((*consgetpermsymgraph)))
     
    void SCIPconshdlrSetGetSignedPermsymGraph (SCIP_CONSHDLR *conshdlr, SCIP_DECL_CONSGETSIGNEDPERMSYMGRAPH((*consgetsignedpermsymgraph)))
     
    SCIP_RETCODE SCIPconssetchgFree (SCIP_CONSSETCHG **conssetchg, BMS_BLKMEM *blkmem, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconssetchgAddAddedCons (SCIP_CONSSETCHG **conssetchg, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_CONS *cons, int depth, SCIP_Bool focusnode, SCIP_Bool active)
     
    SCIP_RETCODE SCIPconssetchgAddDisabledCons (SCIP_CONSSETCHG **conssetchg, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_CONS *cons)
     
    SCIP_RETCODE SCIPconssetchgApply (SCIP_CONSSETCHG *conssetchg, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, int depth, SCIP_Bool focusnode)
     
    SCIP_RETCODE SCIPconssetchgUndo (SCIP_CONSSETCHG *conssetchg, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat)
     
    SCIP_RETCODE SCIPconssetchgMakeGlobal (SCIP_CONSSETCHG **conssetchg, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_REOPT *reopt)
     
    void SCIPconshdlrIncNAppliedCuts (SCIP_CONSHDLR *conshdlr)
     
    void SCIPconshdlrIncNCutsFound (SCIP_CONSHDLR *conshdlr)
     
    SCIP_RETCODE SCIPconsCreate (SCIP_CONS **cons, BMS_BLKMEM *blkmem, SCIP_SET *set, const char *name, SCIP_CONSHDLR *conshdlr, SCIP_CONSDATA *consdata, SCIP_Bool initial, SCIP_Bool separate, SCIP_Bool enforce, SCIP_Bool check, SCIP_Bool propagate, SCIP_Bool local, SCIP_Bool modifiable, SCIP_Bool dynamic, SCIP_Bool removable, SCIP_Bool stickingatnode, SCIP_Bool original, SCIP_Bool deleteconsdata)
     
    SCIP_RETCODE SCIPconsCopy (SCIP_CONS **cons, SCIP_SET *set, const char *name, SCIP *sourcescip, SCIP_CONSHDLR *sourceconshdlr, SCIP_CONS *sourcecons, SCIP_HASHMAP *varmap, SCIP_HASHMAP *consmap, SCIP_Bool initial, SCIP_Bool separate, SCIP_Bool enforce, SCIP_Bool check, SCIP_Bool propagate, SCIP_Bool local, SCIP_Bool modifiable, SCIP_Bool dynamic, SCIP_Bool removable, SCIP_Bool stickingatnode, SCIP_Bool global, SCIP_Bool *valid)
     
    SCIP_RETCODE SCIPconsParse (SCIP_CONS **cons, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, const char *str, SCIP_Bool initial, SCIP_Bool separate, SCIP_Bool enforce, SCIP_Bool check, SCIP_Bool propagate, SCIP_Bool local, SCIP_Bool modifiable, SCIP_Bool dynamic, SCIP_Bool removable, SCIP_Bool stickingatnode, SCIP_Bool *success)
     
    SCIP_RETCODE SCIPconsChgName (SCIP_CONS *cons, BMS_BLKMEM *blkmem, const char *name)
     
    SCIP_RETCODE SCIPconsFree (SCIP_CONS **cons, BMS_BLKMEM *blkmem, SCIP_SET *set)
     
    void SCIPconsCapture (SCIP_CONS *cons)
     
    SCIP_RETCODE SCIPconsRelease (SCIP_CONS **cons, BMS_BLKMEM *blkmem, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconsPrint (SCIP_CONS *cons, SCIP_SET *set, SCIP_MESSAGEHDLR *messagehdlr, FILE *file)
     
    SCIP_RETCODE SCIPconsCheck (SCIP_CONS *cons, SCIP_SET *set, SCIP_SOL *sol, SCIP_Bool checkintegrality, SCIP_Bool checklprows, SCIP_Bool printreason, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconsEnfops (SCIP_CONS *cons, SCIP_SET *set, SCIP_Bool solinfeasible, SCIP_Bool objinfeasible, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconsEnfolp (SCIP_CONS *cons, SCIP_SET *set, SCIP_Bool solinfeasible, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconsEnforelax (SCIP_CONS *cons, SCIP_SET *set, SCIP_SOL *sol, SCIP_Bool solinfeasible, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconsInitlp (SCIP_CONS *cons, SCIP_SET *set, SCIP_Bool *infeasible)
     
    SCIP_RETCODE SCIPconsSepalp (SCIP_CONS *cons, SCIP_SET *set, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconsSepasol (SCIP_CONS *cons, SCIP_SET *set, SCIP_SOL *sol, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconsProp (SCIP_CONS *cons, SCIP_SET *set, SCIP_PROPTIMING proptiming, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconsResprop (SCIP_CONS *cons, SCIP_SET *set, SCIP_VAR *infervar, int inferinfo, SCIP_BOUNDTYPE boundtype, SCIP_BDCHGIDX *bdchgidx, SCIP_Real relaxedbd, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconsPresol (SCIP_CONS *cons, SCIP_SET *set, int nrounds, SCIP_PRESOLTIMING timing, int nnewfixedvars, int nnewaggrvars, int nnewchgvartypes, int nnewchgbds, int nnewholes, int nnewdelconss, int nnewaddconss, int nnewupgdconss, int nnewchgcoefs, int nnewchgsides, int *nfixedvars, int *naggrvars, int *nchgvartypes, int *nchgbds, int *naddholes, int *ndelconss, int *naddconss, int *nupgdconss, int *nchgcoefs, int *nchgsides, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconsActive (SCIP_CONS *cons, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconsDeactive (SCIP_CONS *cons, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconsGetVars (SCIP_CONS *cons, SCIP_SET *set, SCIP_VAR **vars, int varssize, SCIP_Bool *success)
     
    SCIP_RETCODE SCIPconsGetNVars (SCIP_CONS *cons, SCIP_SET *set, int *nvars, SCIP_Bool *success)
     
    SCIP_RETCODE SCIPconsGetPermsymGraph (SCIP_CONS *cons, SCIP_SET *set, SYM_GRAPH *graph, SCIP_Bool *success)
     
    SCIP_RETCODE SCIPconsGetSignedPermsymGraph (SCIP_CONS *cons, SCIP_SET *set, SYM_GRAPH *graph, SCIP_Bool *success)
     
    SCIP_RETCODE SCIPconsDelete (SCIP_CONS *cons, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_REOPT *reopt)
     
    SCIP_RETCODE SCIPconsTransform (SCIP_CONS *origcons, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_CONS **transcons)
     
    SCIP_RETCODE SCIPconsSetInitial (SCIP_CONS *cons, SCIP_SET *set, SCIP_STAT *stat, SCIP_Bool initial)
     
    SCIP_RETCODE SCIPconsSetSeparated (SCIP_CONS *cons, SCIP_SET *set, SCIP_Bool separate)
     
    SCIP_RETCODE SCIPconsSetEnforced (SCIP_CONS *cons, SCIP_SET *set, SCIP_Bool enforce)
     
    SCIP_RETCODE SCIPconsSetChecked (SCIP_CONS *cons, SCIP_SET *set, SCIP_Bool check)
     
    SCIP_RETCODE SCIPconsSetPropagated (SCIP_CONS *cons, SCIP_SET *set, SCIP_Bool propagate)
     
    void SCIPconsSetLocal (SCIP_CONS *cons, SCIP_Bool local)
     
    void SCIPconsSetModifiable (SCIP_CONS *cons, SCIP_Bool modifiable)
     
    void SCIPconsSetDynamic (SCIP_CONS *cons, SCIP_Bool dynamic)
     
    void SCIPconsSetRemovable (SCIP_CONS *cons, SCIP_Bool removable)
     
    void SCIPconsSetStickingAtNode (SCIP_CONS *cons, SCIP_Bool stickingatnode)
     
    void SCIPconsSetNamePointer (SCIP_CONS *cons, const char *name)
     
    SCIP_CONSSCIPconsGetTransformed (SCIP_CONS *cons)
     
    SCIP_RETCODE SCIPconsActivate (SCIP_CONS *cons, SCIP_SET *set, SCIP_STAT *stat, int depth, SCIP_Bool focusnode)
     
    SCIP_RETCODE SCIPconsDeactivate (SCIP_CONS *cons, SCIP_SET *set, SCIP_STAT *stat)
     
    SCIP_RETCODE SCIPconsEnable (SCIP_CONS *cons, SCIP_SET *set, SCIP_STAT *stat)
     
    SCIP_RETCODE SCIPconsDisable (SCIP_CONS *cons, SCIP_SET *set, SCIP_STAT *stat)
     
    SCIP_RETCODE SCIPconsEnableSeparation (SCIP_CONS *cons, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconsDisableSeparation (SCIP_CONS *cons, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconsEnablePropagation (SCIP_CONS *cons, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconsDisablePropagation (SCIP_CONS *cons, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconsMarkConflict (SCIP_CONS *cons)
     
    SCIP_RETCODE SCIPconsMarkPropagate (SCIP_CONS *cons, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconsUnmarkPropagate (SCIP_CONS *cons, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconsAddAge (SCIP_CONS *cons, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_Real deltaage, SCIP_REOPT *reopt)
     
    SCIP_RETCODE SCIPconsIncAge (SCIP_CONS *cons, BMS_BLKMEM *blkmem, SCIP_SET *set, SCIP_STAT *stat, SCIP_PROB *prob, SCIP_REOPT *reopt)
     
    SCIP_RETCODE SCIPconsResetAge (SCIP_CONS *cons, SCIP_SET *set)
     
    SCIP_RETCODE SCIPconsResolvePropagation (SCIP_CONS *cons, SCIP_SET *set, SCIP_VAR *infervar, int inferinfo, SCIP_BOUNDTYPE inferboundtype, SCIP_BDCHGIDX *bdchgidx, SCIP_Real relaxedbd, SCIP_RESULT *result)
     
    SCIP_RETCODE SCIPconsAddLocks (SCIP_CONS *cons, SCIP_SET *set, SCIP_LOCKTYPE locktype, int nlockspos, int nlocksneg)
     
     SCIP_DECL_HASHGETKEY (SCIPhashGetKeyCons)
     
    SCIP_RETCODE SCIPconshdlrsStorePropagationStatus (SCIP_SET *set, SCIP_CONSHDLR **conshdlrs, int nconshdlrs)
     
    SCIP_RETCODE SCIPconshdlrsResetPropagationStatus (SCIP_SET *set, BMS_BLKMEM *blkmem, SCIP_CONSHDLR **conshdlrs, int nconshdlrs)
     

    Function Documentation

    ◆ SCIPconshdlrCopyInclude()

    SCIP_RETCODE SCIPconshdlrCopyInclude ( SCIP_CONSHDLR conshdlr,
    SCIP_SET set,
    SCIP_Bool valid 
    )

    copies the given constraint handler to a new scip

    Parameters
    conshdlrconstraint handler
    setSCIP_SET of SCIP to copy to
    validwas the copying process valid?

    Definition at line 1980 of file cons.c.

    References NULL, SCIP_CALL, SCIP_OKAY, SCIPconshdlrGetName(), and SCIPsetDebugMsg.

    Referenced by SCIPsetCopyPlugins().

    ◆ SCIPconshdlrCreate()

    SCIP_RETCODE SCIPconshdlrCreate ( SCIP_CONSHDLR **  conshdlr,
    SCIP_SET set,
    SCIP_MESSAGEHDLR messagehdlr,
    BMS_BLKMEM blkmem,
    const char *  name,
    const char *  desc,
    int  sepapriority,
    int  enfopriority,
    int  checkpriority,
    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

    Parameters
    conshdlrpointer to constraint handler data structure
    setglobal SCIP settings
    messagehdlrmessage handler
    blkmemblock memory for parameter settings
    namename of constraint handler
    descdescription of constraint handler
    sepaprioritypriority of the constraint handler for separation
    enfoprioritypriority of the constraint handler for constraint enforcing
    checkprioritypriority of the constraint handler for checking feasibility (and propagation)
    sepafreqfrequency for separating cuts; zero means to separate only in the root node
    propfreqfrequency for propagating domains; zero means only preprocessing propagation
    eagerfreqfrequency for using all instead of only the useful constraints in separation, propagation and enforcement, -1 for no eager evaluations, 0 for first only
    maxpreroundsmaximal number of presolving rounds the constraint handler participates in (-1: no limit)
    delaysepashould separation method be delayed, if other separators found cuts?
    delaypropshould propagation method be delayed, if other propagators found reductions?
    needsconsshould the constraint handler be skipped, if no constraints are available?
    proptimingpositions in the node solving loop where propagation method of constraint handlers should be executed
    presoltimingtiming mask of the constraint handler's presolving method
    conshdlrdataconstraint handler data

    Definition at line 2287 of file cons.c.

    References doConshdlrCreate(), NULL, SCIP_CALL_FINALLY, SCIP_OKAY, and SCIPconshdlrFree().

    Referenced by SCIPincludeConshdlr(), and SCIPincludeConshdlrBasic().

    ◆ SCIPconshdlrFree()

    SCIP_RETCODE SCIPconshdlrFree ( SCIP_CONSHDLR **  conshdlr,
    SCIP_SET set 
    )

    calls destructor and frees memory of constraint handler

    Parameters
    conshdlrpointer to constraint handler data structure
    setglobal SCIP settings

    Definition at line 2367 of file cons.c.

    References BMSfreeMemory, BMSfreeMemoryArrayNull, NULL, SCIP_CALL, SCIP_OKAY, and SCIPclockFree().

    Referenced by SCIPconshdlrCreate().

    ◆ SCIPconshdlrInit()

    SCIP_RETCODE SCIPconshdlrInit ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat 
    )

    calls init method of constraint handler

    calls initialization method of constraint handler

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics

    Definition at line 2412 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, SCIP_Conshdlr::enforelaxtime, SCIP_Conshdlr::exact, 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::lastenforelaxdomchgcount, SCIP_Conshdlr::lastenforelaxrelaxcount, 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::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::needscons, SCIP_Conshdlr::nenfolpcalls, SCIP_Conshdlr::nenfopscalls, SCIP_Conshdlr::nenforelaxcalls, SCIP_Conshdlr::nfixedvars, SCIP_Conshdlr::npresolcalls, SCIP_Conshdlr::npropcalls, SCIP_Conshdlr::nrespropcalls, SCIP_Conshdlr::nsepacalls, NULL, SCIP_Conshdlr::nupgdconss, SCIP_Conshdlr::presoltime, SCIP_Conshdlr::proptime, SCIP_Conshdlr::propwasdelayed, SCIP_Conshdlr::resproptime, SCIP_Conshdlr::sbproptime, 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.

    ◆ SCIPconshdlrExit()

    SCIP_RETCODE SCIPconshdlrExit ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat 
    )

    calls exit method of constraint handler

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics

    Definition at line 2530 of file cons.c.

    References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Conshdlr::exact, FALSE, SCIP_Conshdlr::initialized, SCIP_Conshdlr::name, SCIP_Conshdlr::nconss, SCIP_Conshdlr::needscons, NULL, SCIP_CALL, SCIP_INVALIDCALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, and SCIP_Conshdlr::setuptime.

    ◆ SCIPconshdlrInitpre()

    SCIP_RETCODE SCIPconshdlrInitpre ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat 
    )

    informs constraint handler that the presolving process is being started

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics

    Definition at line 2578 of file cons.c.

    References SCIP_Cons::addarraypos, conshdlrAddInitcons(), conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Cons::deleted, SCIP_Conshdlr::exact, FALSE, 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::lastenforelaxdomchgcount, SCIP_Conshdlr::lastenforelaxrelaxcount, SCIP_Conshdlr::lastenforelaxresult, 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_Conshdlr::needscons, SCIP_Stat::nruns, NULL, SCIP_Conshdlr::propwasdelayed, SCIP_CALL, SCIP_DIDNOTRUN, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIP_Conshdlr::setuptime, and SCIP_Conshdlr::startnactiveconss.

    ◆ SCIPconshdlrExitpre()

    SCIP_RETCODE SCIPconshdlrExitpre ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat 
    )

    informs constraint handler that the presolving is finished

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics

    Definition at line 2669 of file cons.c.

    References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Conshdlr::exact, SCIP_Conshdlr::maxnactiveconss, SCIP_Conshdlr::nactiveconss, SCIP_Conshdlr::nconss, SCIP_Conshdlr::needscons, NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIP_Conshdlr::setuptime, and SCIP_Conshdlr::startnactiveconss.

    ◆ SCIPconshdlrInitsol()

    SCIP_RETCODE SCIPconshdlrInitsol ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat 
    )

    informs constraint handler that the branch and bound process is being started

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics

    Definition at line 2714 of file cons.c.

    References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Conshdlr::exact, FALSE, SCIP_Conshdlr::nconss, SCIP_Conshdlr::needscons, NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIP_Conshdlr::sepalpwasdelayed, SCIP_Conshdlr::sepasolwasdelayed, and SCIP_Conshdlr::setuptime.

    ◆ SCIPconshdlrExitsol()

    SCIP_RETCODE SCIPconshdlrExitsol ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_Bool  restart 
    )

    informs constraint handler that the branch and bound process data is being freed

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    restartwas this exit solve call triggered by a restart?

    Definition at line 2759 of file cons.c.

    References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Conshdlr::exact, SCIP_Conshdlr::nconss, SCIP_Conshdlr::needscons, NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), and SCIP_Conshdlr::setuptime.

    ◆ SCIPconshdlrInitLP()

    SCIP_RETCODE SCIPconshdlrInitLP ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_TREE tree,
    SCIP_Bool  initkeptconss,
    SCIP_Bool cutoff 
    )

    calls LP initialization method of constraint handler to separate all initial active constraints

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    treebranch and bound tree
    initkeptconssAlso initialize constraints which are valid at a more global node, but were not activated there? Should be FALSE for repeated calls at one node or if the current focusnode is a child of the former one
    cutoffpointer to store whether infeasibility was detected while building the LP

    Definition at line 2801 of file cons.c.

    References BMSfreeMemoryArrayNull, conshdlrAddInitcons(), conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::exact, FALSE, SCIP_Conshdlr::initconss, SCIP_Cons::initconsspos, SCIP_Conshdlr::initconsssize, SCIP_Conshdlr::name, SCIP_Conshdlr::nconss, SCIP_Conshdlr::needscons, SCIP_Conshdlr::ninitconss, SCIP_Conshdlr::ninitconsskept, SCIP_Stat::nnodes, NULL, SCIP_CALL, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPconsGetActiveDepth(), SCIPconsIsActive(), SCIPsetDebugMsg, SCIPtreeGetCurrentDepth(), SCIPtreeProbing(), and SCIP_Conshdlr::sepatime.

    Referenced by SCIPinitConssLP().

    ◆ SCIPconshdlrSeparateLP()

    SCIP_RETCODE SCIPconshdlrSeparateLP ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_SEPASTORE sepastore,
    int  depth,
    SCIP_Bool  execdelayed,
    SCIP_RESULT result 
    )

    calls separator method of constraint handler to separate LP solution

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    sepastoreseparation storage
    depthdepth of current node
    execdelayedexecute separation method even if it is marked to be delayed
    resultpointer to store the result of the callback method

    Definition at line 2913 of file cons.c.

    References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::delaysepa, SCIP_Conshdlr::duringsepa, SCIP_Conshdlr::eagerfreq, SCIP_Conshdlr::exact, 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::nconss, 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_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(), SCIPerrorMessage, SCIPsepastoreGetNCuts(), SCIPsetDebugMsg, SCIP_Conshdlr::sepaconss, SCIP_Conshdlr::sepafreq, SCIP_Conshdlr::sepalpwasdelayed, SCIP_Conshdlr::sepatime, and TRUE.

    Referenced by separationRoundLP().

    ◆ SCIPconshdlrSeparateSol()

    SCIP_RETCODE SCIPconshdlrSeparateSol ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_SEPASTORE sepastore,
    SCIP_SOL sol,
    int  depth,
    SCIP_Bool  execdelayed,
    SCIP_RESULT result 
    )

    calls separator method of constraint handler to separate given primal solution

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    sepastoreseparation storage
    solprimal solution that should be separated
    depthdepth of current node
    execdelayedexecute separation method even if it is marked to be delayed
    resultpointer to store the result of the callback method

    Definition at line 3075 of file cons.c.

    References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::delaysepa, SCIP_Conshdlr::duringsepa, SCIP_Conshdlr::eagerfreq, SCIP_Conshdlr::exact, FALSE, MAX, SCIP_Stat::nactiveconss, SCIP_Conshdlr::name, SCIP_Stat::nboundchgs, SCIP_Conshdlr::ncheckconss, SCIP_Conshdlr::nconss, 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_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(), SCIPerrorMessage, SCIPsepastoreGetNCuts(), SCIPsetDebugMsg, SCIP_Conshdlr::sepaconss, SCIP_Conshdlr::sepafreq, SCIP_Conshdlr::sepasolwasdelayed, SCIP_Conshdlr::sepatime, and TRUE.

    Referenced by separationRoundSol().

    ◆ SCIPconshdlrEnforceRelaxSol()

    SCIP_RETCODE SCIPconshdlrEnforceRelaxSol ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_TREE tree,
    SCIP_SEPASTORE sepastore,
    SCIP_SOL relaxsol,
    SCIP_Bool  solinfeasible,
    SCIP_RESULT result 
    )

    calls enforcing method of constraint handler for a relaxation solution for all constraints added after last conshdlrResetEnfo() call

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    treebranch and bound tree
    sepastoreseparation storage
    relaxsolsolution to be enforced
    solinfeasiblewas the solution already found out to be infeasible?
    resultpointer to store the result of the callback method

    Definition at line 3209 of file cons.c.

    References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Stat::domchgcount, SCIP_Conshdlr::eagerfreq, SCIP_Conshdlr::enfoconss, SCIP_Conshdlr::enforelaxtime, SCIP_Conshdlr::exact, FALSE, SCIP_Conshdlr::lastenfopsdomchgcount, SCIP_Conshdlr::lastenfopsnode, SCIP_Conshdlr::lastenforelaxdomchgcount, SCIP_Conshdlr::lastenforelaxnode, SCIP_Conshdlr::lastenforelaxrelaxcount, SCIP_Conshdlr::lastenforelaxresult, SCIP_Conshdlr::lastnusefulenfoconss, MAX, SCIP_Stat::nactiveconss, SCIP_Conshdlr::name, SCIP_Stat::nboundchgs, SCIP_Conshdlr::ncheckconss, SCIP_Conshdlr::nchildren, SCIP_Tree::nchildren, SCIP_Conshdlr::nconss, SCIP_Conshdlr::nconssfound, SCIP_Conshdlr::ncutoffs, SCIP_Conshdlr::ncutsfound, SCIP_Conshdlr::ndomredsfound, SCIP_Conshdlr::needscons, SCIP_Conshdlr::nenfoconss, SCIP_Conshdlr::nenforelaxcalls, 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_Stat::relaxcount, 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, SCIP_SOLVELP, SCIPclockStart(), SCIPclockStop(), SCIPdebugMessage, SCIPerrorMessage, SCIPsepastoreGetNCuts(), and TRUE.

    Referenced by enforceConstraints().

    ◆ SCIPconshdlrEnforceLPSol()

    SCIP_RETCODE SCIPconshdlrEnforceLPSol ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_TREE tree,
    SCIP_SEPASTORE sepastore,
    SCIP_Bool  solinfeasible,
    SCIP_RESULT result 
    )

    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

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    treebranch and bound tree
    sepastoreseparation storage
    solinfeasiblewas the solution already found out to be infeasible?
    resultpointer to store the result of the callback method

    Definition at line 3406 of file cons.c.

    References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Stat::domchgcount, SCIP_Conshdlr::eagerfreq, SCIP_Conshdlr::enfoconss, SCIP_Conshdlr::enfolptime, SCIP_Conshdlr::exact, 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::nconss, 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_Bool, SCIP_BRANCHED, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_INVALIDRESULT, SCIP_Longint, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SEPARATED, SCIP_SOLVELP, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, SCIPsepastoreGetNCuts(), SCIPsetDebugMsg, and TRUE.

    Referenced by enforceConstraints().

    ◆ SCIPconshdlrGetDiveBoundChanges()

    SCIP_RETCODE SCIPconshdlrGetDiveBoundChanges ( SCIP_CONSHDLR conshdlr,
    SCIP_SET set,
    SCIP_DIVESET diveset,
    SCIP_SOL sol,
    SCIP_Bool success,
    SCIP_Bool infeasible 
    )

    calls diving solution enforcement callback of constraint handler, if it exists

    Parameters
    conshdlrconstraint handler
    setglobal SCIP settings
    divesetdiving settings to control scoring
    solcurrent solution of diving mode
    successpointer to store whether constraint handler successfully found a variable
    infeasiblepointer to store whether the current node was detected to be infeasible

    Definition at line 3589 of file cons.c.

    References SCIP_Conshdlr::exact, FALSE, SCIP_Conshdlr::nconss, SCIP_Conshdlr::needscons, NULL, SCIP_CALL, and SCIP_OKAY.

    Referenced by SCIPgetDiveBoundChanges().

    ◆ SCIPconshdlrEnforcePseudoSol()

    SCIP_RETCODE SCIPconshdlrEnforcePseudoSol ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_TREE tree,
    SCIP_BRANCHCAND branchcand,
    SCIP_Bool  solinfeasible,
    SCIP_Bool  objinfeasible,
    SCIP_Bool  forced,
    SCIP_RESULT result 
    )

    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

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    treebranch and bound tree
    branchcandbranching candidate storage
    solinfeasiblewas the solution already found out to be infeasible?
    objinfeasibleis the solution infeasible anyway due to violating lower objective bound?
    forcedshould enforcement of pseudo solution be forced?
    resultpointer to store the result of the callback method

    Definition at line 3624 of file cons.c.

    References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Stat::domchgcount, SCIP_Conshdlr::eagerfreq, SCIP_Conshdlr::enfoconss, SCIP_Conshdlr::enfopstime, SCIP_Conshdlr::exact, 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::nconss, 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_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(), SCIPerrorMessage, SCIPsetDebugMsg, and TRUE.

    Referenced by enforceConstraints().

    ◆ SCIPconshdlrCheck()

    SCIP_RETCODE SCIPconshdlrCheck ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_SOL sol,
    SCIP_Bool  checkintegrality,
    SCIP_Bool  checklprows,
    SCIP_Bool  printreason,
    SCIP_Bool  completely,
    SCIP_RESULT result 
    )

    calls feasibility check method of constraint handler

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    solprimal CIP solution
    checkintegralityHas integrality to be checked?
    checklprowsDo constraints represented by rows in the current LP have to be checked?
    printreasonShould the reason for the violation be printed?
    completelyShould all violations be checked?
    resultpointer to store the result of the callback method

    Definition at line 3838 of file cons.c.

    References SCIP_Conshdlr::checkconss, SCIP_Conshdlr::checktime, conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::exact, SCIP_Conshdlr::name, SCIP_Conshdlr::ncheckcalls, SCIP_Conshdlr::ncheckconss, SCIP_Conshdlr::nconss, 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_CALL, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_INVALIDRESULT, SCIP_OKAY, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, and SCIPsetDebugMsg.

    Referenced by checkSolOrig(), checkSolOrigExact(), SCIPsolCheck(), SCIPsolCheckOrig(), and solCheckExact().

    ◆ SCIPconshdlrPropagate()

    SCIP_RETCODE SCIPconshdlrPropagate ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    int  depth,
    SCIP_Bool  fullpropagation,
    SCIP_Bool  execdelayed,
    SCIP_Bool  instrongbranching,
    SCIP_PROPTIMING  proptiming,
    SCIP_RESULT result 
    )

    calls propagation method of constraint handler

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    depthdepth of current node
    fullpropagationshould all constraints be propagated (or only new ones)?
    execdelayedexecute propagation method even if it is marked to be delayed
    instrongbranchingare we currently doing strong branching?
    proptimingcurrent point in the node solving process
    resultpointer to store the result of the callback method

    Definition at line 3905 of file cons.c.

    References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::delayprop, SCIP_Stat::domchgcount, SCIP_Conshdlr::duringprop, SCIP_Conshdlr::eagerfreq, SCIP_Conshdlr::exact, FALSE, SCIP_Conshdlr::lastnusefulpropconss, SCIP_Conshdlr::lastpropdomchgcount, MIN, SCIP_Conshdlr::name, SCIP_Stat::nboundchgs, SCIP_Conshdlr::ncheckconss, SCIP_Conshdlr::nconss, 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_CALL, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DELAYNODE, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_Longint, SCIP_OKAY, SCIP_REDUCEDDOM, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, SCIPsetDebugMsg, and TRUE.

    Referenced by propagationRound().

    ◆ SCIPconshdlrPresolve()

    SCIP_RETCODE SCIPconshdlrPresolve ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_PRESOLTIMING  timing,
    int  nrounds,
    int *  nfixedvars,
    int *  naggrvars,
    int *  nchgvartypes,
    int *  nchgbds,
    int *  naddholes,
    int *  ndelconss,
    int *  naddconss,
    int *  nupgdconss,
    int *  nchgcoefs,
    int *  nchgsides,
    SCIP_RESULT result 
    )

    calls presolving method of constraint handler

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    timingcurrent presolving timing
    nroundsnumber of presolving rounds already done
    nfixedvarspointer to total number of variables fixed of all presolvers
    naggrvarspointer to total number of variables aggregated of all presolvers
    nchgvartypespointer to total number of variable type changes of all presolvers
    nchgbdspointer to total number of variable bounds tightened of all presolvers
    naddholespointer to total number of domain holes added of all presolvers
    ndelconsspointer to total number of deleted constraints of all presolvers
    naddconsspointer to total number of added constraints of all presolvers
    nupgdconsspointer to total number of upgraded constraints of all presolvers
    nchgcoefspointer to total number of changed coefficients of all presolvers
    nchgsidespointer to total number of changed left/right hand sides of all presolvers
    resultpointer to store the result of the callback method

    Definition at line 4081 of file cons.c.

    References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Conshdlr::exact, 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::nconss, 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::presoltiming, SCIP_CALL, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_SUCCESS, SCIP_UNBOUNDED, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, and SCIPsetDebugMsg.

    Referenced by presolveRound().

    ◆ SCIPconshdlrEnableOrDisableClocks()

    void SCIPconshdlrEnableOrDisableClocks ( SCIP_CONSHDLR conshdlr,
    SCIP_Bool  enable 
    )

    enables or disables all clocks of conshdlr, depending on the value of the flag

    Parameters
    conshdlrthe constraint handler for which all clocks should be enabled or disabled
    enableshould the clocks of the constraint handler be enabled?

    Definition at line 4842 of file cons.c.

    References SCIP_Conshdlr::checktime, SCIP_Conshdlr::enfolptime, SCIP_Conshdlr::enfopstime, SCIP_Conshdlr::enforelaxtime, NULL, SCIP_Conshdlr::presoltime, SCIP_Conshdlr::proptime, SCIP_Conshdlr::resproptime, SCIP_Conshdlr::sbproptime, SCIPclockEnableOrDisable(), SCIP_Conshdlr::sepatime, and SCIP_Conshdlr::setuptime.

    ◆ SCIPconshdlrDelVars()

    SCIP_RETCODE SCIPconshdlrDelVars ( SCIP_CONSHDLR conshdlr,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat 
    )

    calls variable deletion method of constraint handler

    Parameters
    conshdlrconstraint handler
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics

    Definition at line 4240 of file cons.c.

    References conshdlrDelayUpdates(), conshdlrForceUpdates(), SCIP_Conshdlr::conss, SCIP_Conshdlr::exact, SCIP_Conshdlr::name, SCIP_Conshdlr::nconss, SCIP_Conshdlr::needscons, NULL, SCIP_CALL, SCIP_OKAY, and SCIPsetDebugMsg.

    Referenced by SCIPprobPerformVarDeletions().

    ◆ SCIPconshdlrLockVars()

    SCIP_RETCODE SCIPconshdlrLockVars ( SCIP_CONSHDLR conshdlr,
    SCIP_SET set 
    )

    locks rounding of variables involved in the given constraint constraint handler that doesn't need constraints

    Parameters
    conshdlrconstraint handler
    setglobal SCIP settings

    Definition at line 4276 of file cons.c.

    References SCIP_Conshdlr::exact, SCIP_Conshdlr::nconss, SCIP_Conshdlr::needscons, NULL, SCIP_CALL, SCIP_LOCKTYPE_MODEL, and SCIP_OKAY.

    Referenced by SCIPprobTransform().

    ◆ SCIPconshdlrUnlockVars()

    SCIP_RETCODE SCIPconshdlrUnlockVars ( SCIP_CONSHDLR conshdlr,
    SCIP_SET set 
    )

    unlocks rounding of variables involved in the given constraint constraint handler that doesn't need constraints

    Parameters
    conshdlrconstraint handler
    setglobal SCIP settings

    Definition at line 4296 of file cons.c.

    References SCIP_Conshdlr::exact, SCIP_Conshdlr::nconss, SCIP_Conshdlr::needscons, NULL, SCIP_CALL, SCIP_LOCKTYPE_MODEL, and SCIP_OKAY.

    Referenced by SCIPprobFree().

    ◆ SCIPconshdlrSetCopy()

    void SCIPconshdlrSetCopy ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSHDLRCOPY((*conshdlrcopy))  ,
    SCIP_DECL_CONSCOPY((*conscopy))   
    )

    callback setter methods of constraint handlers sets copy method of both the constraint handler and each associated constraint

    sets copy method of both the constraint handler and each associated constraint

    Parameters
    conshdlrconstraint handler

    Definition at line 4431 of file cons.c.

    References SCIP_Conshdlr::needscons, and NULL.

    Referenced by SCIPsetConshdlrCopy().

    ◆ SCIPconshdlrSetFree()

    void SCIPconshdlrSetFree ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSFREE((*consfree))   
    )

    sets destructor method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4446 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrFree().

    ◆ SCIPconshdlrSetInit()

    void SCIPconshdlrSetInit ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSINIT((*consinit))   
    )

    sets initialization method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4457 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrInit().

    ◆ SCIPconshdlrSetExit()

    void SCIPconshdlrSetExit ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSEXIT((*consexit))   
    )

    sets deinitialization method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4468 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrExit().

    ◆ SCIPconshdlrSetInitsol()

    void SCIPconshdlrSetInitsol ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSINITSOL((*consinitsol))   
    )

    sets solving process initialization method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4479 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrInitsol().

    ◆ SCIPconshdlrSetExitsol()

    void SCIPconshdlrSetExitsol ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSEXITSOL((*consexitsol))   
    )

    sets solving process deinitialization method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4490 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrExitsol().

    ◆ SCIPconshdlrSetInitpre()

    void SCIPconshdlrSetInitpre ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSINITPRE((*consinitpre))   
    )

    sets preprocessing initialization method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4501 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrInitpre().

    ◆ SCIPconshdlrSetExitpre()

    void SCIPconshdlrSetExitpre ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSEXITPRE((*consexitpre))   
    )

    sets preprocessing deinitialization method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4512 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrExitpre().

    ◆ SCIPconshdlrSetPresol()

    SCIP_RETCODE SCIPconshdlrSetPresol ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSPRESOL((*conspresol))  ,
    int  maxprerounds,
    SCIP_PRESOLTIMING  presoltiming 
    )

    sets presolving method of constraint handler

    Parameters
    conshdlrconstraint handler
    maxpreroundsmaximal number of presolving rounds the constraint handler participates in (-1: no limit)
    presoltimingtiming mask of the constraint handler's presolving method

    Definition at line 4523 of file cons.c.

    References SCIP_Conshdlr::maxprerounds, SCIP_Conshdlr::name, NULL, SCIP_Conshdlr::presoltiming, SCIP_OKAY, SCIP_PARAMETERWRONGVAL, SCIP_PRESOLTIMING_MAX, and SCIPmessagePrintError().

    Referenced by SCIPsetConshdlrPresol().

    ◆ SCIPconshdlrSetDelete()

    void SCIPconshdlrSetDelete ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSDELETE((*consdelete))   
    )

    sets method of constraint handler to free specific constraint data

    Parameters
    conshdlrconstraint handler

    Definition at line 4552 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrDelete().

    ◆ SCIPconshdlrSetTrans()

    void SCIPconshdlrSetTrans ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSTRANS((*constrans))   
    )

    sets method of constraint handler to transform constraint data into data belonging to the transformed problem

    Parameters
    conshdlrconstraint handler

    Definition at line 4563 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrTrans().

    ◆ SCIPconshdlrSetInitlp()

    void SCIPconshdlrSetInitlp ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSINITLP((*consinitlp))   
    )

    sets method of constraint handler to initialize LP with relaxations of "initial" constraints

    Parameters
    conshdlrconstraint handler

    Definition at line 4574 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrInitlp().

    ◆ SCIPconshdlrSetResprop()

    void SCIPconshdlrSetResprop ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSRESPROP((*consresprop))   
    )

    sets propagation conflict resolving method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4585 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrResprop().

    ◆ SCIPconshdlrSetActive()

    void SCIPconshdlrSetActive ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSACTIVE((*consactive))   
    )

    sets activation notification method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4596 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrActive().

    ◆ SCIPconshdlrSetDeactive()

    void SCIPconshdlrSetDeactive ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSDEACTIVE((*consdeactive))   
    )

    sets deactivation notification method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4607 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrDeactive().

    ◆ SCIPconshdlrSetEnable()

    void SCIPconshdlrSetEnable ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSENABLE((*consenable))   
    )

    sets enabling notification method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4618 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrEnable().

    ◆ SCIPconshdlrSetDisable()

    void SCIPconshdlrSetDisable ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSDISABLE((*consdisable))   
    )

    sets disabling notification method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4629 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrDisable().

    ◆ SCIPconshdlrSetDelvars()

    void SCIPconshdlrSetDelvars ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSDELVARS((*consdelvars))   
    )

    sets variable deletion method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4640 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrDelvars().

    ◆ SCIPconshdlrSetPrint()

    void SCIPconshdlrSetPrint ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSPRINT((*consprint))   
    )

    sets constraint display method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4651 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrPrint().

    ◆ SCIPconshdlrSetParse()

    void SCIPconshdlrSetParse ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSPARSE((*consparse))   
    )

    sets constraint parsing method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4662 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrParse().

    ◆ SCIPconshdlrSetGetVars()

    void SCIPconshdlrSetGetVars ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSGETVARS((*consgetvars))   
    )

    sets constraint variable getter method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4673 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrGetVars().

    ◆ SCIPconshdlrSetGetNVars()

    void SCIPconshdlrSetGetNVars ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSGETNVARS((*consgetnvars))   
    )

    sets constraint variable number getter method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4684 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrGetNVars().

    ◆ SCIPconshdlrSetGetDiveBdChgs()

    void SCIPconshdlrSetGetDiveBdChgs ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSGETDIVEBDCHGS((*consgetdivebdchgs))   
    )

    sets diving enforcement method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4695 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrGetDiveBdChgs().

    ◆ SCIPconshdlrSetGetPermsymGraph()

    void SCIPconshdlrSetGetPermsymGraph ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSGETPERMSYMGRAPH((*consgetpermsymgraph))   
    )

    sets permutation symmetry detection graph getter method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4706 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrGetPermsymGraph().

    ◆ SCIPconshdlrSetGetSignedPermsymGraph()

    void SCIPconshdlrSetGetSignedPermsymGraph ( SCIP_CONSHDLR conshdlr,
    SCIP_DECL_CONSGETSIGNEDPERMSYMGRAPH((*consgetsignedpermsymgraph))   
    )

    sets signed permutation symmetry detection graph getter method of constraint handler

    Parameters
    conshdlrconstraint handler

    Definition at line 4718 of file cons.c.

    References NULL.

    Referenced by SCIPsetConshdlrGetSignedPermsymGraph().

    ◆ SCIPconssetchgFree()

    SCIP_RETCODE SCIPconssetchgFree ( SCIP_CONSSETCHG **  conssetchg,
    BMS_BLKMEM blkmem,
    SCIP_SET set 
    )

    frees constraint set change data and releases all included constraints

    Parameters
    conssetchgpointer to constraint set change
    blkmemblock memory
    setglobal SCIP settings

    Definition at line 5522 of file cons.c.

    References BMSfreeBlockMemory, BMSfreeBlockMemoryArrayNull, conssetchgRelease(), NULL, SCIP_CALL, and SCIP_OKAY.

    Referenced by SCIPconssetchgMakeGlobal(), and SCIPnodeFree().

    ◆ SCIPconssetchgAddAddedCons()

    SCIP_RETCODE SCIPconssetchgAddAddedCons ( SCIP_CONSSETCHG **  conssetchg,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_CONS cons,
    int  depth,
    SCIP_Bool  focusnode,
    SCIP_Bool  active 
    )

    adds constraint addition to constraint set changes, and captures constraint; activates constraint if the constraint set change data is currently active

    Parameters
    conssetchgpointer to constraint set change data structure
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    consadded constraint
    depthdepth of constraint set change's node
    focusnodedoes the constraint set change belong to the focus node?
    activeis the constraint set change currently active?

    Definition at line 5596 of file cons.c.

    References active, SCIP_Cons::addarraypos, SCIP_Cons::addconssetchg, conssetchgCreate(), conssetchgEnsureAddedconssSize(), SCIP_Cons::deleted, FALSE, NULL, SCIP_CALL, SCIP_OKAY, SCIPconsActivate(), SCIPconsCapture(), and SCIPconsIsActive().

    Referenced by SCIPnodeAddCons().

    ◆ SCIPconssetchgAddDisabledCons()

    SCIP_RETCODE SCIPconssetchgAddDisabledCons ( SCIP_CONSSETCHG **  conssetchg,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_CONS cons 
    )

    adds constraint disabling to constraint set changes, and captures constraint

    Parameters
    conssetchgpointer to constraint set change data structure
    blkmemblock memory
    setglobal SCIP settings
    consdisabled constraint

    Definition at line 5642 of file cons.c.

    References conssetchgCreate(), conssetchgEnsureDisabledconssSize(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPconsCapture().

    Referenced by SCIPnodeDelCons().

    ◆ SCIPconssetchgApply()

    SCIP_RETCODE SCIPconssetchgApply ( SCIP_CONSSETCHG conssetchg,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    int  depth,
    SCIP_Bool  focusnode 
    )

    applies constraint set change

    Parameters
    conssetchgconstraint set change to apply
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    depthdepth of constraint set change's node
    focusnodedoes the constraint set change belong to the focus node?

    Definition at line 5760 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(), SCIPsetDebugMsg, and SCIP_Cons::update.

    Referenced by nodeActivate().

    ◆ SCIPconssetchgUndo()

    SCIP_RETCODE SCIPconssetchgUndo ( SCIP_CONSSETCHG conssetchg,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat 
    )

    ◆ SCIPconssetchgMakeGlobal()

    SCIP_RETCODE SCIPconssetchgMakeGlobal ( SCIP_CONSSETCHG **  conssetchg,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_PROB prob,
    SCIP_REOPT reopt 
    )

    applies constraint set change to the global problem and deletes the constraint set change data

    Parameters
    conssetchgpointer to constraint set change data
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    probproblem data
    reoptreoptimization data

    Definition at line 5933 of file cons.c.

    References conssetchgDelAddedCons(), conssetchgDelDisabledCons(), SCIP_Cons::deleted, SCIP_ConsSetChg::naddedconss, NULL, SCIP_CALL, SCIP_OKAY, SCIPconsCapture(), SCIPconsDelete(), SCIPconsIsStickingAtNode(), SCIPconsRelease(), SCIPconssetchgFree(), SCIPprobAddCons(), SCIPsetDebugMsg, and SCIP_Cons::update.

    Referenced by treeSwitchPath().

    ◆ SCIPconshdlrIncNAppliedCuts()

    void SCIPconshdlrIncNAppliedCuts ( SCIP_CONSHDLR conshdlr)

    increase count of applied cuts

    Parameters
    conshdlrconstraint handler

    Definition at line 5062 of file cons.c.

    References SCIP_Conshdlr::ncutsapplied, and NULL.

    Referenced by sepastoreApplyCut().

    ◆ SCIPconshdlrIncNCutsFound()

    void SCIPconshdlrIncNCutsFound ( SCIP_CONSHDLR conshdlr)

    increase count of found cuts

    Parameters
    conshdlrconstraint handler

    Definition at line 5072 of file cons.c.

    References SCIP_Conshdlr::ncutsfound, and NULL.

    Referenced by SCIPcutpoolSeparate().

    ◆ SCIPconsCreate()

    SCIP_RETCODE SCIPconsCreate ( SCIP_CONS **  cons,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    const char *  name,
    SCIP_CONSHDLR conshdlr,
    SCIP_CONSDATA consdata,
    SCIP_Bool  initial,
    SCIP_Bool  separate,
    SCIP_Bool  enforce,
    SCIP_Bool  check,
    SCIP_Bool  propagate,
    SCIP_Bool  local,
    SCIP_Bool  modifiable,
    SCIP_Bool  dynamic,
    SCIP_Bool  removable,
    SCIP_Bool  stickingatnode,
    SCIP_Bool  original,
    SCIP_Bool  deleteconsdata 
    )

    creates and captures a constraint, and inserts it into the conss array of its constraint handler

    Warning
    If a constraint is marked to be checked for feasibility but not to be enforced, a LP or pseudo solution may be declared feasible even if it violates this particular constraint. This constellation should only be used, if no LP or pseudo solution can violate the constraint – e.g. if a local constraint is redundant due to the variable's local bounds.
    Parameters
    conspointer to constraint
    blkmemblock memory
    setglobal SCIP settings
    namename of constraint
    conshdlrconstraint handler for this constraint
    consdatadata for this specific constraint
    initialshould the LP relaxation of constraint be in the initial LP? Usually set to TRUE. Set to FALSE for 'lazy constraints'.
    separateshould the constraint be separated during LP processing? Usually set to TRUE.
    enforceshould the constraint be enforced during node processing? TRUE for model constraints, FALSE for additional, redundant constraints.
    checkshould the constraint be checked for feasibility? TRUE for model constraints, FALSE for additional, redundant constraints.
    propagateshould the constraint be propagated during node processing? Usually set to TRUE.
    localis constraint only valid locally? Usually set to FALSE. Has to be set to TRUE, e.g., for branching constraints.
    modifiableis constraint modifiable (subject to column generation)? Usually set to FALSE. In column generation applications, set to TRUE if pricing adds coefficients to this constraint.
    dynamicis constraint subject to aging? Usually set to FALSE. Set to TRUE for own cuts which are separated as constraints.
    removableshould the relaxation be removed from the LP due to aging or cleanup? Usually set to FALSE. Set to TRUE for 'lazy constraints' and 'user cuts'.
    stickingatnodeshould the constraint always be kept at the node where it was added, even if it may be moved to a more global node? Usually set to FALSE. Set to TRUE to for constraints that represent node data.
    originalis constraint belonging to the original problem?
    deleteconsdatahas the constraint data to be deleted if constraint is freed?

    Definition at line 6029 of file cons.c.

    References BMSallocBlockMemory, BMSduplicateBlockMemoryArray, checkConssArrays, conshdlrAddCons(), conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), FALSE, NLOCKTYPES, NULL, SCIP_ALLOC, SCIP_CALL, SCIP_OKAY, SCIPconsCapture(), SCIPsetDebugMsg, separate(), and TRUE.

    Referenced by SCIPconsTransform(), and SCIPcreateCons().

    ◆ SCIPconsCopy()

    SCIP_RETCODE SCIPconsCopy ( SCIP_CONS **  cons,
    SCIP_SET set,
    const char *  name,
    SCIP sourcescip,
    SCIP_CONSHDLR sourceconshdlr,
    SCIP_CONS sourcecons,
    SCIP_HASHMAP varmap,
    SCIP_HASHMAP consmap,
    SCIP_Bool  initial,
    SCIP_Bool  separate,
    SCIP_Bool  enforce,
    SCIP_Bool  check,
    SCIP_Bool  propagate,
    SCIP_Bool  local,
    SCIP_Bool  modifiable,
    SCIP_Bool  dynamic,
    SCIP_Bool  removable,
    SCIP_Bool  stickingatnode,
    SCIP_Bool  global,
    SCIP_Bool valid 
    )

    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;

    Warning
    If a constraint is marked to be checked for feasibility but not to be enforced, an LP or pseudo solution may be declared feasible even if it violates this particular constraint. This constellation should only be used, if no LP or pseudo solution can violate the constraint – e.g. if a local constraint is redundant due to the variable's local bounds.
    Parameters
    conspointer to store the created target constraint
    setglobal SCIP settings of the target SCIP
    namename of constraint, or NULL if the name of the source constraint should be used
    sourcescipsource SCIP data structure
    sourceconshdlrsource constraint handler for this constraint
    sourceconssource constraint of the source SCIP
    varmapa SCIP_HASHMAP mapping variables of the source SCIP to corresponding variables of the target SCIP
    consmapa hashmap to store the mapping of source constraints to the corresponding target constraints, must not be NULL!
    initialshould the LP relaxation of constraint be in the initial LP?
    separateshould the constraint be separated during LP processing?
    enforceshould the constraint be enforced during node processing?
    checkshould the constraint be checked for feasibility?
    propagateshould the constraint be propagated during node processing?
    localis constraint only valid locally?
    modifiableis constraint modifiable (subject to column generation)?
    dynamicis constraint subject to aging?
    removableshould the relaxation be removed from the LP due to aging or cleanup?
    stickingatnodeshould the constraint always be kept at the node where it was added, even if it may be moved to a more global node?
    globalcreate a global or a local copy?
    validpointer to store whether the copying was valid or not

    Definition at line 6172 of file cons.c.

    References FALSE, NULL, SCIP_CALL, SCIP_OKAY, and separate().

    Referenced by SCIPgetConsCopy().

    ◆ SCIPconsParse()

    SCIP_RETCODE SCIPconsParse ( SCIP_CONS **  cons,
    SCIP_SET set,
    SCIP_MESSAGEHDLR messagehdlr,
    const char *  str,
    SCIP_Bool  initial,
    SCIP_Bool  separate,
    SCIP_Bool  enforce,
    SCIP_Bool  check,
    SCIP_Bool  propagate,
    SCIP_Bool  local,
    SCIP_Bool  modifiable,
    SCIP_Bool  dynamic,
    SCIP_Bool  removable,
    SCIP_Bool  stickingatnode,
    SCIP_Bool success 
    )

    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.

    Warning
    If a constraint is marked to be checked for feasibility but not to be enforced, an LP or pseudo solution may be declared feasible even if it violates this particular constraint. This constellation should only be used, if no LP or pseudo solution can violate the constraint – e.g. if a local constraint is redundant due to the variable's local bounds.
    Parameters
    conspointer to constraint
    setglobal SCIP settings
    messagehdlrmessage handler of target SCIP
    strstring to parse for constraint
    initialshould the LP relaxation of constraint be in the initial LP? Usually set to TRUE. Set to FALSE for 'lazy constraints'.
    separateshould the constraint be separated during LP processing? Usually set to TRUE.
    enforceshould the constraint be enforced during node processing? TRUE for model constraints, FALSE for additional, redundant constraints.
    checkshould the constraint be checked for feasibility? TRUE for model constraints, FALSE for additional, redundant constraints.
    propagateshould the constraint be propagated during node processing? Usually set to TRUE.
    localis constraint only valid locally? Usually set to FALSE. Has to be set to TRUE, e.g., for branching constraints.
    modifiableis constraint modifiable (subject to column generation)? Usually set to FALSE. In column generation applications, set to TRUE if pricing adds coefficients to this constraint.
    dynamicis constraint subject to aging? Usually set to FALSE. Set to TRUE for own cuts which are separated as constraints.
    removableshould the relaxation be removed from the LP due to aging or cleanup? Usually set to FALSE. Set to TRUE for 'lazy constraints' and 'user cuts'.
    stickingatnodeshould the constraint always be kept at the node where it was added, even if it may be moved to a more global node? Usually set to FALSE. Set to TRUE to for constraints that represent node data.
    successpointer store if the paring process was successful

    Definition at line 6228 of file cons.c.

    References FALSE, NULL, SCIP_CALL, SCIP_MAXSTRLEN, SCIP_OKAY, SCIPmessagePrintWarning(), SCIPsetDebugMsg, SCIPsetFindConshdlr(), SCIPskipSpace(), SCIPstrCopySection(), and separate().

    Referenced by SCIPparseCons().

    ◆ SCIPconsChgName()

    SCIP_RETCODE SCIPconsChgName ( SCIP_CONS cons,
    BMS_BLKMEM blkmem,
    const char *  name 
    )

    change name of given constraint

    Parameters
    consproblem constraint
    blkmemblock memory buffer
    namenew name of constraint

    Definition at line 6351 of file cons.c.

    References BMSduplicateBlockMemoryArray, BMSfreeBlockMemoryArray, SCIP_Cons::name, NULL, SCIP_ALLOC, and SCIP_OKAY.

    Referenced by SCIPchgConsName().

    ◆ SCIPconsFree()

    SCIP_RETCODE SCIPconsFree ( SCIP_CONS **  cons,
    BMS_BLKMEM blkmem,
    SCIP_SET set 
    )

    frees a constraint and removes it from the conss array of its constraint handler

    Parameters
    consconstraint to free
    blkmemblock memory buffer
    setglobal SCIP settings

    Definition at line 6371 of file cons.c.

    References BMSfreeBlockMemory, BMSfreeBlockMemoryArray, checkConssArrays, SCIP_Cons::consdata, conshdlrDelCons(), NULL, SCIP_CALL, SCIP_OKAY, and SCIPsetDebugMsg.

    Referenced by SCIPconsRelease().

    ◆ SCIPconsCapture()

    ◆ SCIPconsRelease()

    ◆ SCIPconsPrint()

    SCIP_RETCODE SCIPconsPrint ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_MESSAGEHDLR messagehdlr,
    FILE *  file 
    )

    outputs constraint information to file stream

    Parameters
    consconstraint to print
    setglobal SCIP settings
    messagehdlrmessage handler
    fileoutput file (or NULL for standard output)

    Definition at line 6479 of file cons.c.

    References SCIP_Cons::conshdlr, SCIP_Cons::name, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_CALL, SCIP_OKAY, and SCIPmessageFPrintInfo().

    Referenced by SCIPprintCons().

    ◆ SCIPconsCheck()

    SCIP_RETCODE SCIPconsCheck ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_SOL sol,
    SCIP_Bool  checkintegrality,
    SCIP_Bool  checklprows,
    SCIP_Bool  printreason,
    SCIP_RESULT result 
    )

    checks single constraint for feasibility of the given solution

    Parameters
    consconstraint to check
    setglobal SCIP settings
    solprimal CIP solution
    checkintegralityHas integrality to be checked?
    checklprowsDo constraints represented by rows in the current LP have to be checked?
    printreasonShould the reason for the violation be printed?
    resultpointer to store the result of the callback method

    Definition at line 7599 of file cons.c.

    References SCIP_Cons::conshdlr, FALSE, SCIP_Cons::name, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_CALL, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_INVALIDRESULT, SCIP_OKAY, SCIPerrorMessage, and SCIPsetDebugMsg.

    Referenced by checkSolOrig(), checkSolOrigExact(), SCIPcheckCons(), and SCIPsolCheckOrig().

    ◆ SCIPconsEnfops()

    SCIP_RETCODE SCIPconsEnfops ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_Bool  solinfeasible,
    SCIP_Bool  objinfeasible,
    SCIP_RESULT result 
    )

    enforces single constraint for a given pseudo solution

    Parameters
    consconstraint to enforce
    setglobal SCIP settings
    solinfeasiblewas the solution already declared infeasible by a constraint handler?
    objinfeasibleis the solution infeasible anyway due to violating lower objective bound?
    resultpointer to store the result of the callback method

    Definition at line 7637 of file cons.c.

    References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_BRANCHED, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DIDNOTRUN, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SOLVELP, SCIPerrorMessage, and SCIPsetDebugMsg.

    Referenced by SCIPenfopsCons().

    ◆ SCIPconsEnfolp()

    SCIP_RETCODE SCIPconsEnfolp ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_Bool  solinfeasible,
    SCIP_RESULT result 
    )

    enforces single constraint for a given LP solution

    Parameters
    consconstraint to enforce
    setglobal SCIP settings
    solinfeasiblewas the solution already declared infeasible by a constraint handler?
    resultpointer to store the result of the callback method

    Definition at line 7681 of file cons.c.

    References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_BRANCHED, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_FEASIBLE, SCIP_INFEASIBLE, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SEPARATED, SCIPerrorMessage, and SCIPsetDebugMsg.

    Referenced by SCIPenfolpCons().

    ◆ SCIPconsEnforelax()

    SCIP_RETCODE SCIPconsEnforelax ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_SOL sol,
    SCIP_Bool  solinfeasible,
    SCIP_RESULT result 
    )

    enforces single constraint for a given relaxation solution

    Parameters
    consconstraint to enforce
    setglobal SCIP settings
    solsolution to be enforced
    solinfeasiblewas the solution already declared infeasible by a constraint handler?
    resultpointer to store the result of the callback method

    Definition at line 7723 of file cons.c.

    References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::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 SCIPenforelaxCons().

    ◆ SCIPconsInitlp()

    SCIP_RETCODE SCIPconsInitlp ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_Bool infeasible 
    )

    calls LP initialization method for single constraint

    Parameters
    consconstraint to initialize
    setglobal SCIP settings
    infeasiblepointer to store whether infeasibility was detected while building the LP

    Definition at line 7767 of file cons.c.

    References SCIP_Cons::conshdlr, NULL, SCIP_Cons::scip, SCIP_CALL, and SCIP_OKAY.

    Referenced by SCIPinitlpCons().

    ◆ SCIPconsSepalp()

    SCIP_RETCODE SCIPconsSepalp ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_RESULT result 
    )

    calls separation method of single constraint for LP solution

    Parameters
    consconstraint to separate
    setglobal SCIP settings
    resultpointer to store the result of the separation call

    Definition at line 7793 of file cons.c.

    References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_NEWROUND, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SEPARATED, SCIPerrorMessage, and SCIPsetDebugMsg.

    Referenced by SCIPsepalpCons().

    ◆ SCIPconsSepasol()

    SCIP_RETCODE SCIPconsSepasol ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_SOL sol,
    SCIP_RESULT result 
    )

    calls separation method of single constraint for given primal solution

    Parameters
    consconstraint to separate
    setglobal SCIP settings
    solprimal solution that should be separated
    resultpointer to store the result of the separation call

    Definition at line 7834 of file cons.c.

    References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_NEWROUND, SCIP_OKAY, SCIP_REDUCEDDOM, SCIP_SEPARATED, SCIPerrorMessage, and SCIPsetDebugMsg.

    Referenced by SCIPsepasolCons().

    ◆ SCIPconsProp()

    SCIP_RETCODE SCIPconsProp ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_PROPTIMING  proptiming,
    SCIP_RESULT result 
    )

    calls domain propagation method of single constraint

    Parameters
    consconstraint to propagate
    setglobal SCIP settings
    proptimingcurrent point in the node solving loop
    resultpointer to store the result of the callback method

    Definition at line 7877 of file cons.c.

    References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_CALL, SCIP_CONSADDED, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_REDUCEDDOM, SCIPerrorMessage, and SCIPsetDebugMsg.

    Referenced by SCIPpropCons().

    ◆ SCIPconsResprop()

    SCIP_RETCODE SCIPconsResprop ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_VAR infervar,
    int  inferinfo,
    SCIP_BOUNDTYPE  boundtype,
    SCIP_BDCHGIDX bdchgidx,
    SCIP_Real  relaxedbd,
    SCIP_RESULT result 
    )

    resolves propagation conflict of single constraint

    Parameters
    consconstraint to resolve conflict for
    setglobal SCIP settings
    infervarthe conflict variable whose bound change has to be resolved
    inferinfothe user information passed to the corresponding SCIPinferVarLbCons() or SCIPinferVarUbCons() call
    boundtypethe type of the changed bound (lower or upper bound)
    bdchgidxthe index of the bound change, representing the point of time where the change took place
    relaxedbdthe relaxed bound which is sufficient to be explained
    resultpointer to store the result of the callback method

    Definition at line 7917 of file cons.c.

    References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_SUCCESS, SCIPerrorMessage, and SCIPsetDebugMsg.

    Referenced by SCIPrespropCons().

    ◆ SCIPconsPresol()

    SCIP_RETCODE SCIPconsPresol ( SCIP_CONS cons,
    SCIP_SET set,
    int  nrounds,
    SCIP_PRESOLTIMING  timing,
    int  nnewfixedvars,
    int  nnewaggrvars,
    int  nnewchgvartypes,
    int  nnewchgbds,
    int  nnewholes,
    int  nnewdelconss,
    int  nnewaddconss,
    int  nnewupgdconss,
    int  nnewchgcoefs,
    int  nnewchgsides,
    int *  nfixedvars,
    int *  naggrvars,
    int *  nchgvartypes,
    int *  nchgbds,
    int *  naddholes,
    int *  ndelconss,
    int *  naddconss,
    int *  nupgdconss,
    int *  nchgcoefs,
    int *  nchgsides,
    SCIP_RESULT result 
    )

    presolves single constraint

    Parameters
    consconstraint to presolve
    setglobal SCIP settings
    nroundsnumber of presolving rounds already done
    timingcurrent presolving timing
    nnewfixedvarsnumber of variables fixed since the last call to the presolving method
    nnewaggrvarsnumber of variables aggregated since the last call to the presolving method
    nnewchgvartypesnumber of variable type changes since the last call to the presolving method
    nnewchgbdsnumber of variable bounds tightened since the last call to the presolving method
    nnewholesnumber of domain holes added since the last call to the presolving method
    nnewdelconssnumber of deleted constraints since the last call to the presolving method
    nnewaddconssnumber of added constraints since the last call to the presolving method
    nnewupgdconssnumber of upgraded constraints since the last call to the presolving method
    nnewchgcoefsnumber of changed coefficients since the last call to the presolving method
    nnewchgsidesnumber of changed left or right hand sides since the last call to the presolving method
    nfixedvarspointer to count total number of variables fixed of all presolvers
    naggrvarspointer to count total number of variables aggregated of all presolvers
    nchgvartypespointer to count total number of variable type changes of all presolvers
    nchgbdspointer to count total number of variable bounds tightened of all presolvers
    naddholespointer to count total number of domain holes added of all presolvers
    ndelconsspointer to count total number of deleted constraints of all presolvers
    naddconsspointer to count total number of added constraints of all presolvers
    nupgdconsspointer to count total number of upgraded constraints of all presolvers
    nchgcoefspointer to count total number of changed coefficients of all presolvers
    nchgsidespointer to count total number of changed left/right hand sides of all presolvers
    resultpointer to store the result of the callback method

    Definition at line 7959 of file cons.c.

    References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, NULL, SCIP_Cons::scip, SCIP_CALL, SCIP_CUTOFF, SCIP_DELAYED, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_SUCCESS, SCIP_UNBOUNDED, SCIPerrorMessage, and SCIPsetDebugMsg.

    Referenced by SCIPpresolCons().

    ◆ SCIPconsActive()

    SCIP_RETCODE SCIPconsActive ( SCIP_CONS cons,
    SCIP_SET set 
    )

    calls constraint activation notification method of single constraint

    Parameters
    consconstraint to notify
    setglobal SCIP settings

    Definition at line 8033 of file cons.c.

    References SCIP_Cons::conshdlr, NULL, SCIP_Cons::scip, SCIP_CALL, and SCIP_OKAY.

    Referenced by SCIPactiveCons().

    ◆ SCIPconsDeactive()

    SCIP_RETCODE SCIPconsDeactive ( SCIP_CONS cons,
    SCIP_SET set 
    )

    calls constraint deactivation notification method of single constraint

    Parameters
    consconstraint to notify
    setglobal SCIP settings

    Definition at line 8057 of file cons.c.

    References SCIP_Cons::conshdlr, NULL, SCIP_Cons::scip, SCIP_CALL, and SCIP_OKAY.

    Referenced by SCIPdeactiveCons().

    ◆ SCIPconsGetVars()

    SCIP_RETCODE SCIPconsGetVars ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_VAR **  vars,
    int  varssize,
    SCIP_Bool success 
    )

    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.

    Note
    The success pointer indicates if all variables were copied into the vars arrray.
    It might be that a constraint handler does not support this functionality, in that case the success pointer is set to FALSE.

    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.

    Note
    The success pointer indicates if all variables were copied into the vars arrray.
    It might be that a constraint handler does not support this functionality, in that case the success pointer is set to FALSE.
    Parameters
    consconstraint to get variables for
    setglobal SCIP settings
    varsarray to store the involved variable of the constraint
    varssizeavailable slots in vars array which is needed to check if the array is large enough
    successpointer to store whether the variables are successfully copied

    Definition at line 6518 of file cons.c.

    References SCIP_Cons::conshdlr, FALSE, NULL, SCIP_Cons::scip, SCIP_CALL, and SCIP_OKAY.

    Referenced by SCIPgetConsVars().

    ◆ SCIPconsGetNVars()

    SCIP_RETCODE SCIPconsGetNVars ( SCIP_CONS cons,
    SCIP_SET set,
    int *  nvars,
    SCIP_Bool success 
    )

    method to collect the number of variables of a constraint

    Note
    The success pointer indicates if the contraint handler was able to return the number of variables
    It might be that a constraint handler does not support this functionality, in that case the success pointer is set to FALSE
    Parameters
    consconstraint to get number of variables for
    setglobal SCIP settings
    nvarspointer to store the number of variables
    successpointer to store whether the constraint successfully returned the number of variables

    Definition at line 6554 of file cons.c.

    References SCIP_Cons::conshdlr, FALSE, NULL, SCIP_Cons::scip, SCIP_CALL, and SCIP_OKAY.

    Referenced by calcNonZeros(), delPosDualray(), delPosDualsol(), saveConsBounddisjuction(), saveConsLinear(), SCIPconflictstoreAddDualraycons(), SCIPconflictstoreAddDualsolcons(), SCIPgetConsNVars(), and SCIPgetDualSolVal().

    ◆ SCIPconsGetPermsymGraph()

    SCIP_RETCODE SCIPconsGetPermsymGraph ( SCIP_CONS cons,
    SCIP_SET set,
    SYM_GRAPH graph,
    SCIP_Bool success 
    )

    method to collect the permutation symmetry detection graph of a constraint

    Note
    The success pointer indicates if the contraint handler was able to return the graph.
    If a constraint handler does not support this functionality, the success pointer is set to FALSE.

    method to collect the permutation symmetry detection graph of a constraint

    Note
    The success pointer indicates whether the constraint handler was able to return the graph.
    If a constraint handler does not support this functionality, the success pointer is set to FALSE.
    Parameters
    consconstraint to get graph for
    setglobal SCIP settings
    graphsymmetry detection graph
    successpointer to store whether the constraint successfully returned the graph

    Definition at line 6589 of file cons.c.

    References SCIP_Cons::conshdlr, FALSE, NULL, SCIP_Cons::scip, SCIP_CALL, and SCIP_OKAY.

    Referenced by SCIPgetConsPermsymGraph().

    ◆ SCIPconsGetSignedPermsymGraph()

    SCIP_RETCODE SCIPconsGetSignedPermsymGraph ( SCIP_CONS cons,
    SCIP_SET set,
    SYM_GRAPH graph,
    SCIP_Bool success 
    )

    method to collect the signed permutation symmetry detection graph of a constraint

    Note
    The success pointer indicates whether the constraint handler was able to return the graph.
    If a constraint handler does not support this functionality, the success pointer is set to FALSE.
    Parameters
    consconstraint to get graph for
    setglobal SCIP settings
    graphsymmetry detection graph
    successpointer to store whether the constraint successfully returned the graph

    Definition at line 6622 of file cons.c.

    References SCIP_Cons::conshdlr, FALSE, NULL, SCIP_Cons::scip, SCIP_CALL, and SCIP_OKAY.

    Referenced by SCIPgetConsSignedPermsymGraph().

    ◆ SCIPconsDelete()

    SCIP_RETCODE SCIPconsDelete ( SCIP_CONS cons,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_PROB prob,
    SCIP_REOPT reopt 
    )

    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

    Parameters
    consconstraint to delete
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    probproblem data
    reoptreoptimization data

    Definition at line 6652 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_CALL, SCIP_OKAY, SCIPconsDeactivate(), SCIPprobDelCons(), SCIPreoptConsCanBeDeleted(), SCIPsetDebugMsg, TRUE, SCIP_Cons::updateactivate, and SCIP_Cons::updatedeactivate.

    Referenced by delPosConflict(), delPosDualray(), delPosDualsol(), SCIPconflictstoreAddDualraycons(), SCIPconflictstoreAddDualsolcons(), SCIPconsAddAge(), SCIPconssetchgMakeGlobal(), SCIPdelCons(), SCIPdelConsLocal(), and SCIPdelConsNode().

    ◆ SCIPconsTransform()

    SCIP_RETCODE SCIPconsTransform ( SCIP_CONS origcons,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_CONS **  transcons 
    )

    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

    Parameters
    origconsoriginal constraint
    blkmemblock memory buffer
    setglobal SCIP settings
    transconspointer to store the transformed constraint

    Definition at line 6712 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_CALL, SCIP_OKAY, SCIPconsCapture(), SCIPconsCreate(), SCIP_Cons::separate, SCIP_Cons::stickingatnode, and SCIP_Cons::transorigcons.

    Referenced by SCIPprobTransform(), SCIPtransformCons(), and SCIPtransformConss().

    ◆ SCIPconsSetInitial()

    SCIP_RETCODE SCIPconsSetInitial ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_Bool  initial 
    )

    sets the initial flag of the given constraint

    Parameters
    consconstraint
    setglobal SCIP settings
    statdynamic problem statistics
    initialnew value

    Definition at line 6762 of file cons.c.

    References conshdlrAddInitcons(), conshdlrDelInitcons(), SCIP_Cons::initconsspos, SCIP_Cons::initial, NULL, SCIP_Cons::original, SCIP_Cons::scip, SCIP_CALL, SCIP_OKAY, and SCIPconsGetHdlr().

    Referenced by SCIPsetConsInitial().

    ◆ SCIPconsSetSeparated()

    SCIP_RETCODE SCIPconsSetSeparated ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_Bool  separate 
    )

    sets the separate flag of the given constraint

    Parameters
    consconstraint
    setglobal SCIP settings
    separatenew value

    Definition at line 6796 of file cons.c.

    References SCIP_Cons::conshdlr, conshdlrAddSepacons(), conshdlrDelSepacons(), SCIP_Cons::enabled, NULL, SCIP_Cons::scip, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PROBLEM, SCIPsetGetStage(), SCIP_Cons::sepaenabled, separate(), and SCIP_Cons::separate.

    Referenced by SCIPsetConsSeparated().

    ◆ SCIPconsSetEnforced()

    SCIP_RETCODE SCIPconsSetEnforced ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_Bool  enforce 
    )

    sets the enforce flag of the given constraint

    Parameters
    consconstraint
    setglobal SCIP settings
    enforcenew value

    Definition at line 6831 of file cons.c.

    References SCIP_Cons::conshdlr, conshdlrAddEnfocons(), conshdlrDelEnfocons(), SCIP_Cons::enabled, SCIP_Cons::enforce, NULL, SCIP_Cons::scip, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PROBLEM, and SCIPsetGetStage().

    Referenced by SCIPsetConsEnforced().

    ◆ SCIPconsSetChecked()

    SCIP_RETCODE SCIPconsSetChecked ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_Bool  check 
    )

    sets the check flag of the given constraint

    Parameters
    consconstraint
    setglobal SCIP settings
    checknew value

    Definition at line 6866 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_CALL, SCIP_LOCKTYPE_MODEL, SCIP_OKAY, and SCIPconsAddLocks().

    Referenced by SCIPsetConsChecked().

    ◆ SCIPconsSetPropagated()

    SCIP_RETCODE SCIPconsSetPropagated ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_Bool  propagate 
    )

    sets the propagate flag of the given constraint

    Parameters
    consconstraint
    setglobal SCIP settings
    propagatenew value

    Definition at line 6914 of file cons.c.

    References SCIP_Cons::conshdlr, conshdlrAddPropcons(), conshdlrDelPropcons(), SCIP_Cons::enabled, NULL, SCIP_Cons::propagate, SCIP_Cons::propenabled, SCIP_Cons::scip, SCIP_CALL, SCIP_OKAY, SCIP_STAGE_PROBLEM, and SCIPsetGetStage().

    Referenced by SCIPsetConsPropagated().

    ◆ SCIPconsSetLocal()

    void SCIPconsSetLocal ( SCIP_CONS cons,
    SCIP_Bool  local 
    )

    sets the local flag of the given constraint

    Parameters
    consconstraint
    localnew value

    Definition at line 6949 of file cons.c.

    References SCIP_Cons::local, NULL, and SCIP_Cons::validdepth.

    Referenced by SCIPaddCons(), SCIPaddConsNode(), SCIPprobAddCons(), and SCIPsetConsLocal().

    ◆ SCIPconsSetModifiable()

    void SCIPconsSetModifiable ( SCIP_CONS cons,
    SCIP_Bool  modifiable 
    )

    sets the modifiable flag of the given constraint

    Parameters
    consconstraint
    modifiablenew value

    Definition at line 6962 of file cons.c.

    References SCIP_Cons::modifiable, and NULL.

    Referenced by SCIPcopyConflicts(), SCIPcopyConss(), SCIPcopyOrigConss(), and SCIPsetConsModifiable().

    ◆ SCIPconsSetDynamic()

    void SCIPconsSetDynamic ( SCIP_CONS cons,
    SCIP_Bool  dynamic 
    )

    sets the dynamic flag of the given constraint

    Parameters
    consconstraint
    dynamicnew value

    Definition at line 6973 of file cons.c.

    References SCIP_Cons::dynamic, and NULL.

    Referenced by SCIPsetConsDynamic().

    ◆ SCIPconsSetRemovable()

    void SCIPconsSetRemovable ( SCIP_CONS cons,
    SCIP_Bool  removable 
    )

    sets the removable flag of the given constraint

    Parameters
    consconstraint
    removablenew value

    Definition at line 6984 of file cons.c.

    References NULL, and SCIP_Cons::removable.

    Referenced by SCIPsetConsRemovable().

    ◆ SCIPconsSetStickingAtNode()

    void SCIPconsSetStickingAtNode ( SCIP_CONS cons,
    SCIP_Bool  stickingatnode 
    )

    sets the stickingatnode flag of the given constraint

    Parameters
    consconstraint
    stickingatnodenew value

    Definition at line 6995 of file cons.c.

    References NULL, and SCIP_Cons::stickingatnode.

    Referenced by SCIPsetConsStickingAtNode().

    ◆ SCIPconsSetNamePointer()

    void SCIPconsSetNamePointer ( SCIP_CONS cons,
    const char *  name 
    )

    gives the constraint a new name; ATTENTION: to old pointer is over written that might result in a memory leakage

    Parameters
    consconstraint
    namenew name of constraint

    Definition at line 7007 of file cons.c.

    References SCIP_Cons::name, and NULL.

    Referenced by SCIPreaderWrite().

    ◆ SCIPconsGetTransformed()

    SCIP_CONS * SCIPconsGetTransformed ( SCIP_CONS cons)

    gets associated transformed constraint of an original constraint, or NULL if no associated transformed constraint exists

    Parameters
    consconstraint

    Definition at line 7021 of file cons.c.

    References SCIP_Cons::original, and SCIP_Cons::transorigcons.

    Referenced by SCIPconflictstoreTransform(), SCIPgetDualSolVal(), SCIPgetTransformedCons(), and SCIPgetTransformedConss().

    ◆ SCIPconsActivate()

    SCIP_RETCODE SCIPconsActivate ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_STAT stat,
    int  depth,
    SCIP_Bool  focusnode 
    )

    activates constraint or marks constraint to be activated in next update

    Parameters
    consconstraint
    setglobal SCIP settings
    statdynamic problem statistics
    depthdepth in the tree where the constraint activation takes place, or -1 for global problem
    focusnodedoes the constraint activation take place at the focus node?

    Definition at line 7031 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_CALL, SCIP_OKAY, SCIPsetDebugMsg, 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(), SCIPprobAddCons(), and SCIPreoptResetActiveConss().

    ◆ SCIPconsDeactivate()

    SCIP_RETCODE SCIPconsDeactivate ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_STAT stat 
    )

    ◆ SCIPconsEnable()

    SCIP_RETCODE SCIPconsEnable ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_STAT stat 
    )

    enables constraint's separation, enforcing, and propagation capabilities or marks them to be enabled in next update

    Parameters
    consconstraint
    setglobal SCIP settings
    statdynamic problem statistics

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

    ◆ SCIPconsDisable()

    SCIP_RETCODE SCIPconsDisable ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_STAT stat 
    )

    disables constraint's separation, enforcing, and propagation capabilities or marks them to be disabled in next update

    Parameters
    consconstraint
    setglobal SCIP settings
    statdynamic problem statistics

    Definition at line 7141 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_CALL, SCIP_OKAY, TRUE, SCIP_Cons::update, SCIP_Cons::updateactivate, SCIP_Cons::updatedisable, and SCIP_Cons::updateenable.

    Referenced by SCIPconssetchgApply(), SCIPdisableCons(), and SCIPnodeDelCons().

    ◆ SCIPconsEnableSeparation()

    SCIP_RETCODE SCIPconsEnableSeparation ( SCIP_CONS cons,
    SCIP_SET set 
    )

    enables constraint's separation capabilities or marks them to be enabled in next update

    Parameters
    consconstraint
    setglobal SCIP settings

    Definition at line 7175 of file cons.c.

    References SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrEnableConsSeparation(), FALSE, NULL, SCIP_Cons::scip, SCIP_CALL, SCIP_OKAY, SCIP_Cons::sepaenabled, TRUE, SCIP_Cons::update, SCIP_Cons::updatesepadisable, and SCIP_Cons::updatesepaenable.

    Referenced by SCIPenableConsSeparation().

    ◆ SCIPconsDisableSeparation()

    SCIP_RETCODE SCIPconsDisableSeparation ( SCIP_CONS cons,
    SCIP_SET set 
    )

    disables constraint's separation capabilities or marks them to be disabled in next update

    Parameters
    consconstraint
    setglobal SCIP settings

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

    ◆ SCIPconsEnablePropagation()

    SCIP_RETCODE SCIPconsEnablePropagation ( SCIP_CONS cons,
    SCIP_SET set 
    )

    enables constraint's propagation capabilities or marks them to be enabled in next update

    Parameters
    consconstraint
    setglobal SCIP settings

    Definition at line 7233 of file cons.c.

    References SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrEnableConsPropagation(), FALSE, NULL, SCIP_Cons::propenabled, SCIP_Cons::scip, SCIP_CALL, SCIP_OKAY, TRUE, SCIP_Cons::update, SCIP_Cons::updatepropdisable, and SCIP_Cons::updatepropenable.

    Referenced by SCIPenableConsPropagation().

    ◆ SCIPconsDisablePropagation()

    SCIP_RETCODE SCIPconsDisablePropagation ( SCIP_CONS cons,
    SCIP_SET set 
    )

    disables constraint's propagation capabilities or marks them to be disabled in next update

    Parameters
    consconstraint
    setglobal SCIP settings

    Definition at line 7263 of file cons.c.

    References SCIP_Cons::conshdlr, conshdlrAddUpdateCons(), conshdlrAreUpdatesDelayed(), conshdlrDisableConsPropagation(), FALSE, NULL, SCIP_Cons::propenabled, SCIP_Cons::scip, SCIP_CALL, SCIP_OKAY, TRUE, SCIP_Cons::update, SCIP_Cons::updatepropdisable, and SCIP_Cons::updatepropenable.

    Referenced by SCIPdisableConsPropagation().

    ◆ SCIPconsMarkConflict()

    SCIP_RETCODE SCIPconsMarkConflict ( SCIP_CONS cons)

    marks the constraint to be a conflict

    Parameters
    consconstraint

    Definition at line 7293 of file cons.c.

    References SCIP_Cons::conflict, NULL, SCIP_OKAY, and TRUE.

    Referenced by createAndAddProofcons(), SCIPaddConflict(), SCIPconflictstoreAddConflict(), SCIPconflictstoreAddDualraycons(), SCIPconflictstoreAddDualsolcons(), and SCIPconflictstoreUpgradeConflict().

    ◆ SCIPconsMarkPropagate()

    SCIP_RETCODE SCIPconsMarkPropagate ( SCIP_CONS cons,
    SCIP_SET set 
    )

    ◆ SCIPconsUnmarkPropagate()

    SCIP_RETCODE SCIPconsUnmarkPropagate ( SCIP_CONS cons,
    SCIP_SET set 
    )

    ◆ SCIPconsAddAge()

    SCIP_RETCODE SCIPconsAddAge ( SCIP_CONS cons,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_PROB prob,
    SCIP_Real  deltaage,
    SCIP_REOPT reopt 
    )

    adds given value to age of constraint, but age can never become negative; should be called

    • in constraint separation, if no cut was found for this constraint,
    • in constraint enforcing, if constraint was feasible, and
    • in constraint propagation, if no domain reduction was deduced; if it's age exceeds the constraint age limit, makes constraint obsolete or marks constraint to be made obsolete in next update
    Parameters
    consconstraint
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    probproblem data
    deltaagevalue to add to the constraint's age
    reoptreoptimization data

    Definition at line 7372 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_CALL, SCIP_OKAY, SCIP_STAGE_PRESOLVING, SCIPconsDelete(), SCIPsetDebugMsg, TRUE, SCIP_Cons::update, SCIP_Cons::updateactivate, and SCIP_Cons::updateobsolete.

    Referenced by SCIPaddConsAge(), and SCIPconsIncAge().

    ◆ SCIPconsIncAge()

    SCIP_RETCODE SCIPconsIncAge ( SCIP_CONS cons,
    BMS_BLKMEM blkmem,
    SCIP_SET set,
    SCIP_STAT stat,
    SCIP_PROB prob,
    SCIP_REOPT reopt 
    )

    increases age of constraint by 1.0; should be called

    • in constraint separation, if no cut was found for this constraint,
    • in constraint enforcing, if constraint was feasible, and
    • in constraint propagation, if no domain reduction was deduced; if it's age exceeds the constraint age limit, makes constraint obsolete or marks constraint to be made obsolete in next update
    Parameters
    consconstraint
    blkmemblock memory
    setglobal SCIP settings
    statdynamic problem statistics
    probproblem data
    reoptreoptimization data

    Definition at line 7431 of file cons.c.

    References SCIP_CALL, SCIP_OKAY, and SCIPconsAddAge().

    Referenced by SCIPincConsAge().

    ◆ SCIPconsResetAge()

    SCIP_RETCODE SCIPconsResetAge ( SCIP_CONS cons,
    SCIP_SET set 
    )

    resets age of constraint to zero; should be called

    • in constraint separation, if a cut was found for this constraint,
    • in constraint enforcing, if the constraint was violated, and
    • in constraint propagation, if a domain reduction was deduced; if it was obsolete, makes constraint useful again or marks constraint to be made useful again in next update
    Parameters
    consconstraint
    setglobal SCIP settings

    Definition at line 7452 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_CALL, SCIP_OKAY, SCIPsetDebugMsg, TRUE, SCIP_Cons::update, SCIP_Cons::updateactivate, and SCIP_Cons::updateobsolete.

    Referenced by SCIPprobInitSolve(), and SCIPresetConsAge().

    ◆ SCIPconsResolvePropagation()

    SCIP_RETCODE SCIPconsResolvePropagation ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_VAR infervar,
    int  inferinfo,
    SCIP_BOUNDTYPE  inferboundtype,
    SCIP_BDCHGIDX bdchgidx,
    SCIP_Real  relaxedbd,
    SCIP_RESULT result 
    )

    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();

    Note
    it is sufficient to explain the relaxed bound change
    Parameters
    consconstraint that deduced the assignment
    setglobal SCIP settings
    infervarvariable whose bound was deduced by the constraint
    inferinfouser inference information attached to the bound change
    inferboundtypebound that was deduced (lower or upper bound)
    bdchgidxbound change index, representing the point of time where change took place
    relaxedbdthe relaxed bound
    resultpointer to store the result of the callback method

    Definition at line 7493 of file cons.c.

    References SCIP_Cons::conshdlr, SCIP_Conshdlr::name, SCIP_Conshdlr::nrespropcalls, NULL, SCIP_Conshdlr::resproptime, SCIP_Cons::scip, SCIP_BOUNDTYPE_LOWER, SCIP_BOUNDTYPE_UPPER, SCIP_CALL, SCIP_DIDNOTFIND, SCIP_DIDNOTRUN, SCIP_INVALIDRESULT, SCIP_OKAY, SCIP_PLUGINNOTFOUND, SCIP_SUCCESS, SCIPclockStart(), SCIPclockStop(), SCIPerrorMessage, SCIPgetVarLbAtIndex(), SCIPgetVarUbAtIndex(), SCIPvarGetLbGlobal(), SCIPvarGetUbGlobal(), and TRUE.

    Referenced by conflictResolveBound().

    ◆ SCIPconsAddLocks()

    SCIP_RETCODE SCIPconsAddLocks ( SCIP_CONS cons,
    SCIP_SET set,
    SCIP_LOCKTYPE  locktype,
    int  nlockspos,
    int  nlocksneg 
    )

    adds given values to lock status of the constraint and updates the locks of the given locktype of the involved variables

    Parameters
    consconstraint
    setglobal SCIP settings
    locktypetype of variable locks
    nlocksposincrease in number of rounding locks for constraint
    nlocksnegincrease in number of rounding locks for constraint's negation

    Definition at line 7553 of file cons.c.

    References SCIP_Cons::conshdlr, SCIP_Cons::nlocksneg, SCIP_Cons::nlockspos, NLOCKTYPES, NULL, SCIP_Cons::scip, SCIP_CALL, and SCIP_OKAY.

    Referenced by delPosConflict(), delPosDualray(), delPosDualsol(), SCIPaddConsLocksType(), SCIPconflictstoreAddConflict(), SCIPconflictstoreAddDualraycons(), SCIPconflictstoreAddDualsolcons(), SCIPconflictstoreUpgradeConflict(), SCIPconsSetChecked(), SCIPprobAddCons(), and SCIPprobDelCons().

    ◆ SCIP_DECL_HASHGETKEY()

    SCIP_DECL_HASHGETKEY ( SCIPhashGetKeyCons  )

    gets the key (i.e. the name) of the given constraint

    Definition at line 8087 of file cons.c.

    References SCIP_Cons::name, and NULL.

    ◆ SCIPconshdlrsStorePropagationStatus()

    SCIP_RETCODE SCIPconshdlrsStorePropagationStatus ( SCIP_SET set,
    SCIP_CONSHDLR **  conshdlrs,
    int  nconshdlrs 
    )

    stores all constraints marked for propagation away when probing is started

    Parameters
    setglobal SCIP settings
    conshdlrsall constraint handlers
    nconshdlrsnumber of contraint handlers

    Definition at line 8126 of file cons.c.

    References BMScopyMemoryArray, ensurePropagationStorage(), SCIP_Conshdlr::lastpropdomchgcount, SCIP_Conshdlr::nmarkedpropconss, NULL, SCIP_Conshdlr::propconss, SCIP_CALL, SCIP_OKAY, SCIPconsCapture(), SCIP_Conshdlr::storednmarkedpropconss, SCIP_Conshdlr::storedpropconss, and SCIP_Conshdlr::storedpropdomchgcount.

    Referenced by SCIPtreeStartProbing().

    ◆ SCIPconshdlrsResetPropagationStatus()

    SCIP_RETCODE SCIPconshdlrsResetPropagationStatus ( SCIP_SET set,
    BMS_BLKMEM blkmem,
    SCIP_CONSHDLR **  conshdlrs,
    int  nconshdlrs 
    )

    reset all constraints marked for propagation when probing was finished

    Parameters
    setglobal SCIP settings
    blkmemblock memory
    conshdlrsall constraint handlers
    nconshdlrsnumber of contraint handlers

    Definition at line 8166 of file cons.c.

    References conshdlrAreUpdatesDelayed(), SCIP_Cons::enabled, SCIP_Conshdlr::lastpropdomchgcount, SCIP_Conshdlr::nmarkedpropconss, NULL, SCIP_Conshdlr::nupdateconss, SCIP_Cons::propagate, SCIP_Conshdlr::propconss, SCIP_Cons::propenabled, SCIP_CALL, SCIP_OKAY, SCIPconsMarkPropagate(), SCIPconsRelease(), SCIPconsUnmarkPropagate(), SCIP_Conshdlr::storednmarkedpropconss, SCIP_Conshdlr::storedpropconss, and SCIP_Conshdlr::storedpropdomchgcount.

    Referenced by SCIPtreeEndProbing().