Using fmincon with multiple inequality constraints
Ältere Kommentare anzeigen
I'm not really sure if I'm asking this correctly, but I'm trying to minimize this function given the constraints using fmincon:
1 Kommentar
Michael
am 2 Nov. 2020
Something to note is that your function seems to be a function of both x and y. Because fmincon is designed for functions of x, you will need to write these as a function of x, and solve for variable values of y. This means you can iterate through different guesses of y, and try to plot outputs to get a good approximation, and then look more carefully at a local optimum.
Hope that helps, but fmincon is limited to functions of x exclusively,
Michael
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Creating and Concatenating Matrices 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!