Cancel
Showing results for 
Search instead for 
Did you mean: 

Genetic Algorithm Error

Solution Partner Genius Solution Partner Genius
Solution Partner Genius

Hello,

 

I am running a genetic algorithm with just one fitness caclulation and one table as the optimization parameter. I also go into the GAAllocation and set the following as an example

 

Define                     Position Constraints              Initial Sets

1                              Positions1                               1

2                              Positions2                               2

 

The Positions lists are just integer number so for first one would be

 

1,2,3,4,5,6,7,8,9,10

 

I think this is all fine, however when I run the GA I get the following simtalk error

 

statTab[6,rowStat].name := statTab[6,rowStatTab].name - A void cannot accept the method name

 

While I do understand this error I don't understand why this table is not being filled in.

 

Also sorry I cannot post the model to help

 

Cheers

 

Ollie
    

Oliver MacFarlane
Simulation Engineer
web: www.simsol.co.uk
e-mail: oliver.macfarlane@simsol.co.uk
1 REPLY 1

Re: Genetic Algorithm Error

Siemens Phenom Siemens Phenom
Siemens Phenom

Hello,

 

this is a known error and was fixed after a recent update of the GAwizard Library. Which version of the GAwizard are you currently using? Does that error disappear when you update your library?

Kind regards,

Igor
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution