help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Genetic algorithm pakage


From: Kai Torben Ohlhus
Subject: Re: Genetic algorithm pakage
Date: Sat, 11 May 2019 19:20:40 +0200

On Sat, May 11, 2019 at 6:44 AM Aditya kumar <address@hidden> wrote:
I am using windows 10 operating system and ga package was installed by default from the octave 5.1 setup. I am attaching a photo of error.

On Thu, 9 May, 2019, 6:53 PM Kai Torben Ohlhus, <address@hidden> wrote:
On Wed, May 8, 2019 at 8:01 PM Aditya kumar <address@hidden> wrote:
The genetic algorithm (ga) package available on website version 0.10.0 does not work anymore on octave 5.1. please update the package as soon as possible.
Thank you


Using Linux( openSUSE 15.0) I can still install the ga package with many warnings, but no errors.  Admittedly, the code seems unmaintained in the past years (2012 was the last release).  What is your operating system, how did you install Octave and the ga packge?  Please, can you be more precise about what of the ga package is not working?

Best,
Kai


Please, can you keep the mailing list in the CC, so others may benefit from our discussion and answer at the bottom of the email (bottom posting [1]) to make it easier to follow the message thread.

Can you give a short example of "ga_stalagmite.m" up to line 25, which is not part of the ga package and triggers the bug?  By just looking at the respective code lines of the error message, I cannot give any useful hints.  Somehow non-integer indices are created in a situation like the following short example:

   >> A = [1 2 3 4 5];
   >> A(1/3)
   error: A(0.333333): subscripts must be either integers 1 to (2^63)-1 or logicals

This should be avoided in your code.

HTH,
Kai


reply via email to

[Prev in Thread] Current Thread [Next in Thread]