Can MAD of TOMLAB work alone to provide automatic differentiation to Fmincon of MATLAB?

1 次查看(过去 30 天)
I am using fmincon of MATLAB with sqp algorithm to deal with a constraint nonlinear optimization problem. Since in my constraint function, there is a 2-D lookup table which I used for searching an intermediate parameter based on current variables which I'm going to optimize (and it's the only possible way for this parameter), thus providing analytic gradient and/or Jaccobian is not possible.
MAD (Matlab automatic differentiation) is a package of TOMLAB optimization toolbox which can generate automatic differentiation for Matlab code, and it is said to be very good. But I have no idea how to use it as an additional source to provide my fmincon with automatic differentiation in Matlab. I will be very grateful if anyone knows how to implement it. Thanks.

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Characters and Strings 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by