How to plot best, worst and mean scores in Genetic Algorithm - maximisation problem

2 次查看(过去 30 天)
Dear all,
I am struggling with finding the arg max of a function f(x) using 'ga'. As ga only minimises functions, I need to multiply it by -1 -> g(x)=-1*f(x) to change it into a minimisation problem. However, I would like to plot best, worst and mean scores and values of the original function. Both "gaplotrange" and "gaplotbestf" show the values also multiplied by -1 (values of g(x)). Is there a way to bypass that and display the values of the original function f(x) being maximised ?
Br,
Mariusz

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Genetic Algorithm 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by