Runtime creation of constraints and optimization variable
Afficher commentaires plus anciens
I am coding an optimization problem, where my optimization variable is denoted by Q which is a TxN matrix, and ith row of Q is of the form g*P_i, here g is a 1xN vector which is already known, and P_i is the ith NxN diagonal matrix and ith constraint is norm(P_i,'fro')<=N. How to code Q and and its constraints in MATLAB, when T and N are given. I would like to find the optimum value of my objective function for different values of T. I am using optimvar and optimproblem functions.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Problem-Based Optimization Setup dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!