Extracting gradients in optimization

For questions regarding programming in the EViews programming language.

Moderators: EViews Gareth, EViews Jason, EViews Moderator, EViews Matt

Posts: 1
Joined: Tue Dec 20, 2016 7:30 am

Extracting gradients in optimization

Postby ErikSpanberg » Thu Feb 08, 2018 10:52 am


I was wondering if it is possible to extract gradients when using the command "optimize()". For example storing them in an object during the subroutine which is to be optimized. Or at least get the last numerical gradients at the end of the optimization?

I have a multivariate distribution I would like to optimize, and it continously fails even though an optimum should exist. The gradients would help me analyse my problem.

EViews Gareth
Fe ddaethom, fe welon, fe amcangyfrifon
Posts: 11910
Joined: Tue Sep 16, 2008 5:38 pm

Re: Extracting gradients in optimization

Postby EViews Gareth » Thu Feb 08, 2018 11:09 am

Unfortunately only the final hessian is available.
Follow us on Twitter @IHSEViews

Return to “Programming”

Who is online

Users browsing this forum: No registered users and 10 guests