| 查看: 1350 | 回复: 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菜鸟 求教大神,万分感谢 |
» 猜你喜欢
调剂
已经有0人回复
【新加坡】纳米电子器件项目组有“联合培养博士生”名额
已经有0人回复
物理学I论文润色/翻译怎么收费?
已经有212人回复
中德博士后2026项目5月30日截止- 国内博士后入站、德国两年全职
已经有0人回复
面向全球申请人的中德博士后2026项目5月30日截止- 国内博后入站德国两年全职
已经有0人回复
【新加坡】纳米电子器件项目组有“联合培养博士生”名额
已经有2人回复
重庆交大材料学院26年硕士招生复试实施细则已出。欢迎加入光子学微结构与器件课题组。
已经有0人回复
北工大宋晓艳教授团队招收2026年9月入学博士【学博和专博名额均有】!
已经有1人回复
天津城建大学理学院化学、环境工程、材料物理等方向接收10人
已经有0人回复
天津城建大学理学院化学、环境工程、材料物理等方向接收调剂,10人
已经有0人回复
» 本主题相关价值贴推荐,对您同样有帮助:
Matlab中的fmincon功能求助
已经有16人回复
matlab中fmincon的fun是矩阵运算怎么办?
已经有5人回复
matlab fmincon优化函数 怎样知道每次得到的迭代点
已经有3人回复
小弟新学matlab,想借用 fmincon求个函数的最小值,求助错误该法,感谢!
已经有4人回复
2楼2014-04-14 12:52:11














回复此楼