NonLP_Golden
(一维最小值搜索建议统一使用NonLP_Fminbnd函数),黄金分割法搜索[a,b]区间内目标函数的最小值,返回最优点和最优值
范例(t):
//目标函数
function obj(x);
begin
return a^2-5*a+8;
End;

求解最小值:
[code]
A…
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…