<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none"><!--P{margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi All,</p>
<p><br>
</p>
<p>I am trying to run Bonmin for my application which is an unconstrained MINLP. I am&nbsp;calling Bonmin&nbsp;through a C&#43;&#43; interface.&nbsp;
</p>
<p><br>
</p>
<p>To invoke Bonmin, I need to define a few virtual functions inm y code. </p>
<p><br>
</p>
<p>As my application is an unconstrained MINLP, I will not be defining the constraint variables, constraint functions,function to compute jacobian&nbsp;and the function to&nbsp;compute the hessian of the
<span class="st">Lagrangean (&nbsp;eval_g, eval_jac_g,eval_h etc.&nbsp;).</span></p>
<p><br>
<span class="st"></span></p>
<p>By not defining the above function I am initializing the respective vectors, matrices and the&nbsp;variables&nbsp;(number of non&nbsp;zeros in&nbsp;jacobian and&nbsp;hessian&nbsp;) to NULL but this is causing the solver to fail with a length error.</p>
<p><br>
</p>
<p>I am a rookie to optimization and any inputs as&nbsp;to what&nbsp;I am&nbsp;missing&nbsp;is much&nbsp;appreciated. I guess&nbsp;I am&nbsp;missing something&nbsp;conceptually as I have double checked&nbsp;syntactical/logical correctness of&nbsp;code.&nbsp;
</p>
<p><br>
</p>
<p>Thanks a lot in advance.</p>
<p><br>
</p>
<p>Regards,</p>
<div id="Signature">
<div style="font-family:Tahoma; font-size:13px"><font face="Verdana" size="4">Ujwal Ramesh</font>
<div><font face="Verdana" size="2">Graduate Student,</font></div>
<div><font face="Verdana" size="2">University Of Cincinnati</font></div>
<div><font face="Verdana" size="2">Ph: &#43;1-513-302-4771</font></div>
</div>
</div>
</body>
</html>