thank you for this site,I want to optimize this problem whit genetic algorithm and i have thirty eight variable also this problem have two goal.When i start the algorithm show a error "your function must return to Scalar value" what should i do?

 채택된 답변

Alan Weiss
Alan Weiss 2019년 4월 3일

1 개 추천

If you have a multiobjective function, then use gamultiobj instead of ga.
Alan Weiss
MATLAB mathematical toolbox documentation

추가 답변 (1개)

Harvey  De Leon
Harvey De Leon 2019년 4월 3일

0 개 추천

can I see your Genetic Algorithm function and the corresponding inputs?

카테고리

질문:

2019년 4월 3일

댓글:

2019년 4월 5일

Community Treasure Hunt

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

Start Hunting!

Translated by