<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 calling Bonmin through a C++ interface.
</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 and the function to compute the hessian of the
<span class="st">Lagrangean ( eval_g, eval_jac_g,eval_h etc. ).</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 variables (number of non zeros in jacobian and hessian ) 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 to what I am missing is much appreciated. I guess I am missing something conceptually as I have double checked syntactical/logical correctness of code.
</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: +1-513-302-4771</font></div>
</div>
</div>
</body>
</html>