Error in optim(par = par, fn = fun, method = “L-BFGS-B”, lower = lb, upper = ub) : L-BFGS-B needs finite values of 'fn'

前端 未结 0 613
梦如初夏
梦如初夏 2021-02-02 05:48

I am trying to optimize the function "fun" for the weights (w_opt) but I get the following error:

Error in optim(par = par, fn = fun, method = "L-B         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题