<html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
<div>Hi Ning,</div>

<div> </div>

<div>unfortunately nothing new on that side that I'm aware of. Couenne has two ways to read a problem: from a .nl file (which is generated by AMPL, hence the link between the two) or through an OSiL interface.</div>

<div> </div>

<div>For AMPL, you could instruct Matlab to create a .nl file, which is not straightforward but it is documented in two well-known articles: "Hooking your solver to AMPL" and "How to write .nl files", both by the authors of Ampl.</div>

<div> </div>

<div>Unfortunately I don't know anything about the OSiL interface, but you can read a lot about it on the Coin-OR project called OS (Optimization Services).</div>

<div> </div>

<div>Hope this helps. Regards,</div>

<div>Pietro</div>

<div> 
<div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
<div style="margin:0 0 10px 0;"><b>Sent:</b> Wednesday, March 27, 2019 at 6:20 PM<br/>
<b>From:</b> "Ning Wang" <ning5@ualberta.ca><br/>
<b>To:</b> couenne@list.coin-or.org<br/>
<b>Subject:</b> [Couenne] post, couenne, matlab</div>

<div name="quoted-content">
<div>
<div>
<div>
<div>
<div>Hi,
<div> </div>

<div>I am a PHD student from university of Alberta. Recently I encountered an QCQP optimization problem and the problem can be well solved by Couenne ( through neos ).</div>

<div> </div>

<div>My question is: is it possible to call couenne directly from matlab? I am not very good at AMPL and my original code is written in matlab. I need to run couenne many times, and rewrite the whole matlab code will cost me lots of time. </div>

<div> </div>

<div>I found a related issue on the internet. In 2011, Pietro Belotti suggested a try<span style="color: rgb(0,0,0);"> by </span><span style="color: rgb(0,0,0);">writing a .nl file from matlab and then </span><span style="color: rgb(0,0,0);">run Couenne as a shell script from Matlab and read the .sol file. Is there any new progress in this issue? </span></div>

<div> </div>

<div><span style="color: rgb(0,0,0);">Thank you very much for your time!</span></div>

<div> </div>

<div><span style="color: rgb(0,0,0);">Bests,</span></div>

<div><font color="#000000">Ning Wang</font></div>

<pre style="color: rgb(0,0,0);"> </pre>
</div>
</div>
</div>
</div>
</div>
_______________________________________________ Couenne mailing list Couenne@list.coin-or.org <a href="https://list.coin-or.org/mailman/listinfo/couenne" target="_blank">https://list.coin-or.org/mailman/listinfo/couenne</a></div>
</div>
</div>
</div></div></body></html>