<div>Dear Paul,</div><div><br></div><div>Global variables and a function</div><div><br></div><div>Or you could use functor/object if you are familiar with c++.</div><div> </div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

Dear All,</blockquote><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><blockquote><br></blockquote><blockquote>I am new to GAlib, and I am studying the examples that accompany</blockquote>

<blockquote>GAlib. Now, I have a question: how can one pass parameters to the</blockquote><blockquote>objective function?</blockquote><blockquote><br></blockquote><blockquote>Please, be patient with me if you find my question too basic!</blockquote>

<blockquote><br></blockquote><blockquote>Thanks in advance,</blockquote><blockquote><br></blockquote><blockquote>Paul</blockquote></span>______________<br>Guillaume Massé<br>École polytechnique de Montréal<br><a href="http://www.info.polymtl.ca/~gumasa/">http://www.info.polymtl.ca/~gumasa/</a><br>


<br><br><div class="gmail_quote">On Tue, Jun 29, 2010 at 13:02,  <span dir="ltr">&lt;<a href="mailto:galib-request@mit.edu">galib-request@mit.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

 [galib] Newbie question: how to pass parameters to the</blockquote></div><br>