Global Optimization

3 ビュー (過去 30 日間)
Joe Ajay
Joe Ajay 2011 年 2 月 18 日
Hi, I've done a project in optimization using various optimization tools but my professor says I must submit the code for all these inbuild tools like GA,FMINCON,SIMULATED ANNEALING,PATTERN SEARCH where can i find these files? I searched my installed toolbox file in my installation file but I was confused which contains the algorithm coding.Please help me

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 2 月 18 日
A number of these are going to be written as built-in facilities, with no .m code available from Mathworks. You should consider looking in places like the Matlab File Exchange, or google, for the appropriate code. In some cases you might find C code to do the work, and you may have to write a MEX wrapper to interface between Matlab and the external code.
Be sure to test the resulting code -- different implementations of the same algorithm can end up with different results, whether due just to round-off error or other reasons. Or due perhaps to the code assuming row-order instead of column order.

カテゴリ

Help Center および File ExchangeDirect Search についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by