Vector Optimization Problem - What should I use?
Mostra commenti meno recenti
Which function should I use for the problem below?
I have a given matrix
of order
. I need to find the vector
of order
that minimizes
; subject to
1 -
, where
is a given vector of order 
2 - 
3 -
, where l and u are given scalar constraints.
Thanks for any help.
12 Commenti
Süleyman Polat
il 7 Gen 2022
Modificato: Süleyman Polat
il 7 Gen 2022
Süleyman Polat
il 7 Gen 2022
Walter Roberson
il 7 Gen 2022
It means you do not have a license for the Global Optimization Toolbox
@Süleyman Polat You aren't allowed to post ga.m or other copyrighted Matlab material in the forum.
Süleyman Polat
il 7 Gen 2022
Torsten
il 7 Gen 2022
The "ver" command shows you the licenced toolboxes.
If the global optimization toolbox is listed, you should be able to use "ga".
The input vector to FITNESSFCN is a row vector ; so maybe you'll have to use
fun = @(x) norm(P*x.')
Süleyman Polat
il 7 Gen 2022
Walter Roberson
il 7 Gen 2022
ver() shows the installed toolboxes, not the licensed toolboxes.
C:\Program Files\MATLAB\R2016b\toolbox\globaloptim\globaloptim\ga.m % Has no license available
is specific: you do not have the license for the globaloptimation toolbox.
You can find various genetic algorithm implementations in the File Exchange.
Torsten
il 7 Gen 2022
Thank you - good to know.
There is no command to list the licensed toolboxes ?
temp = arrayfun(@(M){char(M.getName), license('test',char(M.getFlexName))}, com.mathworks.product.util.ProductIdentifier.values, 'UniformOutput', false);
temp = vertcat(temp{:});
licensed_products = temp([temp{:,2}]==1,1)
Risposte (0)
Categorie
Scopri di più su Solver Outputs and Iterative Display in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!