<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 much used to with AMPL. Currently what i am doing is the following.<br>I prepare a problem.nl file using AMPL.<br>Then I run couenne independently at command line (./couenne ./problem.nl)<br>Then I get the file problem.sol<br>Can I read the file problem.sol using AMPL and get the values of variables now?<br>Or I need to call couenne using AMPL instead 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><belotti@Lehigh.EDU></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Pietro Belotti <belotti@Lehigh.EDU><br>Subject: Re: [Couenne] Couenne_Optimal_point<br>To: "ehsan ullah" <ehsanmath@yahoo.com><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>> If I have a MINLP, and i want to find the optimal value as well as the point(optimal point) at which the objective function achieves optimal value then 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 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: <a href="http://www.lehigh.edu/%7Epib208" target="_blank">http://www.lehigh.edu/~pib208</a><br><br><br>On 07/05/2010, ehsan ullah <<a ymailto="mailto:ehsanmath@yahoo.com" href="/mc/compose?to=ehsanmath@yahoo.com">ehsanmath@yahoo.com</a>> wrote:<br><br>>
Dear Couenne Team<br>> I have just started using Couenne. I am writing you to as just a short question.<br>> If I have a MINLP, and i want to find the optimal value as well as the point(optimal point) at which the objective function achieves optimal value then is there any way to do it in Couenne.<br>> I am running Couenne with command line and i get only the value of objective function.<br>> I shall be thankful for reply<br>> thanks in advance<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: <a ymailto="mailto:ehsanmath@yahoo.com" href="/mc/compose?to=ehsanmath@yahoo.com">ehsanmath@yahoo.com</a><br>> <br>> <br>> <br><br><br><br>----------------------------------------------------------------<br>This message was sent
using IMP, the Internet Messaging Program.<br></div></blockquote></td></tr></table><br>