Optimization problem multivariable using fmincon

조회 수: 13 (최근 30일)
Dyan Voetdijk
Dyan Voetdijk 2020년 5월 14일
댓글: Ameer Hamza 2020년 5월 14일
I'm trying to use fmincon to optimize a certain function of 515 parameters between 0 and 1, the calculationtime for a single set of parameters is 12 seconds. Now if I try to use Fmincon it seems to take forever.
options=optimoptions('fmincon','MaxFunctionEvaluations',2,'MaxIterations',1);
fmincon(@allocatie_optimalisatie_function,parameters,[],[],[],[],lb,ub,[],options)
I would assume that with these settings is should only take a maximum of 24 seconds.
Thank you in advance
  댓글 수: 1
Ameer Hamza
Ameer Hamza 2020년 5월 14일
Yes, it should be near 24 seconds? Are you getting any unexpected results?

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Problem-Based Optimization Setup에 대해 자세히 알아보기

제품


릴리스

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by