expr_entropy.h File Reference
Detailed Description
handler for -x*log(x) expressions
Definition in file expr_entropy.h.
Go to the source code of this file.
Functions | |
SCIP_RETCODE | SCIPincludeExprhdlrEntropy (SCIP *scip) |
Entropy value expression | |
This expression handler provides the entropy function, that is, \[ x \mapsto \begin{cases} -x\log(x), & \mathrm{if} x > 0,\\ 0, & \mathrm{if} x = 0, \\ \mathrm{undefined}, & \mathrm{else}. \end{cases} \] | |
SCIP_RETCODE | SCIPcreateExprEntropy (SCIP *scip, SCIP_EXPR **expr, SCIP_EXPR *child, SCIP_DECL_EXPR_OWNERCREATE((*ownercreate)), void *ownercreatedata) |
SCIP_Bool | SCIPisExprEntropy (SCIP *scip, SCIP_EXPR *expr) |