A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://scip.zib.de/doc/html/expr__exp_8c_source.php below:

SCIP Doxygen Documentation: expr_exp.c Source File

35#define _USE_MATH_DEFINES 43#define EXPRHDLR_NAME "exp" 44#define EXPRHDLR_DESC "exponential expression" 45#define EXPRHDLR_PRECEDENCE 85000 46#define EXPRHDLR_HASHKEY SCIPcalcFibHash(10181.0) 74

assert(lincoef !=

NULL

);

75

assert(linconstant !=

NULL

);

76

assert(success !=

NULL

);

93

coef = (exp(ub) - exp(lb)) / (ub - lb);

94

constant = exp(ub) - coef * ub;

104

*linconstant += constant;

122

assert(lincoef !=

NULL

);

123

assert(linconstant !=

NULL

);

124

assert(success !=

NULL

);

134

coef = exp(refpoint);

135

constant = exp(refpoint) * (1.0 - refpoint);

144

coef = (M_E - 1.0) * exp(f);

145

constant = exp(f) - f * coef;

155

*linconstant += constant;

174

assert(expr !=

NULL

);

175

assert(simplifiedexpr !=

NULL

);

179

assert(child !=

NULL

);

189

*simplifiedexpr = expr;

212

assert(targetexprdata !=

NULL

);

213

assert(sourceexpr !=

NULL

);

216

*targetexprdata =

NULL

;

225

assert(expr !=

NULL

);

238

assert(expr !=

NULL

);

243

assert(childexpr !=

NULL

);

247

assert(*expr !=

NULL

);

262

assert(expr !=

NULL

);

276

assert(expr !=

NULL

);

277

assert(childidx == 0);

292

assert(expr !=

NULL

);

311

assert(expr !=

NULL

);

314

assert(coefs !=

NULL

);

315

assert(constant !=

NULL

);

316

assert(islocal !=

NULL

);

317

assert(branchcand !=

NULL

);

318

assert(*branchcand ==

TRUE

);

319

assert(success !=

NULL

);

327 addExpSecant

(

scip

, localbounds[0].inf, localbounds[0].sup, coefs, constant, success);

334

*branchcand =

FALSE

;

353

assert(expr !=

NULL

);

359

assert(child !=

NULL

);

373

refpointsunder[0] = (7.0 * lbfinite + ubfinite) / 8.0;

374

refpointsunder[1] = (lbfinite + ubfinite) / 2.0;

375

refpointsunder[2] = (lbfinite + 7.0 * ubfinite) / 8.0;

379 for

( i = 0; i < 4; ++i )

381 if

( !overest[i] && overestimate )

389

coefs[*nreturned][0] = 0.0;

390

constant[*nreturned] = 0.0;

401 addExpSecant

(

scip

, lb, ub, coefs[*nreturned], &constant[*nreturned], &success);

415

assert(expr !=

NULL

);

436

assert(expr !=

NULL

);

438

assert(hashkey !=

NULL

);

439

assert(childrenhashes !=

NULL

);

442

*hashkey ^= childrenhashes[0];

452

assert(expr !=

NULL

);

453

assert(childcurv !=

NULL

);

454

assert(success !=

NULL

);

474

assert(expr !=

NULL

);

475

assert(result !=

NULL

);

476

assert(childidx == 0);

492

assert(exprhdlr !=

NULL

);

515 void

* ownercreatedata

518

assert(expr !=

NULL

);

519

assert(child !=

NULL

);

533

assert(expr !=

NULL

);

#define SCIP_INTERVAL_INFINITY

static SCIP_DECL_EXPREVAL(evalExp)

static SCIP_DECL_EXPRHASH(hashExp)

static SCIP_DECL_EXPRINITESTIMATES(initestimatesExp)

static void addExpSecant(SCIP *scip, SCIP_Real lb, SCIP_Real ub, SCIP_Real *lincoef, SCIP_Real *linconstant, SCIP_Bool *success)

static SCIP_DECL_EXPRINTEVAL(intevalExp)

static SCIP_DECL_EXPRSIMPLIFY(simplifyExp)

static SCIP_DECL_EXPRREVERSEPROP(reversepropExp)

static SCIP_DECL_EXPRBWDIFF(bwdiffExp)

static SCIP_DECL_EXPRCURVATURE(curvatureExp)

static SCIP_DECL_EXPRCOPYDATA(copydataExp)

static SCIP_DECL_EXPRPARSE(parseExp)

static SCIP_DECL_EXPRFREEDATA(freedataExp)

static SCIP_DECL_EXPRESTIMATE(estimateExp)

static SCIP_DECL_EXPRCOPYHDLR(copyhdlrExp)

#define EXPRHDLR_PRECEDENCE

static void addExpLinearization(SCIP *scip, SCIP_Real refpoint, SCIP_Bool isint, SCIP_Real *lincoef, SCIP_Real *linconstant, SCIP_Bool *success)

static SCIP_DECL_EXPRMONOTONICITY(monotonicityExp)

exponential expression handler

constant value expression handler

SCIP_Bool SCIPisExprExp(SCIP *scip, SCIP_EXPR *expr)

SCIP_RETCODE SCIPcreateExprExp(SCIP *scip, SCIP_EXPR **expr, SCIP_EXPR *child, SCIP_DECL_EXPR_OWNERCREATE((*ownercreate)), void *ownercreatedata)

SCIP_RETCODE SCIPcreateExprValue(SCIP *scip, SCIP_EXPR **expr, SCIP_Real value, SCIP_DECL_EXPR_OWNERCREATE((*ownercreate)), void *ownercreatedata)

SCIP_RETCODE SCIPincludeExprhdlrExp(SCIP *scip)

const char * SCIPexprhdlrGetName(SCIP_EXPRHDLR *exprhdlr)

void SCIPexprhdlrSetCopyFreeData(SCIP_EXPRHDLR *exprhdlr, SCIP_DECL_EXPRCOPYDATA((*copydata)), SCIP_DECL_EXPRFREEDATA((*freedata)))

void SCIPexprhdlrSetHash(SCIP_EXPRHDLR *exprhdlr, SCIP_DECL_EXPRHASH((*hash)))

void SCIPexprhdlrSetCopyFreeHdlr(SCIP_EXPRHDLR *exprhdlr, SCIP_DECL_EXPRCOPYHDLR((*copyhdlr)), SCIP_DECL_EXPRFREEHDLR((*freehdlr)))

void SCIPexprhdlrSetDiff(SCIP_EXPRHDLR *exprhdlr, SCIP_DECL_EXPRBWDIFF((*bwdiff)), SCIP_DECL_EXPRFWDIFF((*fwdiff)), SCIP_DECL_EXPRBWFWDIFF((*bwfwdiff)))

void SCIPexprhdlrSetReverseProp(SCIP_EXPRHDLR *exprhdlr, SCIP_DECL_EXPRREVERSEPROP((*reverseprop)))

void SCIPexprhdlrSetParse(SCIP_EXPRHDLR *exprhdlr, SCIP_DECL_EXPRPARSE((*parse)))

void SCIPexprhdlrSetEstimate(SCIP_EXPRHDLR *exprhdlr, SCIP_DECL_EXPRINITESTIMATES((*initestimates)), SCIP_DECL_EXPRESTIMATE((*estimate)))

void SCIPexprhdlrSetMonotonicity(SCIP_EXPRHDLR *exprhdlr, SCIP_DECL_EXPRMONOTONICITY((*monotonicity)))

void SCIPexprhdlrSetIntEval(SCIP_EXPRHDLR *exprhdlr, SCIP_DECL_EXPRINTEVAL((*inteval)))

void SCIPexprhdlrSetCurvature(SCIP_EXPRHDLR *exprhdlr, SCIP_DECL_EXPRCURVATURE((*curvature)))

SCIP_RETCODE SCIPincludeExprhdlr(SCIP *scip, SCIP_EXPRHDLR **exprhdlr, const char *name, const char *desc, unsigned int precedence, SCIP_DECL_EXPREVAL((*eval)), SCIP_EXPRHDLRDATA *data)

SCIP_EXPRHDLR * SCIPfindExprhdlr(SCIP *scip, const char *name)

void SCIPexprhdlrSetSimplify(SCIP_EXPRHDLR *exprhdlr, SCIP_DECL_EXPRSIMPLIFY((*simplify)))

SCIP_RETCODE SCIPcreateExpr(SCIP *scip, SCIP_EXPR **expr, SCIP_EXPRHDLR *exprhdlr, SCIP_EXPRDATA *exprdata, int nchildren, SCIP_EXPR **children, SCIP_DECL_EXPR_OWNERCREATE((*ownercreate)), void *ownercreatedata)

void SCIPexprSetData(SCIP_EXPR *expr, SCIP_EXPRDATA *exprdata)

int SCIPexprGetNChildren(SCIP_EXPR *expr)

SCIP_Bool SCIPexprIsIntegral(SCIP_EXPR *expr)

SCIP_Bool SCIPisExprValue(SCIP *scip, SCIP_EXPR *expr)

SCIP_RETCODE SCIPreleaseExpr(SCIP *scip, SCIP_EXPR **expr)

SCIP_EXPRDATA * SCIPexprGetData(SCIP_EXPR *expr)

SCIP_RETCODE SCIPparseExpr(SCIP *scip, SCIP_EXPR **expr, const char *exprstr, const char **finalpos, SCIP_DECL_EXPR_OWNERCREATE((*ownercreate)), void *ownercreatedata)

SCIP_Real SCIPgetValueExprValue(SCIP_EXPR *expr)

SCIP_Real SCIPexprGetEvalValue(SCIP_EXPR *expr)

SCIP_EXPR ** SCIPexprGetChildren(SCIP_EXPR *expr)

SCIP_INTERVAL SCIPexprGetActivity(SCIP_EXPR *expr)

void SCIPcaptureExpr(SCIP_EXPR *expr)

SCIP_EXPRHDLR * SCIPexprGetHdlr(SCIP_EXPR *expr)

SCIP_Real SCIPintervalGetInf(SCIP_INTERVAL interval)

SCIP_Bool SCIPintervalIsEmpty(SCIP_Real infinity, SCIP_INTERVAL operand)

void SCIPintervalLog(SCIP_Real infinity, SCIP_INTERVAL *resultant, SCIP_INTERVAL operand)

SCIP_Real SCIPintervalGetSup(SCIP_INTERVAL interval)

void SCIPintervalExp(SCIP_Real infinity, SCIP_INTERVAL *resultant, SCIP_INTERVAL operand)

void SCIPintervalSetEmpty(SCIP_INTERVAL *resultant)

SCIP_Bool SCIPisGE(SCIP *scip, SCIP_Real val1, SCIP_Real val2)

SCIP_Bool SCIPisIntegral(SCIP *scip, SCIP_Real val)

SCIP_Bool SCIPisLE(SCIP *scip, SCIP_Real val1, SCIP_Real val2)

SCIP_Real SCIPfloor(SCIP *scip, SCIP_Real val)

SCIP_Bool SCIPisInfinity(SCIP *scip, SCIP_Real val)

SCIP_Bool SCIPisEQ(SCIP *scip, SCIP_Real val1, SCIP_Real val2)

#define SCIP_DECL_EXPR_OWNERCREATE(x)

enum SCIP_Retcode SCIP_RETCODE


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4