final.txt

来自「遗传算法求解极值的源程序」· 文本 代码 · 共 19 行

TXT
19
字号
in order to avoid the local extreme value, we run the algorithm 100 times
the average of the population is
  8.985365  8.985365  8.985365  8.985365  8.985365  8.985365  6.547795  6.547795  6.547795  6.547795
  6.547795  6.547795  6.547795  6.547795  6.547795  6.547795  6.547795  6.547795  6.547795  6.547795
  6.547795  6.547795  6.547795  6.547795  6.547795  6.547795  6.547795  6.547795  6.547795  6.547795
  6.547795  6.547795  6.547795  6.547795  6.547795  6.547795  6.547795  6.528843  6.483572  6.483572
  6.483572  6.483572  6.483572  6.483572  6.483572  6.483572  6.483572  6.483572  6.483572  6.483572
  6.483572  6.483572  6.483572  6.483572  6.483572  6.483572  6.483572  6.483572  6.496732  6.544215
  6.544215  6.544215  6.544215  6.544215  6.544215  6.544215  6.544215  6.544215  6.544215  6.544215
  6.544215  6.544215  6.544215  6.544215  6.544215  6.544215  6.544215  6.544215  6.544215  6.544215
  6.544215  6.544215  6.544215  6.544215  6.544215  6.544215  6.544215  8.994297  6.572825  6.572825
  6.572825  6.572825  6.572825  6.572825  6.572825  6.572825  6.572825  6.572825  6.572825  6.572825
there two max value point 
one is  6.535383
the value of the function is17.425611
the other is  8.986641
the value of the function is17.536492
the average of step times is 1927.840000

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?