black box function in CVXPY

Viewed 61

Suppose I have a function f(x) which I know to be convex on the domain I am interested in (for example, sin(x) on [0, Pi], but it may be some black box user-defined function). Is there any way to tell this to CVXPY?

0 Answers
Related