[ADMB Users] Fwd: Joining Google Group to add Subject Thread.
Jim Ianelli
Jim.Ianelli at noaa.gov
Wed Jun 17 16:56:23 PDT 2009
You could simple move your code into the PROCEDURE_SECTION (assume
appropriate parameter and objective_function declarations have been made)
from the PRELIMINARY_CALCS section. The C code should work just fine then.
Cheers,
Jim
James Ianelli
<http://www.afsc.noaa.gov/REFM/stocks/assessments.htm> REFM Division,
Alaska Fisheries Science Center, NOAA
7600 Sand Point Way NE
Seattle WA 98115
Ph. 206 526 6510
From: users-bounces at admb-project.org [mailto:users-bounces at admb-project.org]
On Behalf Of jnancheta
Sent: Wednesday, June 17, 2009 4:45 PM
To: users at admb-project.org
Subject: [ADMB Users] Fwd: Joining Google Group to add Subject Thread.
---------- Forwarded message ----------
From: Mitchell Gillespie <mgillesp at uoguelph.ca>
Date: Wed, Jun 17, 2009 at 9:32 AM
Subject: Re: Joining Google Group to add Subject Thread.
To: jnancheta <jnancheta at gmail.com>
Hi Johnoel,
I actually discovered the problem on my own... I did not realize that the
function call was written in my own GLOBAL_SECTION. I have another question
though..
We are attempting to run simulations of a statistical model, and to
benefit our arguement... we would like to make an external call to ADMB's
Quasi-Newton Optimization routine.
We have created our own C code that has implemented the Preliminary
Calculations and established the 'Negative Log-Likelihood' (f), but we would
now like to call ADMB's Quasi-Newton Methods to optimize that Negative
Log-Likelihood and return the Result vector with the 'Optimal Parameter
Estimates'
Is this possible to do? And/or do you understand what we are trying to
accomplish?
Thanks,
Mitch
On Tue, Jun 16, 2009 at 1:58 PM, jnancheta <jnancheta at gmail.com> wrote:
Hi Mitchell,
May I take a look at the model's tpl file?
Johnoel
On Mon, Jun 15, 2009 at 6:59 AM, Mitchell.Gillespie at gmail.com
<mitchell.gillespie at gmail.com> wrote:
Hello,
My name is Mitchell Gillespie, and I have currently joined Steve
Crawford from the University of Guelph, Integrative Biology Department
as a Computer Science Graduate Research Intern.
I am currently running the ADMB software on a Debian/Linux AMD64
Machine, and the installation ran smoothly, yet when I attempted to
run a ADMB model created in 2005 I ran into some C++ errors as the
complier did not accept the 'itoa' functions created by your library.
I have scanned through the dynamically created C++ code and changed
all implementations of the itoa() calls to a std::stringstream
implementation.
I hope that explanation made sense, but otherwise, I simply wish to
add this subject/thread to the google group in the hopes to help
prevent other individuals from running into this problem. If you
could please add me as a group member, I would greatly appreciate it!
Thank you very much for your support!
Mitchell Gillespie
--
Mitchell Gillespie
MSc. Candidate - Applied Computer Science
University of Guelph
mgillesp at uoguelph.ca
Home: (519) 265 4747
-----------------------------
It has become appallingly obvious that our technology has exceeded our
humanity. ~Albert Einstein
The saddest aspect of life right now is that science gathers knowledge
faster than society gathers wisdom. ~Isaac Asimov
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.admb-project.org/pipermail/users/attachments/20090617/f7244854/attachment.html>
More information about the Users
mailing list