[ADMB Users] Multiple stage iteration limits

Steve Martell s.martell at fisheries.ubc.ca
Thu Apr 8 11:42:14 PDT 2010


Mark,

I would just declare a integer counter in the DATA_SECTION (i.e., the  
counter must have a global scope), then increment this counter in the  
procedure section.  If the phase changes then reset the counter (use  
the current_phase() command to check which phase our in).

Steve
On 8-Apr-10, at 11:29 AM, Fowler, Mark wrote:

> Hello,
> Anybody have a programmatic way to capture the iterations per  
> estimation stage, maybe some form of screen output parser?
>
> I'm dealing with multi-stage fishery models that often require a lot  
> of iterations to converge. It would help if I could pinpoint the  
> particular stage or stages that broached an evaluation limit. I'm  
> not aware of any way to capture this report-style, the information  
> does not seem to be stored by ADMB in a manner a conventional user  
> might access. As the common bottlenecks I encounter can require  
> thousands of iterations to overcome, I'd like to avoid simply  
> spooling and visually wading through the screen output to determine  
> iterations per estimation stages.
>
> Mark Fowler
> Population Ecology Division
> Bedford Inst of Oceanography
> Dept Fisheries & Oceans
> Dartmouth NS Canada
> B2Y 4A2
> Tel. (902) 426-3529
> Fax (902) 426-9710
> Email fowlerm at mar.dfo-mpo.gc.ca
> Home Tel. (902) 461-0708
> Home Email mark.fowler at ns.sympatico.ca
>
>
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users

Steve Martell
s.martell at fisheries.ubc.ca



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20100408/492f63e3/attachment.html>


More information about the Users mailing list