Global optimization toolbox - GA - Timing

How to set timing in global optimization toolbox, GA solver? Which is to record how long it takes to achieve the objective function value.

 采纳的回答

tic;
run the solver here
solver_timing = toc;

1 个评论

Thank you for your response. By the way, how to add the code in GUI of Global optimization toolbox?

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Problem-Based Optimization Setup 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by