NonLP_BSearch
一维盲人搜索方法,目标函数既可以是单峰,也可以是多峰。返回最优点和最优值。(中间函数)
范例(t):
目标:
[code]
function obj(x);
begin

return 3*x[0]^2+x[1]^2-2*x[0]*x[1]+4*x[0]+3*x[1];
e…
NonLP_Range
范例(t):
目标:
[code]
function obj(x);
begin

return 3*x[0]^2+x[1]^2-2*x[0]*x[1]+4*x[0]+3*x[1];
e…
NonLP_BSearch
范例(t):
目标:
[code]
function obj(x);
begin

return 3*x[0]^2+x[1]^2-2*x[0]*x[1]+4*x[0]+3*x[1];
e…
NonLP_Golden
范例(t):
//目标函数
function obj(x);
begin
return a^2-5*a+8;
End;

求解最小值:
[code]
A…
NonLP_Fibonacci
范例(t):
//目标函数
function obj(x);
begin
return a^2-5*a+8;
End;

求解最小值:
[code]
A…
NonLP_GP
范例(t):
//目标函数
function obj(x);
begin
return a^2-5*a+8;
End;

求解最小值:
[code]
A…