All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
objconshdlr.h
Go to the documentation of this file.
21 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
39 * This class defines the interface for constraint handlers implemented in C++. Note that there are pure virtual
40 * functions (these have to be implemented). These functions are: scip_trans(), scip_enfolp(), scip_enfops(),
76 /** default frequency of the constraint handler for eager evaluations in separation, propagation and enforcement */
94 /** positions in the node solving loop where propagation method of constraint handler should be executed */
104 int checkpriority, /**< priority of the constraint handler for checking infeasibility (and propagation) */
105 int sepafreq, /**< frequency for separating cuts; zero means to separate only in the root node */
106 int propfreq, /**< frequency for propagating domains; zero means only preprocessing propagation */
107 int eagerfreq, /**< frequency for using all instead of only the useful constraints in separation,
109 int maxprerounds, /**< maximal number of presolving rounds the constraint handler participates in (-1: no limit) */
110 SCIP_Bool delaysepa, /**< should separation method be delayed, if other separators found cuts? */
111 SCIP_Bool delayprop, /**< should propagation method be delayed, if other propagators found reductions? */
112 SCIP_Bool delaypresol, /**< should presolving method be delayed, if other presolvers found reductions? */
113 SCIP_Bool needscons, /**< should the constraint handler be skipped, if no constraints are available? */
114 unsigned int timingmask /**< positions in the node solving loop where propagation method of constraint handler should be executed */
173 /** presolving initialization method of constraint handler (called when presolving is about to begin)
182 /** presolving deinitialization method of constraint handler (called after presolving has been finished)
191 /** solving process initialization method of constraint handler (called when branch and bound process is about to begin)
200 /** solving process deinitialization method of constraint handler (called before branch and bound process data is freed)
224 /** LP initialization method of constraint handler (called before the initial LP relaxation at a node is solved)
364 fprintf(stdout, "constraint handler <%s> does not support printing constraints\n", SCIPconshdlrGetName(conshdlr));
366 fprintf(file, "constraint handler <%s> does not support printing constraints\n", SCIPconshdlrGetName(conshdlr));
419 /** creates the constraint handler for the given constraint handler object and includes it in SCIP
443 SCIP_Bool deleteobject /**< should the constraint handler object be deleted when conshdlr is freed? */
virtual SCIP_DECL_CONSPARSE(scip_parse) Definition: objconshdlr.h:384 Definition of base class for all clonable classes which define problem data. Definition: type_result.h:33 virtual SCIP_DECL_CONSEXITPRE(scip_exitpre) Definition: objconshdlr.h:186 scip::ObjConshdlr * SCIPgetObjConshdlr(SCIP *scip, SCIP_CONSHDLR *conshdlr) virtual SCIP_DECL_CONSDELVARS(scip_delvars) Definition: objconshdlr.h:352 virtual SCIP_DECL_CONSENABLE(scip_enable) Definition: objconshdlr.h:334 virtual SCIP_DECL_CONSENFOLP(scip_enfolp)=0 virtual SCIP_DECL_CONSINITSOL(scip_initsol) Definition: objconshdlr.h:195 scip::ObjConshdlr * SCIPfindObjConshdlr(SCIP *scip, const char *name) const char * SCIPconshdlrGetName(SCIP_CONSHDLR *conshdlr) virtual SCIP_DECL_CONSRESPROP(scip_resprop) Definition: objconshdlr.h:299 virtual SCIP_DECL_CONSINIT(scip_init) Definition: objconshdlr.h:159 virtual SCIP_DECL_CONSEXIT(scip_exit) Definition: objconshdlr.h:168 virtual SCIP_DECL_CONSPRINT(scip_print) Definition: objconshdlr.h:361 virtual SCIP_DECL_CONSLOCK(scip_lock)=0 Definition: type_result.h:35 virtual SCIP_DECL_CONSPRESOL(scip_presol) Definition: objconshdlr.h:288 virtual SCIP_DECL_CONSSEPALP(scip_sepalp) Definition: objconshdlr.h:237 virtual SCIP_DECL_CONSDISABLE(scip_disable) Definition: objconshdlr.h:343 virtual SCIP_DECL_CONSCHECK(scip_check)=0 Definition: type_retcode.h:33 virtual SCIP_DECL_CONSPROP(scip_prop) Definition: objconshdlr.h:277 virtual SCIP_DECL_CONSTRANS(scip_trans)=0 virtual SCIP_DECL_CONSDELETE(scip_delete) Definition: objconshdlr.h:213 #define SCIPduplicateMemoryArray(scip, ptr, source, num) Definition: scip.h:19173 virtual SCIP_DECL_CONSGETNVARS(scip_getnvars) Definition: objconshdlr.h:405 virtual SCIP_DECL_CONSDEACTIVE(scip_deactive) Definition: objconshdlr.h:325 virtual SCIP_DECL_CONSSEPASOL(scip_sepasol) Definition: objconshdlr.h:248 Definition of base class for all clonable classes which define problem data. Definition: objprobcloneable.h:42 SCIP_RETCODE SCIPincludeObjConshdlr(SCIP *scip, scip::ObjConshdlr *objconshdlr, SCIP_Bool deleteobject) virtual SCIP_DECL_CONSINITPRE(scip_initpre) Definition: objconshdlr.h:177 virtual SCIP_DECL_CONSCOPY(scip_copy) Definition: objconshdlr.h:374 ObjConshdlr(SCIP *scip, 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 delaypresol, SCIP_Bool needscons, unsigned int timingmask) Definition: objconshdlr.h:98 virtual SCIP_DECL_CONSACTIVE(scip_active) Definition: objconshdlr.h:316 virtual SCIP_DECL_CONSGETVARS(scip_getvars) Definition: objconshdlr.h:393 virtual SCIP_DECL_CONSEXITSOL(scip_exitsol) Definition: objconshdlr.h:204 virtual SCIP_DECL_CONSENFOPS(scip_enfops)=0 virtual SCIP_DECL_CONSFREE(scip_free) Definition: objconshdlr.h:150 virtual SCIP_DECL_CONSINITLP(scip_initlp) Definition: objconshdlr.h:228 SCIP callable library. |