how to get "Optimization toolbox" in Matlab?

3 ビュー (過去 30 日間)
Dalim Paul
Dalim Paul 2015 年 10 月 5 日
回答済み: John D'Errico 2015 年 10 月 5 日
I am running a code to create mastercurves that will cover a wide range of asphalt properties for different time and temperature. But It is showing an error message (please see below). Apparently we need to have “Optimistion Toolbox” in the Matlab. But our university have the basic package that is for Educational purpose only. i) Can you please help me in telling me bit more on this toolbox (e.g., how to get it)? ii) is it possible to perform similar function as 'fminunc' within the basic MATLAB package? Thanks very much for your time. Eagerly waiting to hear on this. Cheers
Here is the error message:
To use 'fminunc', you might need: fminunc - Optimization Toolbox
Error in Maincode (line 44) [x,fval] = fminunc('At',x0,options);

回答 (1 件)

John D'Errico
John D'Errico 2015 年 10 月 5 日
Well, yes, and no, and ... maybe.
Yes, you (in this case, your school) can buy the optimization toolbox. This is the only way you can get fminunc.
If not, then you can try to use fminsearch. It is part of MATLAB with no toolbox required. It is often acceptable, IF you have less than about 6 to 8 unknowns. More than that and you will rarely be happy.
You can also look for tools on the file exchange. Sadly, most of the basic optimization tools are VERY limited in quality. Most of them are student's homework assignments, and very low quality. But if you look assiduously, you can probably find something there.

カテゴリ

Help Center および File ExchangeSolver Outputs and Iterative Display についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by