<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<STYLE style="DISPLAY: none" type=text/css><!--P{margin-top:0;margin-bottom:0;} --></STYLE>
</HEAD>
<BODY 
style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri,Arial,Helvetica,sans-serif; COLOR: #000000; BACKGROUND-COLOR: #ffffff" 
dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>I think you’ll have to provide some simple example code of what you’re 
trying to do, and the error message in its entirety, for anyone to be able to 
tell exactly where the problem lies.</DIV>
<DIV>&nbsp;</DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV>&nbsp;</DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=rameshul@mail.uc.edu 
href="mailto:rameshul@mail.uc.edu">Ramesh, Ujwal (rameshul)</A> </DIV>
<DIV><B>Sent:</B> Wednesday, October 29, 2014 11:39 AM</DIV>
<DIV><B>To:</B> <A title=bonmin@list.coin-or.org 
href="mailto:bonmin@list.coin-or.org">bonmin@list.coin-or.org</A> </DIV>
<DIV><B>Subject:</B> [Bonmin] Unconstrained MINLP</DIV></DIV></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV 
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<P>Hi All,</P>
<P>&nbsp;</P>
<P>I am trying to run Bonmin for my application which is an unconstrained MINLP. 
I am calling Bonmin through a C++ interface.&nbsp; </P>
<P>&nbsp;</P>
<P>To invoke Bonmin, I need to define a few virtual functions inm y code. </P>
<P>&nbsp;</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>&nbsp;</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.&nbsp; </P>
<P>&nbsp;</P>
<P>Thanks a lot in advance.</P>
<P>&nbsp;</P>
<P>Regards,</P>
<DIV id=Signature>
<DIV style="FONT-SIZE: 13px; FONT-FAMILY: tahoma"><FONT size=4 
face=Verdana>Ujwal Ramesh</FONT> 
<DIV><FONT size=2 face=Verdana>Graduate Student,</FONT></DIV>
<DIV><FONT size=2 face=Verdana>University Of Cincinnati</FONT></DIV>
<DIV><FONT size=2 face=Verdana>Ph: +1-513-302-4771</FONT></DIV></DIV></DIV>
<P>
<HR>
_______________________________________________<BR>Bonmin mailing 
list<BR>Bonmin@list.coin-or.org<BR>http://list.coin-or.org/mailman/listinfo/bonmin<BR></DIV></DIV></DIV></BODY></HTML>