[Couenne] Couenne_Optimal_point
ehsan ullah
ehsanmath at yahoo.com
Tue Jul 6 10:13:40 EDT 2010
Dear Prof. Pietro Belotti
First of all thanks for your reply.
I am not much used to with AMPL. Currently what i am doing is the following.
I prepare a problem.nl file using AMPL.
Then I run couenne independently at command line (./couenne ./problem.nl)
Then I get the file problem.sol
Can I read the file problem.sol using AMPL and get the values of variables now?
Or I need to call couenne using AMPL instead of command line?
Thanks in advance
Ehsan Ullah
PhD student
Lehrstuhl für Symbolic Computation
Passau Universität
Germany
Ph# 0049-851-2016296
Mobile: 0049-176-45196854
Email: ehsanmath at yahoo.com
--- On Mon, 5/7/10, Pietro Belotti <belotti at Lehigh.EDU> wrote:
From: Pietro Belotti <belotti at Lehigh.EDU>
Subject: Re: [Couenne] Couenne_Optimal_point
To: "ehsan ullah" <ehsanmath at yahoo.com>
Cc: couenne at list.coin-or.org
Date: Monday, 5 July, 2010, 5:28 PM
Dear Ehsan,
> 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.
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.
Hope this helps.
Regards,
Pietro
_________________________________________
Pietro Belotti, Lehigh University
Dept. of Industrial and Systems Engineering
200 W Packer Ave, Bethlehem PA 18015.
phone: 610-758-3865 fax: 610-758-4886
email: belotti at lehigh.edu
web: http://www.lehigh.edu/~pib208
On 07/05/2010, ehsan ullah <ehsanmath at yahoo.com> wrote:
> Dear Couenne Team
> I have just started using Couenne. I am writing you to as just a short question.
> 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.
> I am running Couenne with command line and i get only the value of objective function.
> I shall be thankful for reply
> thanks in advance
> Ehsan Ullah
> PhD student
> Lehrstuhl für Symbolic Computation
> Passau Universität
> Germany
> Ph# 0049-851-2016296
> Mobile: 0049-176-45196854
> Email: ehsanmath at yahoo.com
>
>
>
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/couenne/attachments/20100706/7542a485/attachment.html
More information about the Couenne
mailing list