Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - 2.048
Search - 2.048 - List
/*y=100*(x1*x1-x2)*(x1*x2-x2)+(1-x1)*(1-x1)其中-2.048<=x1,x2<=2.048作适应度函数求最大适应度即为函数的最大值 */-/* y = 100* (x1* x1- x2)* (* x2- x1- x2) (1-x1)* (1-x) which-2.048
Date : 2026-01-10 Size : 2kb User : xieying

DL : 0
是用遗传算法求函数:f(x1,x2)=100(x1*x1-x2*x2) (x1*x1-x2*x2)+(1-x1)(1-x1) 约束:-2.048<=x1,x2<=2.048的极大值-Using genetic algorithm for function: f (x1, x2) = 100 (x1* x1-x2* x2) (x1* x1-x2* x2)+ (1-x1) (1-x1) constraint:-2.048
Date : 2026-01-10 Size : 5kb User : 李复翔

Rosenbrock函数的全局最大值,使用遗传算法计算。f(x1,x2) = 100 (x12-x2)2 + (1-x1)2; -2.048 ≤ xi ≤ 2.048 (xi=1,2)。 该函数有两个局部极大点,分别是:f(2.048, -2048)=3897.7342和f(-2.048,-2.0048)=3905.9262其中后者为全局最大点。 -Rosenbrock function global maximum, calculated using a genetic algorithm. f (x1, x2) = 100 (x12-x2) 2+ (1-x1) 2 -2.048 ≤ xi ≤ 2.048 (xi = 1,2). This function has two local maximum points are: f (2.048,-2048) = 3897.7342 and f (-2.048,-2.0048) = 3905.9262 latter of which is the global maximum point.
Date : 2026-01-10 Size : 50kb User : Youyou
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.