| 查看: 1347 | 回复: 1 | ||
[求助]
Matlab中有一句程序是[x,y]=fmincon('disc_m'......错误提示怎么解决?
|
|
Matlab中有一句程序是[x,y]=fmincon('disc_m',x0,[],[],[],[],lb,ub,'disc_y') 错误提示为: Warning: Trust-region-reflective algorithm does not solve this type of problem, using active-set algorithm. You could also try the interior-point or sqp algorithms: set the Algorithm option to 'interior-point' or 'sqp' and rerun. For more help, see Choosing the Algorithm in the documentation. > In fmincon at 472 ??? Error using ==> feval Undefined function or method 'disc_m' for input arguments of type 'double'. Error in ==> fmincon at 574 initVals.f = feval(funfcn{3},X,varargin{:}); Caused by: Failure in initial user-supplied objective function evaluation. FMINCON cannot continue. 请问怎么办,本科matlab菜鸟 求教大神,万分感谢 |
» 猜你喜欢
推荐一款可以AI辅助写作的Latex编辑器SmartLatexEditor,超级好用,AI润色,全免费
已经有20人回复
【EI|Scopus 双检索】第六届智能机器人系统国际会议(ISoIRS 2026)
已经有1人回复
物理学I论文润色/翻译怎么收费?
已经有235人回复
2026年第四届电动车与车辆工程国际会议(CEVVE 2026)
已经有0人回复
德国亥姆霍兹Hereon中心招收两位医用镁合金腐蚀与LPSO相变方向2026公派博士生
已经有0人回复
» 本主题相关价值贴推荐,对您同样有帮助:
Matlab中的fmincon功能求助
已经有16人回复
matlab中fmincon的fun是矩阵运算怎么办?
已经有5人回复
matlab fmincon优化函数 怎样知道每次得到的迭代点
已经有3人回复
小弟新学matlab,想借用 fmincon求个函数的最小值,求助错误该法,感谢!
已经有4人回复
2楼2014-04-14 12:52:11













回复此楼