1、二维针状全局最优的函数
Parameter x[0,100], y[0,100];ConstStr r = sqrt((x-50)^2 (y-50)^2) exp(1);MaxFunction Sin(r)/r 1;
Parameter x[-1,7], y[-2,2];Minimum = z;Function z = sin((z*x-0.5)^2 x*2*y^2-z/10)*exp(-((x-0.5-exp(-y z))^2 y^2-z/5 3));
Parameter x1[0,10], x2[0,10];MaxFunction (sin(2*pi*x1))^3*sin(2*pi*x2)/(x1^3*(x1 x2));x1^2-x2 1 <= 0;1-x1 (x2-4)^2 <= 0;
Parameter x(1:2)[0,100,0], x3[3,100,0], x4[0,100,0];MinFunction -2*x1-x2-4*x3-3*x4;2*x2 x3 4*x4<54;3*x1 4*x2 5*x3-x4<62;x1 2*x2 x3-2*x4<-3;
Algorithm = DE1[100];PenaltyFactor = 5;ParameterDomain = [-50,50];MinFunction exp(sin(50*x)) sin(60*exp(y)) sin(70*sin(x)) sin(sin(80*y))-sin(10*(x y)) (x^2 y^2)^sin(y)/4;x-((cos(y))^x-x)^y<=0;
Variables x, y;Parameters a, b, c, d;Function y = a-b*exp(-c*x^d);Data;0.05 0.130.15 0.130.25 0.190.35 0.34
Parameters a,b,c,d;Function int(exp(a b*x c*x^2 d*x^3),x=0.5779,13.5883)=1;int(x*exp(a b*x c*x^2 d*x^3),x=0.5779,13.5883)=6.86;int(x^2*exp(a b*x c*x^2 d*x^3),x=0.5779,13.5883)=54.39;int(x^3*exp(a b*x c*x^2 d*x^3),x=0.5779,13.5883)=478.14;