Using cost functions that aren't made of built-in matlab functions

69 views
Skip to first unread message

Stephanie

unread,
Aug 21, 2013, 6:09:24 PM8/21/13
to yal...@googlegroups.com
Hi,

I would like to use YALMIP for a mixed-integer optimization problem on a linear hybrid piecewise affine dynamical system. The cost function that I want to use is nonlinear and nonconvex and does not have a closed form; it takes variables as input and runs through an iteration algorithm completely separate from YALMIP before returning a value. Is it possible to use such a cost function with YALMIP? If so, how? I don't see any examples of it on YALMIP's website.

Thanks!
Stephanie

Johan Löfberg

unread,
Aug 22, 2013, 1:36:14 AM8/22/13
to yal...@googlegroups.com
No, YALMIP is not designed for black-box models.

Aashiq Muhamed

unread,
May 15, 2017, 5:06:22 PM5/15/17
to YALMIP
Does it have this feature now? Or are the variables not capable of going through Monte Carlo or other iterative algorithms still?

Johan Löfberg

unread,
May 16, 2017, 1:40:10 AM5/16/17
to YALMIP
the only approach to use black.box functions is to use the sdpfun functionality, which is a hack and not efficient for anything but univariate functions
Reply all
Reply to author
Forward
0 new messages