Borrar filtros
Borrar filtros

GA optimization toolbox sover

2 visualizaciones (últimos 30 días)
Nilufa Yeasmin
Nilufa Yeasmin el 21 de Dic. de 2016
Comentada: Walter Roberson el 3 de En. de 2017
Hello I am a student of IPE and i am working with VRPWSDP. I want to optimize the travelling distnce in MATLAB by using GA optimization toolbox.But I am unable to write fitness function,linear equality constrants,inequality constraints etc. How will I do it.
  7 comentarios
Nilufa Yeasmin
Nilufa Yeasmin el 23 de Dic. de 2016
Thanks Walter Roberson for your advice. I have attach the file for my problem. How can I breakdown this equation in matlab.

Iniciar sesión para comentar.

Respuestas (1)

Walter Roberson
Walter Roberson el 23 de Dic. de 2016
function cost = objective(x, d)
cost = sum(d(:) .* x(:));
end
To be used with
ga( @(x) objective(x, d), 20*20*5 )

Categorías

Más información sobre Nonlinear Control en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by