methods for expression handlers
void SCIPexprhdlrSetCopyFreeHdlr | ( | SCIP_EXPRHDLR * | exprhdlr, |
SCIP_DECL_EXPRCOPYHDLR((*copyhdlr)) | ) |
set the expression handler callbacks to copy and free an expression handler
exprhdlr | expression handler |
Definition at line 368 of file expr.c.
References assert(), i, and NULL.
Referenced by SCIPincludeExprhdlrAbs(), SCIPincludeExprhdlrCos(), SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrErf(), SCIPincludeExprhdlrExp(), SCIPincludeExprhdlrLog(), SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSin(), SCIPincludeExprhdlrSum(), SCIPincludeExprhdlrValue(), SCIPincludeExprhdlrVar(), and SCIPincludeExprhdlrVaridx().
void SCIPexprhdlrSetCopyFreeData | ( | SCIP_EXPRHDLR * | exprhdlr, |
SCIP_DECL_EXPRCOPYDATA((*copydata)) | ) |
set the expression handler callbacks to copy and free expression data
exprhdlr | expression handler |
Definition at line 381 of file expr.c.
References assert(), i, and NULL.
Referenced by SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrExp(), SCIPincludeExprhdlrLog(), SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSum(), SCIPincludeExprhdlrValue(), SCIPincludeExprhdlrVar(), and SCIPincludeExprhdlrVaridx().
void SCIPexprhdlrSetPrint | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
set the print callback of an expression handler
exprhdlr | expression handler print callback (can be NULL) |
Definition at line 394 of file expr.c.
References assert(), i, and NULL.
Referenced by SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSum(), SCIPincludeExprhdlrValue(), SCIPincludeExprhdlrVar(), and SCIPincludeExprhdlrVaridx().
void SCIPexprhdlrSetParse | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
set the parse callback of an expression handler
exprhdlr | expression handler parse callback (can be NULL) |
Definition at line 405 of file expr.c.
References assert(), i, and NULL.
Referenced by SCIPincludeExprhdlrAbs(), SCIPincludeExprhdlrCos(), SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrErf(), SCIPincludeExprhdlrExp(), SCIPincludeExprhdlrLog(), SCIPincludeExprhdlrSignpower(), and SCIPincludeExprhdlrSin().
void SCIPexprhdlrSetCurvature | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
set the curvature detection callback of an expression handler
exprhdlr | expression handler curvature detection callback (can be NULL) |
Definition at line 416 of file expr.c.
References assert(), and NULL.
Referenced by SCIPincludeExprhdlrAbs(), SCIPincludeExprhdlrCos(), SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrErf(), SCIPincludeExprhdlrExp(), SCIPincludeExprhdlrLog(), SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSin(), SCIPincludeExprhdlrSum(), SCIPincludeExprhdlrValue(), SCIPincludeExprhdlrVar(), and SCIPincludeExprhdlrVaridx().
void SCIPexprhdlrSetMonotonicity | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
set the monotonicity detection callback of an expression handler
exprhdlr | expression handler monotonicity detection callback (can be NULL) |
Definition at line 427 of file expr.c.
References assert(), and NULL.
Referenced by SCIPincludeExprhdlrAbs(), SCIPincludeExprhdlrCos(), SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrErf(), SCIPincludeExprhdlrExp(), SCIPincludeExprhdlrLog(), SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSin(), SCIPincludeExprhdlrSum(), SCIPincludeExprhdlrValue(), SCIPincludeExprhdlrVar(), and SCIPincludeExprhdlrVaridx().
void SCIPexprhdlrSetIntegrality | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
set the integrality detection callback of an expression handler
exprhdlr | expression handler integrality detection callback (can be NULL) |
Definition at line 438 of file expr.c.
References assert(), i, and NULL.
Referenced by SCIPincludeExprhdlrAbs(), SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrErf(), SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSum(), SCIPincludeExprhdlrValue(), and SCIPincludeExprhdlrVar().
void SCIPexprhdlrSetHash | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
set the hash callback of an expression handler
exprhdlr | expression handler hash callback (can be NULL) |
Definition at line 449 of file expr.c.
References assert(), i, and NULL.
Referenced by SCIPincludeExprhdlrAbs(), SCIPincludeExprhdlrCos(), SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrErf(), SCIPincludeExprhdlrExp(), SCIPincludeExprhdlrLog(), SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSin(), SCIPincludeExprhdlrSum(), SCIPincludeExprhdlrValue(), SCIPincludeExprhdlrVar(), and SCIPincludeExprhdlrVaridx().
void SCIPexprhdlrSetCompare | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
set the compare callback of an expression handler
exprhdlr | expression handler compare callback (can be NULL) |
Definition at line 460 of file expr.c.
References assert(), and NULL.
Referenced by SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSum(), SCIPincludeExprhdlrValue(), SCIPincludeExprhdlrVar(), and SCIPincludeExprhdlrVaridx().
void SCIPexprhdlrSetDiff | ( | SCIP_EXPRHDLR * | exprhdlr, |
SCIP_DECL_EXPRBWDIFF((*bwdiff)) | , | ||
SCIP_DECL_EXPRFWDIFF((*fwdiff)) | ) |
set differentiation callbacks of an expression handler
exprhdlr | expression handler |
Definition at line 471 of file expr.c.
References assert(), i, and NULL.
Referenced by SCIPincludeExprhdlrAbs(), SCIPincludeExprhdlrCos(), SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrErf(), SCIPincludeExprhdlrExp(), SCIPincludeExprhdlrLog(), SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSin(), SCIPincludeExprhdlrSum(), SCIPincludeExprhdlrValue(), SCIPincludeExprhdlrVar(), and SCIPincludeExprhdlrVaridx().
void SCIPexprhdlrSetIntEval | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
set the interval evaluation callback of an expression handler
exprhdlr | expression handler interval evaluation callback (can be NULL) |
Definition at line 486 of file expr.c.
References assert(), i, and NULL.
Referenced by SCIPincludeExprhdlrAbs(), SCIPincludeExprhdlrCos(), SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrErf(), SCIPincludeExprhdlrExp(), SCIPincludeExprhdlrLog(), SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSin(), SCIPincludeExprhdlrSum(), SCIPincludeExprhdlrValue(), and SCIPincludeExprhdlrVar().
void SCIPexprhdlrSetSimplify | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
set the simplify callback of an expression handler
exprhdlr | expression handler simplify callback (can be NULL) |
Definition at line 497 of file expr.c.
References assert(), i, and NULL.
Referenced by SCIPincludeExprhdlrAbs(), SCIPincludeExprhdlrCos(), SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrErf(), SCIPincludeExprhdlrExp(), SCIPincludeExprhdlrLog(), SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSin(), SCIPincludeExprhdlrSum(), and SCIPincludeExprhdlrVar().
void SCIPexprhdlrSetReverseProp | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
set the reverse propagation callback of an expression handler
exprhdlr | expression handler reverse propagation callback (can be NULL) |
Definition at line 508 of file expr.c.
References assert(), i, and NULL.
Referenced by SCIPincludeExprhdlrAbs(), SCIPincludeExprhdlrCos(), SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrExp(), SCIPincludeExprhdlrLog(), SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSin(), and SCIPincludeExprhdlrSum().
void SCIPexprhdlrSetEstimate | ( | SCIP_EXPRHDLR * | exprhdlr, |
SCIP_DECL_EXPRINITESTIMATES((*initestimates)) | ) |
set the estimation callbacks of an expression handler
exprhdlr | expression handler |
Definition at line 519 of file expr.c.
References assert(), i, and NULL.
Referenced by SCIPincludeExprhdlrAbs(), SCIPincludeExprhdlrCos(), SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrExp(), SCIPincludeExprhdlrLog(), SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSin(), and SCIPincludeExprhdlrSum().
const char * SCIPexprhdlrGetName | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gives the name of an expression handler
exprhdlr | expression handler |
Definition at line 532 of file expr.c.
References assert(), SCIP_Exprhdlr::name, and NULL.
Referenced by addTightEstimatorCut(), computeEstimatorsTrig(), computeInitialCutsTrig(), createAuxVar(), DECL_CURVCHECK(), detectNlhdlr(), enforceExpr(), enforceSP11(), eval(), exprIsNonSmooth(), forwardPropExpr(), reversePropQueue(), SCIP_DECL_DIALOGEXEC(), SCIP_DECL_EXPRBWDIFF(), SCIP_DECL_EXPRBWDIFF(), SCIP_DECL_EXPRBWDIFF(), SCIP_DECL_EXPRBWDIFF(), SCIP_DECL_EXPRBWDIFF(), SCIP_DECL_EXPRBWFWDIFF(), SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_EXPRFWDIFF(), SCIP_DECL_EXPRINITESTIMATES(), SCIP_DECL_EXPRINITESTIMATES(), SCIP_DECL_EXPRINITESTIMATES(), SCIP_DECL_EXPRINITESTIMATES(), SCIP_DECL_EXPRINITESTIMATES(), SCIP_DECL_EXPRINITESTIMATES(), SCIP_DECL_EXPRINITESTIMATES(), SCIP_DECL_HASHKEYVAL(), SCIP_DECL_HASHKEYVAL(), SCIP_DECL_HASHKEYVAL(), SCIP_DECL_NLHDLRESTIMATE(), SCIP_DECL_NLHDLRINITSEPA(), SCIPexprCompare(), SCIPexprhdlrCopyInclude(), SCIPexprhdlrParseExpr(), SCIPexprhdlrPrintExpr(), SCIPexprintCompile(), SCIPgetIndexExprVaridx(), SCIPgetVarExprVar(), SCIPisExprAbs(), SCIPisExprCos(), SCIPisExprEntropy(), SCIPisExprErf(), SCIPisExprExp(), SCIPisExprLog(), SCIPisExprSignpower(), SCIPisExprSin(), SCIPisExprVaridx(), SCIPprintExpressionHandlerStatistics(), SCIPsetIndexExprVaridx(), and SCIPtightenExprIntervalNonlinear().
const char * SCIPexprhdlrGetDescription | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gives the description of an expression handler (can be NULL)
exprhdlr | expression handler |
Definition at line 542 of file expr.c.
References assert(), SCIP_Exprhdlr::desc, and NULL.
Referenced by SCIP_DECL_DIALOGEXEC().
unsigned int SCIPexprhdlrGetPrecedence | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gives the precedence of an expression handler
exprhdlr | expression handler |
Definition at line 552 of file expr.c.
References assert(), NULL, and SCIP_Exprhdlr::precedence.
Referenced by printExpr(), SCIP_DECL_DIALOGEXEC(), and SCIPexprPrint().
SCIP_EXPRHDLRDATA * SCIPexprhdlrGetData | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gives the data of an expression handler
exprhdlr | expression handler |
Definition at line 562 of file expr.c.
References assert(), SCIP_Exprhdlr::data, and NULL.
Referenced by SCIP_DECL_EXPRESTIMATE(), SCIP_DECL_EXPRINITESTIMATES(), SCIP_DECL_EXPRINTEVAL(), SCIP_DECL_EXPRINTEVAL(), SCIP_DECL_EXPRREVERSEPROP(), and SCIP_DECL_EXPRREVERSEPROP().
SCIP_Bool SCIPexprhdlrHasPrint | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
returns whether expression handler implements the print callback
exprhdlr | expression handler |
Definition at line 572 of file expr.c.
References assert(), and NULL.
Referenced by SCIPexprhdlrPrintExpr().
SCIP_Bool SCIPexprhdlrHasBwdiff | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
returns whether expression handler implements the backward differentiation callback
exprhdlr | expression handler |
Definition at line 582 of file expr.c.
References assert(), and NULL.
Referenced by constructExpr().
SCIP_Bool SCIPexprhdlrHasFwdiff | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
returns whether expression handler implements the forward differentiation callback
exprhdlr | expression handler |
Definition at line 592 of file expr.c.
References assert(), and NULL.
Referenced by SCIPexprintCompile().
SCIP_Bool SCIPexprhdlrHasIntEval | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
returns whether expression handler implements the interval evaluation callback
exprhdlr | expression handler |
Definition at line 602 of file expr.c.
References assert(), and NULL.
Referenced by SCIP_DECL_NLHDLRDETECT().
SCIP_Bool SCIPexprhdlrHasEstimate | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
returns whether expression handler implements the estimator callback
exprhdlr | expression handler |
Definition at line 612 of file expr.c.
References assert(), and NULL.
Referenced by SCIP_DECL_NLHDLRDETECT().
SCIP_Bool SCIPexprhdlrHasInitEstimates | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
returns whether expression handler implements the initial estimators callback
exprhdlr | expression handler |
Definition at line 622 of file expr.c.
References assert(), and NULL.
Referenced by SCIP_DECL_NLHDLRINITSEPA().
SCIP_Bool SCIPexprhdlrHasSimplify | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
SCIP_Bool SCIPexprhdlrHasCurvature | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
returns whether expression handler implements the curvature callback
exprhdlr | expression handler |
Definition at line 642 of file expr.c.
References assert(), and NULL.
Referenced by SCIPcomputeExprCurvature().
SCIP_Bool SCIPexprhdlrHasMonotonicity | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
returns whether expression handler implements the monotonicity callback
exprhdlr | expression handler |
Definition at line 652 of file expr.c.
References assert(), and NULL.
Referenced by propagateLocks().
SCIP_Bool SCIPexprhdlrHasReverseProp | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
returns whether expression handler implements the reverse propagation callback
exprhdlr | expression handler |
Definition at line 662 of file expr.c.
References assert(), and NULL.
Referenced by reversePropQueue(), and SCIP_DECL_NLHDLRDETECT().
SCIP_DECL_SORTPTRCOMP | ( | SCIPexprhdlrComp | ) |
unsigned int SCIPexprhdlrGetNCreated | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets number of times an expression has been created with given expression handler
exprhdlr | expression handler |
Definition at line 678 of file expr.c.
References assert(), SCIP_Exprhdlr::ncreated, and NULL.
Referenced by SCIPprintExpressionHandlerStatistics().
SCIP_Longint SCIPexprhdlrGetNIntevalCalls | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets number of times the interval evaluation callback was called
exprhdlr | expression handler |
Definition at line 688 of file expr.c.
References assert(), SCIP_Exprhdlr::nintevalcalls, and NULL.
Referenced by SCIPprintExpressionHandlerStatistics().
SCIP_Real SCIPexprhdlrGetIntevalTime | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets time spend in interval evaluation callback
exprhdlr | expression handler |
Definition at line 698 of file expr.c.
References assert(), SCIP_Exprhdlr::intevaltime, NULL, and SCIPclockGetTime().
Referenced by SCIPprintExpressionHandlerStatistics().
SCIP_Longint SCIPexprhdlrGetNReversepropCalls | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets number of times the reverse propagation callback was called
exprhdlr | expression handler |
Definition at line 708 of file expr.c.
References assert(), SCIP_Exprhdlr::npropcalls, and NULL.
Referenced by SCIPprintExpressionHandlerStatistics().
SCIP_Real SCIPexprhdlrGetReversepropTime | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets time spend in reverse propagation callback
exprhdlr | expression handler |
Definition at line 718 of file expr.c.
References assert(), NULL, SCIP_Exprhdlr::proptime, and SCIPclockGetTime().
Referenced by SCIPprintExpressionHandlerStatistics().
SCIP_Longint SCIPexprhdlrGetNCutoffs | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets number of times an empty interval was found in reverse propagation
exprhdlr | expression handler |
Definition at line 728 of file expr.c.
References assert(), SCIP_Exprhdlr::ncutoffs, and NULL.
Referenced by SCIPprintExpressionHandlerStatistics().
SCIP_Longint SCIPexprhdlrGetNDomainReductions | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets number of times a bound reduction was found in reverse propagation (and accepted by caller)
exprhdlr | expression handler |
Definition at line 738 of file expr.c.
References assert(), SCIP_Exprhdlr::ndomreds, and NULL.
Referenced by SCIPprintExpressionHandlerStatistics().
void SCIPexprhdlrIncrementNDomainReductions | ( | SCIP_EXPRHDLR * | exprhdlr, |
int | nreductions ) |
increments the domain reductions count of an expression handler
exprhdlr | expression handler |
nreductions | number of reductions to add to counter |
Definition at line 748 of file expr.c.
References assert(), SCIP_Exprhdlr::ndomreds, and NULL.
Referenced by SCIP_DECL_NLHDLRREVERSEPROP().
SCIP_Longint SCIPexprhdlrGetNEstimateCalls | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets number of times the estimation callback was called
exprhdlr | expression handler |
Definition at line 760 of file expr.c.
References assert(), SCIP_Exprhdlr::nestimatecalls, and NULL.
Referenced by SCIPprintExpressionHandlerStatistics().
SCIP_Real SCIPexprhdlrGetEstimateTime | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets time spend in estimation callback
exprhdlr | expression handler |
Definition at line 770 of file expr.c.
References assert(), SCIP_Exprhdlr::estimatetime, NULL, and SCIPclockGetTime().
Referenced by SCIPprintExpressionHandlerStatistics().
SCIP_Longint SCIPexprhdlrGetNBranchings | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets number of times branching candidates reported by of this expression handler were used to assemble branching candidates
that is, how often did we consider branching on a child of this expression
exprhdlr | expression handler |
Definition at line 784 of file expr.c.
References assert(), SCIP_Exprhdlr::nbranchscores, and NULL.
Referenced by SCIPprintExpressionHandlerStatistics().
void SCIPexprhdlrIncrementNBranchings | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
increments the branching candidates count of an expression handler
exprhdlr | expression handler |
Definition at line 794 of file expr.c.
References assert(), SCIP_Exprhdlr::nbranchscores, and NULL.
Referenced by SCIP_DECL_NLHDLRESTIMATE().
SCIP_Longint SCIPexprhdlrGetNSimplifyCalls | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets number of times the simplify callback was called
exprhdlr | expression handler |
Definition at line 804 of file expr.c.
References assert(), SCIP_Exprhdlr::nsimplifycalls, and NULL.
Referenced by SCIPprintExpressionHandlerStatistics().
SCIP_Real SCIPexprhdlrGetSimplifyTime | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets time spend in simplify callback
exprhdlr | expression handler |
Definition at line 814 of file expr.c.
References assert(), NULL, SCIPclockGetTime(), and SCIP_Exprhdlr::simplifytime.
Referenced by SCIPprintExpressionHandlerStatistics().
SCIP_Longint SCIPexprhdlrGetNSimplifications | ( | SCIP_EXPRHDLR * | exprhdlr | ) |
gets number of times the simplify callback found a simplification
exprhdlr | expression handler |
Definition at line 824 of file expr.c.
References assert(), SCIP_Exprhdlr::nsimplified, and NULL.
Referenced by SCIPprintExpressionHandlerStatistics().
SCIP_RETCODE SCIPincludeExprhdlr | ( | SCIP * | scip, |
SCIP_EXPRHDLR ** | exprhdlr, | ||
const char * | name, | ||
const char * | desc, | ||
unsigned int | precedence, | ||
SCIP_DECL_EXPREVAL((*eval)) | , | ||
SCIP_EXPRHDLRDATA * | data ) |
creates the handler for an expression handler and includes it into SCIP
scip | SCIP data structure |
exprhdlr | buffer where to store created expression handler |
name | name of expression handler (must not be NULL) |
desc | description of expression handler (can be NULL) |
precedence | precedence of expression operation (used for printing) |
data | data of expression handler (can be NULL) |
Definition at line 814 of file scip_expr.c.
References assert(), eval(), NULL, SCIP_CALL, SCIP_OKAY, SCIPexprhdlrCreate(), and SCIPsetIncludeExprhdlr().
Referenced by SCIPincludeExprhdlrAbs(), SCIPincludeExprhdlrCos(), SCIPincludeExprhdlrEntropy(), SCIPincludeExprhdlrErf(), SCIPincludeExprhdlrExp(), SCIPincludeExprhdlrLog(), SCIPincludeExprhdlrPow(), SCIPincludeExprhdlrProduct(), SCIPincludeExprhdlrSignpower(), SCIPincludeExprhdlrSin(), SCIPincludeExprhdlrSum(), SCIPincludeExprhdlrValue(), SCIPincludeExprhdlrVar(), and SCIPincludeExprhdlrVaridx().
SCIP_EXPRHDLR ** SCIPgetExprhdlrs | ( | SCIP * | scip | ) |
gives expression handlers
scip | SCIP data structure |
Definition at line 837 of file scip_expr.c.
References assert(), and NULL.
Referenced by SCIP_DECL_DIALOGEXEC().
int SCIPgetNExprhdlrs | ( | SCIP * | scip | ) |
gives number of expression handlers
scip | SCIP data structure |
Definition at line 848 of file scip_expr.c.
References assert(), and NULL.
Referenced by SCIP_DECL_DIALOGEXEC().
SCIP_EXPRHDLR * SCIPfindExprhdlr | ( | SCIP * | scip, |
const char * | name ) |
returns an expression handler of a given name (or NULL if not found)
scip | SCIP data structure |
name | name of expression handler |
Definition at line 859 of file scip_expr.c.
References assert(), NULL, and SCIPsetFindExprhdlr().
Referenced by parseBase(), SCIPcreateExprAbs(), SCIPcreateExprCos(), SCIPcreateExprEntropy(), SCIPcreateExprErf(), SCIPcreateExprExp(), SCIPcreateExprLog(), SCIPcreateExprSignpower(), SCIPcreateExprSin(), and SCIPcreateExprVaridx().
SCIP_EXPRHDLR * SCIPgetExprhdlrVar | ( | SCIP * | scip | ) |
returns expression handler for variable expressions (or NULL if not included)
scip | SCIP data structure |
Definition at line 871 of file scip_expr.c.
References assert(), and NULL.
Referenced by SCIPcreateExprVar().
SCIP_EXPRHDLR * SCIPgetExprhdlrValue | ( | SCIP * | scip | ) |
returns expression handler for constant value expressions (or NULL if not included)
scip | SCIP data structure |
Definition at line 882 of file scip_expr.c.
References assert(), and NULL.
Referenced by SCIPcreateExprValue().
SCIP_EXPRHDLR * SCIPgetExprhdlrSum | ( | SCIP * | scip | ) |
returns expression handler for sum expressions (or NULL if not included)
scip | SCIP data structure |
Definition at line 893 of file scip_expr.c.
References assert(), and NULL.
Referenced by printExpr(), SCIP_DECL_EXPRSIMPLIFY(), and SCIPcreateExprSum().
SCIP_EXPRHDLR * SCIPgetExprhdlrProduct | ( | SCIP * | scip | ) |
returns expression handler for product expressions (or NULL if not included)
scip | SCIP data structure |
Definition at line 904 of file scip_expr.c.
References assert(), and NULL.
Referenced by SCIPcreateExprProduct().
SCIP_EXPRHDLR * SCIPgetExprhdlrPower | ( | SCIP * | scip | ) |
returns expression handler for power expressions (or NULL if not included)
scip | SCIP data structure |
Definition at line 915 of file scip_expr.c.
References assert(), and NULL.
Referenced by SCIPcreateExprPow().