Code covered by the BSD License  

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
One Rank Cuckoo Search (ORCS) algorithm

5.0
5.0 | 1 rating Rate this file 21 Downloads (last 30 days) File Size: 4.07 KB File ID: #41574 Version: 1.2

One Rank Cuckoo Search (ORCS) algorithm

by

 

01 May 2013 (Updated )

An improved cuckoo search algorithm for optimization problems

| Watch this File

File Information
Description

Files included:
ORCS.m, Ackley.m, Griewank.m, Rastrigin.m, Rosenbrock.m, Sphere.m, and Test.m
For more information, please check "Ahmed S. Tawfik, Amr A. Badr and Ibrahim F. Abdel-rahman. One Rank Cuckoo Search Algorithm with Application to Algorithmic Trading Systems Optimization. International Journal of Computer Applications 64(6):30-37, February 2013."

MATLAB release MATLAB 7.14 (R2012a)
MATLAB Search Path
/
/ORCS
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (8)
19 Mar 2016 pageplan  
03 Mar 2016 Amr Kassem

Dear Mr. Ahmed
Thanks a lot for your reply.
I have replaced the "!" with "~" and the code works well now.

You can contact me directly on amr.eng86@yahoo.com, i just have a question concerning cuckoo algorithm and need your help if possible.

Thanks a lot for your time and hope for you all the best.

Regards,
Amr

Comment only
03 Mar 2016 Ahmed Tawfik

The code was updated to reflect the issue noted. We cannot just removed ! since it will greatly affect the logic. Instead, it was replaced by ~.

Of course, we could use email directly. If you prefer so, please send me yours and I will replay to you from there.

Thank you,
Ahmed

Comment only
01 Mar 2016 Amr Kassem

I have tried the code in versions: 2012a, 2014b and 2015b.

Also when i removed the errors in the code by removing the symbol "!" the code run but without any results.

Is it possible to give me your mail to contact you?

Thanks a lot.
Amr

Comment only
01 Mar 2016 Ahmed Tawfik

Hello Amr,

Thank you for reporting this.

I am not getting this error from my side. However, it is interesting that Levent reported the exact statement earlier Feb. Could you recall what version of Matlab (or possible Octave) that is giving you this syntax error?

Thank you,
Ahmed

Comment only
29 Feb 2016 Amr Kassem

Dear Mr. Ahmed,

Something error with this code!

Line 65 of ORCS.m ends with !EqualNests(nests)), which gives syntax error.

Best Regards,
Amr

Comment only
05 Feb 2016 Ahmed Tawfik

Hello Levent,

I just downloaded the same online version of ORCS and tested it with no errors whatever. You may try to download a fresh copy and test it again with any recent version of Matlab. If the issue persists, please feel free to let me know.

Thank you,
Ahmed

Comment only
04 Feb 2016 Levent Alhan

Dear Sir,

Line 65 of ORCS.m ends with !EqualNests(nests)), which gives syntax error. There are a few more similar errors. Would it be possible to upload a new version?

Kind regards,
Levent Alhan

Comment only
Updates
03 May 2013 1.1

Added support for lower and upper bounds of the problem domain, as a scalar or row vector.

03 Mar 2016 1.2

Fixed a syntax error (specifically at line 65, and the similar) that appeared in some versions of Matlab. Thanks Levent and Amr.

Contact us