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_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…