[Couenne] post, couenne, matlab

Manuel Ruiz manuel.jean.ruiz at gmail.com
Fri Mar 29 07:09:54 EDT 2019


Dear Ning,
There is a matlab API for AMPL :
https://ampl.com/api/latest/matlab/index.html

Manuel.

Le mer. 27 mars 2019 à 20:25, Pietro Belotti <pbelotti at gmx.com> a écrit :

> Hi Ning,
>
> 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.
>
> 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.
>
> 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).
>
> Hope this helps. Regards,
> Pietro
>
> *Sent:* Wednesday, March 27, 2019 at 6:20 PM
> *From:* "Ning Wang" <ning5 at ualberta.ca>
> *To:* couenne at list.coin-or.org
> *Subject:* [Couenne] post, couenne, matlab
> Hi,
>
> 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 ).
>
> 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.
>
> I found a related issue on the internet. In 2011, Pietro Belotti suggested
> a try by writing a .nl file from matlab and then run Couenne as a shell
> script from Matlab and read the .sol file. Is there any new progress in
> this issue?
>
> Thank you very much for your time!
>
> Bests,
> Ning Wang
>
>
>
> _______________________________________________ Couenne mailing list
> Couenne at list.coin-or.org https://list.coin-or.org/mailman/listinfo/couenne
> _______________________________________________
> Couenne mailing list
> Couenne at list.coin-or.org
> https://list.coin-or.org/mailman/listinfo/couenne
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/couenne/attachments/20190329/5db8ed21/attachment.html>


More information about the Couenne mailing list