load r.mat
A=[1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1];
b=1;
lb=[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]
ub=[0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01 0.01];
navrs=20;
[x,fval]=newga(@myfun,nvars,A,b,[],[],lb,ub,@mycon)
为什么总会出现lb =
Columns 1 through 21
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Columns 22 through 40
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
newga.m called incorrectly
x =
1
fval =
[]


雷达卡




京公网安备 11010802022788号







