I ran several optimization problem with different models, but some of them doesn't seem to actually calculate the result but spit out some random results.So, I would like to know how to extract the status of the 'optimize' results but cannot know easily.I know if we just call the object of the 'optimize' then it shows the status, but I would like to call it and assign it to a column of data frame.For example if the code for calling the status of success or failure is status
, I would expect to call the result is
Object = optimize(function(x),x,LBFGS(); autodiff = :forwardresult = Object.status
Is this possible? Can someone help with this?
I would expect a exact code to do this.