help-octave
[Top][All Lists]
Advanced

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

Re: Problem with ga boundaries


From: Luca Favatella
Subject: Re: Problem with ga boundaries
Date: Tue, 21 Jul 2009 13:06:01 +0200

On 21/07/2009, George Kousiouris <address@hidden> wrote:
> Hi,
>
> I have started using the ga function of octave (package ga-0.9.4) but
> for some reason, around the 37th-38th generation the variables take
> values beyond the specified interval (0,1). Can anyone help me? Am I
> doing something wrong?
>
> Here is the ga script used:
[...]
> % Bounds
> LB=[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0];
> UB=[1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1];
[...]
> ga(fitnessfcn,nvars,A,b,Aeq,beq,LB,UB)
>

Linear constraints are in the TODO list, i.e. are not implemented at the moment.
Please see
http://octave.svn.sourceforge.net/viewvc/octave/trunk/octave-forge/main/ga/doc/README?revision=5805&view=markup


> Thanks in advance and best regards,
> George

Hope this helps,
Luca Favatella


reply via email to

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