<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;">Dear Prof. Pietro Belotti<br>First of all thanks for your reply.<br>I am not&nbsp; much used to with AMPL.&nbsp; Currently what&nbsp; i am doing is the&nbsp; following.<br>I prepare a problem.nl&nbsp; file using AMPL.<br>Then&nbsp; I run couenne independently at command line (./couenne&nbsp; ./problem.nl)<br>Then I get the file&nbsp; problem.sol<br>Can I read the file problem.sol using AMPL&nbsp; and get the values of variables now?<br>Or I need to call couenne using AMPL instead&nbsp; of command line? <br>Thanks in advance<br><br><br>Ehsan Ullah<br>
PhD student<br>
Lehrstuhl für Symbolic Computation<br>
Passau Universität<br>
Germany<br>
Ph# 0049-851-2016296<br>
Mobile: 0049-176-45196854<br>
Email: ehsanmath@yahoo.com<br><br>--- On <b>Mon, 5/7/10, Pietro Belotti <i>&lt;belotti@Lehigh.EDU&gt;</i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Pietro Belotti &lt;belotti@Lehigh.EDU&gt;<br>Subject: Re: [Couenne] Couenne_Optimal_point<br>To: "ehsan ullah" &lt;ehsanmath@yahoo.com&gt;<br>Cc: couenne@list.coin-or.org<br>Date: Monday, 5 July, 2010, 5:28 PM<br><br><div class="plainMail">Dear Ehsan,<br><br>&gt; If I have a MINLP, and&nbsp; i want to&nbsp; find the optimal value as well as the point(optimal point) at&nbsp; which the objective function achieves optimal value then&nbsp; is there any way to do it in Couenne.<br><br>Couenne, for now, accepts instances through AMPL. After solving the problem stored in the file /my/directory/problem.nl, The AMPL interface stores a text file /my/directory/problem.sol with an optimal solution. This format is readable from AMPL, and I
 don't know if other programs can read it. However, if you know the number of variables n, it seems that the last n lines of that .sol file contain the optimal solution. As I said, I don't know if this works all the time and if this is the official way to read a .sol file.<br><br>Hope this helps.<br><br>Regards,<br>Pietro<br><br><br><br>_________________________________________<br>Pietro Belotti, Lehigh University<br>Dept. of Industrial and Systems Engineering<br>200 W Packer Ave, Bethlehem PA 18015.<br>phone: 610-758-3865&nbsp;&nbsp;&nbsp;fax: 610-758-4886<br>email: <a ymailto="mailto:belotti@lehigh.edu" href="/mc/compose?to=belotti@lehigh.edu">belotti@lehigh.edu</a><br>web:&nbsp;&nbsp;&nbsp;<a href="http://www.lehigh.edu/%7Epib208" target="_blank">http://www.lehigh.edu/~pib208</a><br><br><br>On 07/05/2010, ehsan ullah &lt;<a ymailto="mailto:ehsanmath@yahoo.com" href="/mc/compose?to=ehsanmath@yahoo.com">ehsanmath@yahoo.com</a>&gt; wrote:<br><br>&gt;
 Dear Couenne Team<br>&gt; I have&nbsp; just&nbsp; started using&nbsp; Couenne. I am writing you&nbsp; to as just a short question.<br>&gt; If I have a MINLP, and&nbsp; i want to&nbsp; find the optimal value as well as the point(optimal point) at&nbsp; which the objective function achieves optimal value then&nbsp; is there any way to do it in Couenne.<br>&gt; I am running Couenne with command line and i get only the value of objective function.<br>&gt; I shall be thankful for reply<br>&gt; thanks in&nbsp; advance<br>&gt; Ehsan Ullah<br>&gt; PhD&nbsp; student<br>&gt; Lehrstuhl für Symbolic Computation<br>&gt; Passau Universität<br>&gt; Germany<br>&gt; Ph# 0049-851-2016296<br>&gt; Mobile: 0049-176-45196854<br>&gt; Email: <a ymailto="mailto:ehsanmath@yahoo.com" href="/mc/compose?to=ehsanmath@yahoo.com">ehsanmath@yahoo.com</a><br>&gt; <br>&gt; <br>&gt; <br><br><br><br>----------------------------------------------------------------<br>This message was sent
 using IMP, the Internet Messaging Program.<br></div></blockquote></td></tr></table><br>