Vector Optimization Problem - What should I use?
이전 댓글 표시
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
Süleyman Polat
2022년 1월 7일
편집: Süleyman Polat
2022년 1월 7일
Süleyman Polat
2022년 1월 7일
Walter Roberson
2022년 1월 7일
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
2022년 1월 7일
Torsten
2022년 1월 7일
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
2022년 1월 7일
Walter Roberson
2022년 1월 7일
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
2022년 1월 7일
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)
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Solver Outputs and Iterative Display에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!