Vector Optimization Problem - What should I use?
Mostrar comentarios más antiguos
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 comentarios
Süleyman Polat
el 7 de En. de 2022
Editada: Süleyman Polat
el 7 de En. de 2022
Süleyman Polat
el 7 de En. de 2022
Walter Roberson
el 7 de En. de 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
el 7 de En. de 2022
Torsten
el 7 de En. de 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
el 7 de En. de 2022
Walter Roberson
el 7 de En. de 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
el 7 de En. de 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)
Respuestas (0)
Categorías
Más información sobre Solver Outputs and Iterative Display en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!