Failure in initial user-supplied objective function evaluation

1 次查看(过去 30 天)
abc = @fun1;
x0 = [0,0];
lb = [0,0];
ub = [0.7,0.7];
x = simulannealbnd(abc,x0,lb,ub)

回答(1 个)

Torsten
Torsten 2019-4-8
编辑:Torsten 2019-4-8
Try
abc = @fun1;
x0 = [0,0];
f = abc(x0);
and see what is returned in f.

类别

Help CenterFile Exchange 中查找有关 MATLAB 的更多信息

标签

产品

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by