[ADMB Users] accessing final gradient?
Richard Methot
richard.methot at noaa.gov
Mon Oct 1 12:43:14 PDT 2012
Liz,
I use:
cout<<"Final gradient: "<<objective_function_value::pobjfun->gmax <<
endl;
if(objective_function_value::pobjfun->gmax >final_conv)
{N_warn++; warning<<"Final gradient:
"<<objective_function_value::pobjfun->gmax <<" is larger than final_conv:
"<<final_conv<<endl;}
Rick
On Mon, Oct 1, 2012 at 12:33 PM, Liz Brooks <liz.brooks at noaa.gov> wrote:
> dear admb users,
>
> i would like to access the final gradient from a model run, other than
> watching it scroll by on the screen. is this written to file, or is it
> possible to add code so that information is saved? any info and/or code
> would be much appreciated.
>
> thanks
> liz brooks
>
> Northeast Fisheries Science Center
> 166 Water Street
> Woods Hole, MA 02536
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
>
>
--
*Richard D. Methot Jr.
National Stock Assessment Coordinator*
*Office of Science & Technology
NOAA Fisheries
U.S. Department of Commerce
Office: 206-860-3365
Mobile: 301-787-0241
richard.methot at noaa.gov <first.last at noaa.gov>
www.nmfs.noaa.gov
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20121001/c19e08a2/attachment.html>
More information about the Users
mailing list