7ossam81 / EvoloPy

EvoloPy toolbox provides classical and recent nature-inspired metaheuristic for the global optimization.
Apache License 2.0
451 stars 226 forks source link

bat.py____ line62--65 #43

Closed owais-ch closed 4 years ago

owais-ch commented 4 years ago

Find the initial best solution

fmin = min(Fitness)
I=numpy.argmin(fmin)   
best=Sol[I,:]

Here fmin will be a scalar, so all the time I will be zero Am I right? It should be I=numpy.argmin(Fitness)

Can you please comment on it

RaneemQaddoura commented 4 years ago

Yes you are right I'll update the BAT.py file accordingly Thank you for your feedback

owais-ch commented 4 years ago

Hi, Thank you for your reply.

Regards Owais

On Tue, Mar 17, 2020, 11:48 PM Raneem Qaddoura notifications@github.com wrote:

Yes you are right I'll update the BAT.py file accordingly Thank you for your feedback

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/7ossam81/EvoloPy/issues/43#issuecomment-600224100, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOVFGVQ477XHV7V5VDR644DRH65HDANCNFSM4K37K45A .