Constrained optimization of a vector
Ältere Kommentare anzeigen
Hi!
I am trying to optimize a vector. I want to find
, where
(
)=0, and
.
(f_1 and f-2 are two procedural functions, stored in m-files (not straight-forward functions).
How can I do it with a viable (time-effective) algorithm?
Thanks!
Akzeptierte Antwort
Weitere Antworten (1)
You have two equations so, as long as numel(a)=2 and f1 and f2 are differentiable, you can use fsolve. If numel(a)>2 then you have more unknowns than equations and the problem is ill-posed.
1 Kommentar
mahdi Izadi
am 25 Mai 2022
Kategorien
Mehr zu Mathematics and Optimization finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
