[Couenne] Reading couenne.opt

Pietro Belotti belotti at lehigh.edu
Wed Dec 30 04:10:09 EST 2009


Dear Sismail,

> thank you very much for your remark about the file "couenne.opt". However,
> my application can not read couenne.opt which I have placed within MyExample
> directory, copied from CppExample in Bonmin directory.

That is a way to develop Bonmin applications. In order to build a  
Couenne application, you should specialize BonCouenne.cpp,  
BonCouenneSetup.*, and BonCouenneInterface.* in the directory  
Couenne/src/main. If you have the trunk version of Couenne, you may  
also want to have a look at Couenne.cpp, which has a more flexible way  
to configure the solver and the solver interface. The option file  
couenne.opt is read by readOptionsFile(), which is called by  
CouenneSetup::InitializeCouenne() in BonCouenneSetup.cpp.

> Thus Makefile, Makefile.in and MyBonmin.cpp are appropriate for a BonMin
> application but not for a Couenne application. I apologize for such error
> and I appreciate to know how you write appropriate Makefile, Makefile.in and
> MyCouenne.cpp files for a couenne application.

I think you should start from the Makefile.am and BonCouenne.cpp or  
Couenne.cpp in that directory. Makefile and Makefile.in are  
automatically generated, and it is usually not suggested to modify  
them directly.

Hope this helps.

Cheers,
Pietro

_________________________________________
Pietro Belotti, Lehigh University
Dept. of Industrial & 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 12/28/2009, ksismail <ksismail1 at gmail.com> wrote:

> Dear Pietro,
>
> thank you very much for your remark about the file "couenne.opt". However,
> my application can not read couenne.opt which I have placed within MyExample
> directory, copied from CppExample in Bonmin directory.
>
> Thus Makefile, Makefile.in and MyBonmin.cpp are appropriate for a BonMin
> application but not for a Couenne application. I apologize for such error
> and I appreciate to know how you write appropriate Makefile, Makefile.in and
> MyCouenne.cpp files for a couenne application.
>
> Best Wishes,
>
> ksismail
>



----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.



More information about the Couenne mailing list