What is this error
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Hello everyone.
While using GlobalSearch in my global optimization routine, I incountered the following error:
Error using globalsearchnlp (line 110)
All elements of X must be real.
Im not able to open this file, "globalsearchnlp". What are these X? How can I fix it?
Many thanks!
2 comentarios
Jonathan Epperl
el 15 de En. de 2013
Try
dbstop if error
before you execute your global search. It'll stop in the debugger then, maybe that'll enable you to find out what's wrong.
Respuesta aceptada
Walter Roberson
el 15 de En. de 2013
Your function evaluations are sometimes producing imaginary numbers. Be sure to put in appropriate bounds on your function range.
Más respuestas (0)
Ver también
Categorías
Más información sobre Global or Multiple Starting Point Search en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!