| 24小時(shí)熱門版塊排行榜 |
| 2 | 1/1 | 返回列表 |
| 查看: 1348 | 回復(fù): 1 | ||
egoo147963新蟲(chóng) (初入文壇)
|
[求助]
Matlab中有一句程序是[x,y]=fmincon('disc_m'......錯(cuò)誤提示怎么解決?
|
|
Matlab中有一句程序是[x,y]=fmincon('disc_m',x0,[],[],[],[],lb,ub,'disc_y') 錯(cuò)誤提示為: 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. 請(qǐng)問(wèn)怎么辦,本科matlab菜鳥(niǎo) 求教大神,萬(wàn)分感謝 |
新蟲(chóng) (小有名氣)
| 2 | 1/1 | 返回列表 |
| 最具人氣熱帖推薦 [查看全部] | 作者 | 回/看 | 最后發(fā)表 | |
|---|---|---|---|---|