[ADMB Users] ADMB won't optimize model

Chris Gast cmgast at gmail.com
Fri Apr 2 07:02:06 PDT 2010


Thanks to those who took the time to look.  A colleague (as well as Dave and
Ian) correctly pointed out that I was incorrectly using standard C++ data
types for functions of model parameters, rather than declaring them with the
appropriate data types in the Parameter section--probably a very rookie
mistake.  So while my likelihood function worked great in C++, it was not
valid in ADMB at all.

Again, thanks to those who took the time to review it.

Chris



-----------------------------
Chris Gast
cmgast at gmail.com


On Fri, Apr 2, 2010 at 6:55 AM, Ian Fiske <ianfiske at gmail.com> wrote:

> > double auxdat[nyears][nages];
> > int telyears[telnyears];
> > double auxyearsum[nyears], harvyearsum[nyears];
>
> And I have a feeling that it has to do with your use of double arrays
> instead of dvar_vectors if those are involved in the likelihood
> calculation, which as Dave noted we can't determine.
>
> Ian
>
> --
> Ian Fiske
> PhD Candidate
> Department of Statistics
> North Carolina State University
> _______________________________________________
> Users mailing list
> Users at admb-project.org
> http://lists.admb-project.org/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20100402/e19acf8a/attachment.html>


More information about the Users mailing list