MATLAB爱好者论坛-LabFans.com

MATLAB爱好者论坛-LabFans.com (https://www.labfans.com/bbs/index.php)
-   MATLAB论坛 (https://www.labfans.com/bbs/forumdisplay.php?f=6)
-   -   【求助】fmincon时遇到的问题 (https://www.labfans.com/bbs/showthread.php?t=1204)

herryzl 2008-01-09 23:21

【求助】fmincon时遇到的问题
 
warnings:
Large-scale (trust region) method does not currently solve this type of problem,using medium-scale (line search) instead.
但是我想用[COLOR="Red"]options=optimset('RelLineSrchBnd'),[/COLOR]但提示说'RelLineSrchBnd'不存在这个算法……
怎样才能将方法改为line search

fanxing39 2008-01-10 13:10

看下这个帖子,不知道对你是不是有帮助
[url]http://www.labfans.com/showthread.php?t=1816[/url]



ps: 以后求助最好把程序也发上来,这样更容易帮你解决问题.

herryzl 2008-01-10 18:46

thx a lot!
知道了objective function为线性时,应该用linprog.....就不会有warings


所有时间均为北京时间。现在的时间是 05:02

Powered by vBulletin
版权所有 ©2000 - 2025,Jelsoft Enterprises Ltd.