Scippy

SCIP

Solving Constraint Integer Programs

atomic_userexpr Class Reference

Detailed Description

Automatic differentiation of user expression as CppAD user-atomic function.

This class implements forward and reverse operations for a function given by a user expression for use within CppAD.

Definition at line 871 of file exprinterpret_cppad.cpp.

Public Member Functions

 atomic_userexpr (SCIP *scip_, SCIP_EXPR *expr_)
 

Constructor & Destructor Documentation

◆ atomic_userexpr()

atomic_userexpr::atomic_userexpr ( SCIP scip_,
SCIP_EXPR expr_ 
)
inline
Parameters
scip_SCIP data structure
expr_expression to use

Definition at line 874 of file exprinterpret_cppad.cpp.

References infinity, NULL, r, SCIP_INVALID, SCIP_OKAY, SCIP_Real, SCIPABORT, SCIPcallExprEval(), SCIPcallExprEvalFwdiff(), SCIPdebugMsg, SCIPexprGetHdlr(), SCIPexprGetNChildren(), SCIPexprhdlrGetName(), and x.