C++ wrapper for expression handlers.
Definition in file objexprhdlr.h.
Go to the source code of this file.
Data Structures | |
| class | scip::ObjExprhdlr |
| C++ wrapper for expression handlers. More... | |
Namespaces | |
| namespace | scip |
Functions | |
| SCIP_RETCODE | SCIPincludeObjExprhdlr (SCIP *scip, scip::ObjExprhdlr *objexprhdlr, SCIP_Bool deleteobject, SCIP_EXPRHDLR **cexprhdlr=0) |
| scip::ObjExprhdlr * | SCIPfindObjExprhdlr (SCIP *scip, const char *name) |
| scip::ObjExprhdlr * | SCIPgetObjExprhdlr (SCIP *scip, SCIP_EXPRHDLR *exprhdlr) |
| SCIP_RETCODE SCIPincludeObjExprhdlr | ( | SCIP * | scip, |
| scip::ObjExprhdlr * | objexprhdlr, | ||
| SCIP_Bool | deleteobject, | ||
| SCIP_EXPRHDLR ** | cexprhdlr ) |
creates the expression handler for the given expression handler object and includes it in SCIP
The method should be called in one of the following ways:
Further, in case 1, the C plugin counterpart for myexprhdlr is stored in cexprhdlr.
creates the expression handler for the given expression handler object and includes it in SCIP
| scip | SCIP data structure |
| objexprhdlr | expression handler object |
| deleteobject | should the expression handler object be deleted when exprhdlr is freed? |
| cexprhdlr | buffer to store C plugin that corresponds to expression handler object, or 0 if not required |
Definition at line 418 of file objexprhdlr.cpp.
References assert(), NULL, scip::ObjExprhdlr::scip_, SCIP_Bool, SCIP_CALL, scip::ObjExprhdlr::scip_desc_, scip::ObjExprhdlr::scip_has_bwdiff_, scip::ObjExprhdlr::scip_has_bwfwdiff_, scip::ObjExprhdlr::scip_has_compare_, scip::ObjExprhdlr::scip_has_copydata_, scip::ObjExprhdlr::scip_has_curvature_, scip::ObjExprhdlr::scip_has_estimate_, scip::ObjExprhdlr::scip_has_freedata_, scip::ObjExprhdlr::scip_has_fwdiff_, scip::ObjExprhdlr::scip_has_getsymdata_, scip::ObjExprhdlr::scip_has_hash_, scip::ObjExprhdlr::scip_has_initestimates_, scip::ObjExprhdlr::scip_has_integrality_, scip::ObjExprhdlr::scip_has_inteval_, scip::ObjExprhdlr::scip_has_monotonicity_, scip::ObjExprhdlr::scip_has_parse_, scip::ObjExprhdlr::scip_has_print_, scip::ObjExprhdlr::scip_has_reverseprop_, scip::ObjExprhdlr::scip_has_simplify_, scip::ObjExprhdlr::scip_name_, SCIP_OKAY, scip::ObjExprhdlr::scip_precedence_, SCIPexprhdlrSetCompare(), SCIPexprhdlrSetCopyFreeData(), SCIPexprhdlrSetCopyFreeHdlr(), SCIPexprhdlrSetCurvature(), SCIPexprhdlrSetDiff(), SCIPexprhdlrSetEstimate(), SCIPexprhdlrSetGetSymdata(), SCIPexprhdlrSetHash(), SCIPexprhdlrSetIntegrality(), SCIPexprhdlrSetIntEval(), SCIPexprhdlrSetMonotonicity(), SCIPexprhdlrSetParse(), SCIPexprhdlrSetPrint(), SCIPexprhdlrSetReverseProp(), SCIPexprhdlrSetSimplify(), and SCIPincludeExprhdlr().
Referenced by SCIP_DECL_EXPRCOPYHDLR().
| scip::ObjExprhdlr * SCIPfindObjExprhdlr | ( | SCIP * | scip, |
| const char * | name ) |
returns the exprhdlr object of the given name, or 0 if not existing
Definition at line 485 of file objexprhdlr.cpp.
References assert(), NULL, SCIPexprhdlrGetData(), and SCIPfindExprhdlr().
| scip::ObjExprhdlr * SCIPgetObjExprhdlr | ( | SCIP * | scip, |
| SCIP_EXPRHDLR * | exprhdlr ) |
returns the exprhdlr object for the given expression handler
Definition at line 504 of file objexprhdlr.cpp.
References assert(), NULL, and SCIPexprhdlrGetData().