MATLAB Answers

0

Failure in initial user-supplied objective function evaluation

Asked by ASWATHI V on 7 Apr 2019
Latest activity Commented on by ASWATHI V on 9 Apr 2019
abc = @fun1;
x0 = [0,0];
lb = [0,0];
ub = [0.7,0.7];
x = simulannealbnd(abc,x0,lb,ub)

  0 Comments

Sign in to comment.

Tags

Products

1 Answer

Answer by Torsten
on 8 Apr 2019
Edited by Torsten
on 8 Apr 2019

Try
abc = @fun1;
x0 = [0,0];
f = abc(x0);
and see what is returned in f.

  1 Comment

Sign in to comment.