| 查看: 1391 | 回复: 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菜鸟 求教大神,万分感谢 |
» 猜你喜欢
求助中医院临床中医中标的青年标书学习,谢谢
已经有6人回复
浙大物院表面物理课题组长期招收普博及直博学生
已经有259人回复
物理学I论文润色/翻译怎么收费?
已经有123人回复
【征稿】Springer Nature热电专题 Discover Materials / Discover Chemistry
已经有47人回复
25届硕士申请,材料计算方向
已经有2人回复
课题组招1-2名硕士
已经有1人回复
机时越来越贵之后,我把一部分 DFT 流程搬到了 AI 计算平台上
已经有0人回复
斯坦福大学与Elsevier世界前2%学者新排名查询
已经有1人回复
27申博推荐:南京航空航天大学国际前沿院光学方向招收博士生!
已经有19人回复
华南师范大学+双一流学科物理学+广东省杰青团队2027年博士招生+机器学习驱动材料设计
已经有1人回复
apl投稿状态
已经有2人回复
» 本主题相关价值贴推荐,对您同样有帮助:
Matlab中的fmincon功能求助
已经有16人回复
matlab中fmincon的fun是矩阵运算怎么办?
已经有5人回复
matlab fmincon优化函数 怎样知道每次得到的迭代点
已经有3人回复
小弟新学matlab,想借用 fmincon求个函数的最小值,求助错误该法,感谢!
已经有4人回复
2楼2014-04-14 12:52:11










回复此楼
50