| MATLAB Central > MATLAB Newsreader > Genetic algorithm with bitstring |
|
|
|
Subject: Genetic algorithm with bitstring From: Lennart van Luijk Date: 7 May, 2010 14:23:05 Message: 1 of 7 |
|
I have a problem with implementing a genetic algorithm (first time for me in Matlab & the optimtool) |
|
Subject: Genetic algorithm with bitstring From: Daniel Armyr Date: 7 May, 2010 15:18:06 Message: 2 of 7 |
|
> After one iteration, I get a 'subscripted assignment dimension mismatch'. |
|
Subject: Genetic algorithm with bitstring From: Lennart van Luijk Date: 10 May, 2010 07:03:05 Message: 3 of 7 |
|
Hey, thanks for your answer! But this is not a problem. When I run my separate functions from the commandline, everything works.. |
|
Subject: Genetic algorithm with bitstring From: Daniel Armyr Date: 10 May, 2010 07:38:04 Message: 4 of 7 |
|
> Hey, thanks for your answer! But this is not a problem. When I run my separate functions from the commandline, everything works.. |
|
Subject: Genetic algorithm with bitstring From: Lennart van Luijk Date: 10 May, 2010 11:13:05 Message: 5 of 7 |
|
Hey, I've tried this but the error is only displayed in the 'optimtool' window where the Genetic Algorithm runs. |
|
Subject: Genetic algorithm with bitstring From: Lennart van Luijk Date: 10 May, 2010 12:10:39 Message: 6 of 7 |
|
Got it! |
|
Subject: Genetic algorithm with bitstring From: yared tassew Date: 22 Feb, 2013 18:30:07 Message: 7 of 7 |
|
hi Lennart van Luijk when i was searching for answer on how to use ga tool box using a binary string i found your question. and i want to ask you a question on how to operate on ga tool box when my initial population is binary but the objective function input variables are real values with different dimension with the bit string. |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
| Tag Activity for This Thread | ||
|---|---|---|
| Tag | Applied By | Date/Time |
| matrix | Daniel Armyr | 7 May, 2010 11:19:10 |
| debug | Daniel Armyr | 7 May, 2010 11:19:10 |
| creation function | Lennart van Luijk | 7 May, 2010 10:24:10 |
| subscripted assign... | Lennart van Luijk | 7 May, 2010 10:24:10 |
| fitness function | Lennart van Luijk | 7 May, 2010 10:24:10 |
| global optimizatio... | Lennart van Luijk | 7 May, 2010 10:24:10 |
| genetic algorithm | Lennart van Luijk | 7 May, 2010 10:24:10 |
