| 查看: 1387 | 回复: 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菜鸟 求教大神,万分感谢 |
» 猜你喜欢
散金币祈福
已经有187人回复
求助,如何提取ELK的rt-TDDFT在某一时刻的自旋密度分布和电子密度分布
已经有1人回复
物理学I论文润色/翻译怎么收费?
已经有75人回复
澳门大学IAPME李海峰教授常年招收博士研究生
已经有0人回复
澳门大学IAPME李海峰教授常年招收博士研究生
已经有0人回复
澳门大学IAPME李海峰教授常年招收博士研究生
已经有0人回复
深圳大学应用技术学院招聘凝聚态物理博士后
已经有116人回复
深圳大学2027级光电信息工程/物理学研究生推免
已经有70人回复
求助中医院临床中医中标的青年标书学习,谢谢
已经有4人回复
浙大物院表面物理课题组长期招收普博及直博学生
已经有257人回复
【征稿】Springer Nature热电专题 Discover Materials / Discover Chemistry
已经有47人回复
» 本主题相关价值贴推荐,对您同样有帮助:
Matlab中的fmincon功能求助
已经有16人回复
matlab中fmincon的fun是矩阵运算怎么办?
已经有5人回复
matlab fmincon优化函数 怎样知道每次得到的迭代点
已经有3人回复
小弟新学matlab,想借用 fmincon求个函数的最小值,求助错误该法,感谢!
已经有4人回复
2楼2014-04-14 12:52:11










回复此楼