Borrar filtros
Borrar filtros

Failure in user-supplied fitness function evaluation

1 visualización (últimos 30 días)
Hamid
Hamid el 5 de Ag. de 2014
Editada: Hamid el 13 de Ag. de 2014
Calculating

Respuesta aceptada

Alan Weiss
Alan Weiss el 5 de Ag. de 2014
Is penalty2 a function on your MATLAB path? Find out by issuing the command
which -all penalty2
Alan Weiss
MATLAB mathematical toolbox documentation
  2 comentarios
Alan Weiss
Alan Weiss el 5 de Ag. de 2014
I hope that you realize that this is the answer to your question. MATLAB is not finding your fitness function. Put it on your path, or change directories to wherever it is.
Alan Weiss
MATLAB mathematical toolbox documentation
Alan Weiss
Alan Weiss el 5 de Ag. de 2014
Please copy the entire MATLAB output and show us. And perhaps show us how you called ga (I mean something like x = ga(@penalty2,4,...))
Alan Weiss
MATLAB mathematical toolbox documentation

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Solver Outputs and Iterative Display en Help Center y File Exchange.

Etiquetas

Aún no se han introducido etiquetas.

Community Treasure Hunt

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

Start Hunting!

Translated by