|
From: | Kai Torben Ohlhus |
Subject: | Re: Genetic algorithm pakage |
Date: | Sun, 12 May 2019 22:10:40 +0200 |
Sure, I am attaching the program till line 25 and also the function used in program. But I don't think there is a problem with the program as it has nothing to do with the ga package, I have used ga command only in line 25 after successfully running the program.On Sat, 11 May, 2019, 10:50 PM Kai Torben Ohlhus, <address@hidden> wrote: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 youUsing 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,KaiPlease, 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 logicalsThis should be avoided in your code.HTH,Kai
[Prev in Thread] | Current Thread | [Next in Thread] |