I am using a permutation based initial population for a GA and on the optimisation toolbox there is choice for bit string and binary based populations. My question therefore is there any way i can create this initial population or i have to use a custom creation function. If so what is the syntax of such a custom function.

 채택된 답변

Alan Weiss
Alan Weiss 2014년 3월 31일

0 개 추천

The documentation has details of what "bit string population" means and the syntax of custom creation functions. In my opinion, it is easier to use the mixed integer optimization method. For binary variables, give lower bound 0 and upper bound 1.
Alan Weiss
MATLAB mathematical toolbox documentation

추가 답변 (0개)

카테고리

질문:

2014년 3월 29일

답변:

2014년 3월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by