<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>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.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Cheers,<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Jim<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>James Ianelli<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><a href="http://www.afsc.noaa.gov/REFM/stocks/assessments.htm"><span
style='color:blue'>REFM Division, Alaska Fisheries Science Center, NOAA</span></a><o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>7600 Sand Point Way NE<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Seattle WA 98115<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Ph. 206 526 6510<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>
<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> users-bounces@admb-project.org
[mailto:users-bounces@admb-project.org] <b>On Behalf Of </b>jnancheta<br>
<b>Sent:</b> Wednesday, June 17, 2009 4:45 PM<br>
<b>To:</b> users@admb-project.org<br>
<b>Subject:</b> [ADMB Users] Fwd: Joining Google Group to add Subject Thread.<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p>
<div>
<p class=MsoNormal>---------- Forwarded message ----------<br>
From: <b>Mitchell Gillespie</b> <<a href="mailto:mgillesp@uoguelph.ca">mgillesp@uoguelph.ca</a>><br>
Date: Wed, Jun 17, 2009 at 9:32 AM<br>
Subject: Re: Joining Google Group to add Subject Thread.<br>
To: jnancheta <<a href="mailto:jnancheta@gmail.com">jnancheta@gmail.com</a>><br>
<br>
<br>
Hi Johnoel,<br>
<br>
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..<br>
<br>
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. <br>
<br>
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'<br>
<br>
Is this possible to do? And/or do you understand what we are
trying to accomplish?<br>
<br>
Thanks,<br>
Mitch<o:p></o:p></p>
<div>
<div>
<p class=MsoNormal style='margin-bottom:12.0pt'><br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class=MsoNormal>On Tue, Jun 16, 2009 at 1:58 PM, jnancheta <<a
href="mailto:jnancheta@gmail.com" target="_blank">jnancheta@gmail.com</a>>
wrote:<o:p></o:p></p>
<p class=MsoNormal style='margin-bottom:12.0pt'>Hi Mitchell,<br>
<br>
May I take a look at the model's tpl file?<br>
<br>
Johnoel<o:p></o:p></p>
<div>
<p class=MsoNormal>On Mon, Jun 15, 2009 at 6:59 AM, <a
href="mailto:Mitchell.Gillespie@gmail.com" target="_blank">Mitchell.Gillespie@gmail.com</a>
<<a href="mailto:mitchell.gillespie@gmail.com" target="_blank">mitchell.gillespie@gmail.com</a>>
wrote:<o:p></o:p></p>
<p class=MsoNormal>Hello,<br>
<br>
My name is Mitchell Gillespie, and I have currently joined Steve<br>
Crawford from the University of Guelph, Integrative Biology Department<br>
as a Computer Science Graduate Research Intern.<br>
<br>
I am currently running the ADMB software on a Debian/Linux AMD64<br>
Machine, and the installation ran smoothly, yet when I attempted to<br>
run a ADMB model created in 2005 I ran into some C++ errors as the<br>
complier did not accept the 'itoa' functions created by your library.<br>
I have scanned through the dynamically created C++ code and changed<br>
all implementations of the itoa() calls to a std::stringstream<br>
implementation.<br>
<br>
I hope that explanation made sense, but otherwise, I simply wish to<br>
add this subject/thread to the google group in the hopes to help<br>
prevent other individuals from running into this problem. If you<br>
could please add me as a group member, I would greatly appreciate it!<br>
<br>
Thank you very much for your support!<br>
<span style='color:#888888'>Mitchell Gillespie</span><o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
<p class=MsoNormal><br>
<br clear=all>
<o:p></o:p></p>
</div>
</div>
<p class=MsoNormal>-- <br>
Mitchell Gillespie<br>
MSc. Candidate - Applied Computer Science<br>
University of Guelph<br>
<a href="mailto:mgillesp@uoguelph.ca" target="_blank">mgillesp@uoguelph.ca</a><br>
Home: (519) 265 4747<br>
-----------------------------<br>
It has become appallingly obvious that our technology has exceeded our
humanity. ~Albert Einstein<br>
The saddest aspect of life right now is that science gathers knowledge faster
than society gathers wisdom. ~Isaac Asimov<br>
------------------------------<o:p></o:p></p>
</div>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</div>
</body>
</html>