use of optimization constraint mask in matlab fmincon or similar

1 visualizzazione (ultimi 30 giorni)
Hello, I know that fmincon uses expressions for describing constraints .
but i want my optimization function to use a value mask instead of expresson
how do i define fmincon so it will be as close as possible to some vector value.
IE my cost function will be as close as possible to some value mask
  1 Commento
Matt J
Matt J il 4 Feb 2022
If you already know what the value that your cost function is supposed to have, what is there to minimize?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Get Started with Optimization Toolbox in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by