GA - Quadratic Assignment Problem

Hey guys,
I am using GA to solve an optimization problem, i.e. quadratic assignment problem (QAP).
the objective function of QAP is
min EEEE abxx + cx where E is summation A, B , C is input matrix and is constant
the only variable here is X, which is a permutation matrix (a binary matrix with the sum of each row and each column is equal to1)
i have tested my objective function in a script, and it works. and i can use randperm and a few lines of coding to generate permutation matrix
the problem is, when i implement GA with optimization toolbox, it always output an error - "too many input arguments"
does anyone know what causes this to be happened?
and should i put my variables(permutation matrix) at constraint pane or creation function pane?
how matlab know the feasible solution can only be a permutation matrix, so that after crossover and mutation, the children will still be a permutation matrix?
does any guys have any idea to implement this QAP?
thanks in advanced.

댓글 수: 2

Wee Loon
Wee Loon 2011년 4월 2일
can't anybody please help me?
Andrew Newell
Andrew Newell 2011년 4월 3일
@Wee, it's hard to know what the problem is unless you show us what code you're using to do this calculation.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

질문:

2011년 3월 31일

Community Treasure Hunt

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

Start Hunting!

Translated by