If you are trying to call COIN solvers from Matlab, you might save yourself some trouble looking at this:<br><br><a href="http://www.i2c2.aut.ac.nz/Wiki/OPTI/index.php/Main/WhatIsOPTI">http://www.i2c2.aut.ac.nz/Wiki/OPTI/index.php/Main/WhatIsOPTI</a>?<br>

<br>I haven&#39;t used it, but it looks pretty complete and well-supported.<br><br>Cheers,<br><br>Ted<br><br><div class="gmail_quote">On Thu, Mar 21, 2013 at 12:49 AM, alex Dowson <span dir="ltr">&lt;<a href="mailto:alexdowson@hotmail.com" target="_blank">alexdowson@hotmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear John<br>
<br>
Thank you for code. I will try this.<br>
<br>
Actually I wanted to make .mex file for matlab that I can call clp  SLP solver from matlab so I have to understand how can pass<br>
function and constraint from matlab without .mps file.<br>
<br>
Also sorry about duplicate post I will follow rules.<div class="im"><br>
<br>
<br>
<br>
Alex<br>
<br>
<br>
-----Original Message----- From: John Forrest<br></div>
Sent: Wednesday, March 20, 2013 8:16 PM<br>
Cc: <a href="mailto:clp@list.coin-or.org" target="_blank">clp@list.coin-or.org</a><div class="im HOEnZb"><br>
Subject: Re: [Clp] ClpSimplexNonlinear question<br>
<br></div><div class="HOEnZb"><div class="h5">
Alex,<br>
<br>
I modified an example and attach it and solution log.  I ran it as<br>
<br>
 testQP2 ../../../Data/Sample/share2qp.<u></u>mps<br>
<br>
that should show you how to load a model and a quadratic function. With<br>
current code constraints are linear.<br>
<br>
John Forrest<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br></div></div><div class="HOEnZb"><div class="h5">
______________________________<u></u>_________________<br>
Clp mailing list<br>
<a href="mailto:Clp@list.coin-or.org" target="_blank">Clp@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/<u></u>mailman/listinfo/clp</a> <br>
______________________________<u></u>_________________<br>
Clp mailing list<br>
<a href="mailto:Clp@list.coin-or.org" target="_blank">Clp@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/clp" target="_blank">http://list.coin-or.org/<u></u>mailman/listinfo/clp</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Dr. Ted Ralphs<br>Associate Professor, Lehigh University<br>(610) 628-1280<br>ted &#39;at&#39; lehigh &#39;dot&#39; edu<br><a href="http://coral.ie.lehigh.edu/~ted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>