C++ wrapper for constraint handlers.
Definition in file objconshdlr.h.
Go to the source code of this file.
Functions | |
SCIP_RETCODE | SCIPincludeObjConshdlr (SCIP *scip, scip::ObjConshdlr *objconshdlr, SCIP_Bool deleteobject) |
scip::ObjConshdlr * | SCIPfindObjConshdlr (SCIP *scip, const char *name) |
scip::ObjConshdlr * | SCIPgetObjConshdlr (SCIP *scip, SCIP_CONSHDLR *conshdlr) |
SCIP_RETCODE SCIPincludeObjConshdlr | ( | SCIP * | scip, |
scip::ObjConshdlr * | objconshdlr, | ||
SCIP_Bool | deleteobject | ||
) |
creates the constraint handler for the given constraint handler object and includes it in SCIP
The method should be called in one of the following ways:
creates the constraint handler for the given constraint handler object and includes it in SCIP
scip | SCIP data structure |
objconshdlr | constraint handler object |
deleteobject | should the constraint handler object be deleted when conshdlr is freed? |
Definition at line 621 of file objconshdlr.cpp.
References scip::ObjConshdlr::scip_, SCIP_CALL, scip::ObjConshdlr::scip_checkpriority_, scip::ObjConshdlr::scip_delayprop_, scip::ObjConshdlr::scip_delaysepa_, scip::ObjConshdlr::scip_desc_, scip::ObjConshdlr::scip_eagerfreq_, scip::ObjConshdlr::scip_enfopriority_, scip::ObjConshdlr::scip_maxprerounds_, scip::ObjConshdlr::scip_name_, scip::ObjConshdlr::scip_needscons_, SCIP_OKAY, scip::ObjConshdlr::scip_presoltiming_, scip::ObjConshdlr::scip_propfreq_, scip::ObjConshdlr::scip_proptiming_, scip::ObjConshdlr::scip_sepafreq_, scip::ObjConshdlr::scip_sepapriority_, and SCIPincludeConshdlr().
Referenced by runSCIP(), scip::ObjConshdlr::SCIP_DECL_CONSGETDIVEBDCHGS(), and SCIP_DECL_CONSHDLRCOPY().
scip::ObjConshdlr* SCIPfindObjConshdlr | ( | SCIP * | scip, |
const char * | name | ||
) |
returns the conshdlr object of the given name, or 0 if not existing
scip | SCIP data structure |
name | name of constraint handler |
Definition at line 660 of file objconshdlr.cpp.
References SCIPconshdlrGetData(), and SCIPfindConshdlr().
Referenced by scip::ObjConshdlr::SCIP_DECL_CONSGETDIVEBDCHGS().
scip::ObjConshdlr* SCIPgetObjConshdlr | ( | SCIP * | scip, |
SCIP_CONSHDLR * | conshdlr | ||
) |
returns the conshdlr object for the given constraint handler
scip | SCIP data structure |
conshdlr | constraint handler |
Definition at line 679 of file objconshdlr.cpp.
References SCIPconshdlrGetData().
Referenced by scip::ObjConshdlr::SCIP_DECL_CONSGETDIVEBDCHGS().