<div dir="ltr"><div>Hi Stefan and Pietro,</div><div>A temporary way to download the AMPL solvers could be to use the HTTrack program (<a href="http://www.httrack.com/">http://www.httrack.com/</a> ). We can also find this program in apt repositories for Ubuntu users and we can use its console version by the command httrack, fact that allow us to write a script. With this program, we can download the directory <a href="http://www.netlib.org/ampl/solvers/">http://www.netlib.org/ampl/solvers/</a> completely. I used HTTrack in its web browser version, but I think that it's possible to write a script with it.</div>
<div>It's just an idea.</div><div>Now, I have to learn how to use Couenne. :-)</div><div>Thank you so much.</div><div>Virginia.</div><div>-- <br></div><div><div>Programa de Engenharia de Sistemas e Computação</div>PESC/COPPE/UFRJ<br>
Visite nossa página web: <a href="http://www.cos.ufrj.br/" target="_blank">http://www.cos.ufrj.br</a></div><div>Visite a página de nossa universidade: <a href="http://www.ufrj.br/#">http://www.ufrj.br</a><br><div>Skype: virscosta</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/8/14 Stefan Vigerske <span dir="ltr"><<a href="mailto:stefan@math.hu-berlin.de" target="_blank">stefan@math.hu-berlin.de</a>></span><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi,<br>
<br>
the latest stable branches and releases of ThirdParty projects have some workarounds for the broken FTP access to netlib.<br>
For Blas and Lapack, they use HTTP access.<br>
For ASL, this does not work (there is no solvers.tar via http), but it now downloads from the Sandia mirror, if netlib-ftp doesn't work. Unfortunately, also <a href="http://sandia.gov" target="_blank">sandia.gov</a> was offline from time to time recently.<br>
<br>
Anyhow, we are working on a solution that makes us more independent of netlib (and more dependent on the coin-or server, instead).<br>
<br>
Stefan<div><div class="h5"><br>
<br>
On 08/14/2013 11:27 AM, Pietro Belotti wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
I had some problem with the netlib FTP server before. Stefan, is there any<br>
other URL we can wget those files from?<br>
<br>
Pietro<br>
<br>
<br>
On Wed, Aug 14, 2013 at 1:37 AM, Virginia Costa <<a href="mailto:virscosta@gmail.com" target="_blank">virscosta@gmail.com</a>> wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
Hello Pietro and Stefan,<br>
<br>
Thanks so much for your help!<br>
It's working now! The binary file of Couenne was generated.<br>
But the get.* script of ASL directory is not ok. We can't download the<br>
solvers.tar from Netlib ftp site. I had to download each file of ampl from<br>
http site.<br>
Great!!! :-)<br>
Thanks one more time.<br>
Virginia.<br>
<br>
<br>
2013/8/13 Pietro Belotti <<a href="mailto:petr.7b6@gmail.com" target="_blank">petr.7b6@gmail.com</a>><br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
Hi Virginia,<br>
<br>
the libraries can be built without ASL, but the Couenne executable needs<br>
the ASL, which you can download in the ThirdParty directories. You should<br>
most of the ThirdParty software (ASL, Blas, Lapack, Metis, Mumps are<br>
required) with the get.* scripts in each of the subdirectories of<br>
ThirdParty, and then remove the option "--without-asl" from the configure<br>
command.<br>
<br>
Pietro<br>
<br>
<br>
On Tue, Aug 13, 2013 at 11:43 PM, Virginia Costa <<a href="mailto:virscosta@gmail.com" target="_blank">virscosta@gmail.com</a>>wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
Hi Pietro,<br>
<br>
Yes, I saw this explanation in the Couenne documentation. But, I don't<br>
know what happens that there are just these files in Couenne/src/main/<br>
directory:<br>
BonCouenneSetup.lo CouenneBab.lo libBonCouenne.la Makefile<br>
SmartAslDestr.lo<br>
<br>
I did the following:<br>
<br>
1) download the couenne package (v. 0.4.4).<br>
2) extract the files in home.<br>
3) cd Couenne, mkdir build and cd build;<br>
4) ../configure -C --without-asl --without-scip<br>
5) make<br>
6) make install.<br>
<br>
It creates the following directories inside build:<br>
<br>
drwxrwxr-x 16 virscosta virscosta 4096 Ago 13 16:01 .<br>
drwxr-xr-x 14 virscosta virscosta 4096 Ago 13 15:42 ..<br>
drwxrwxr-x 2 virscosta virscosta 4096 Ago 13 16:01 bin<br>
drwxrwxr-x 6 virscosta virscosta 4096 Ago 13 15:37 Bonmin<br>
drwxrwxr-x 6 virscosta virscosta 4096 Ago 13 15:37 Cbc<br>
drwxrwxr-x 6 virscosta virscosta 4096 Ago 13 15:37 Cgl<br>
drwxrwxr-x 6 virscosta virscosta 4096 Ago 13 15:37 Clp<br>
-rw-rw-r-- 1 virscosta virscosta 62 Ago 13 15:36 coin_subdirs.txt<br>
drwxrwxr-x 5 virscosta virscosta 4096 Ago 13 15:37 CoinUtils<br>
-rw-rw-r-- 1 virscosta virscosta 9047 Ago 13 15:37 config.cache<br>
-rw-rw-r-- 1 virscosta virscosta 45899 Ago 13 15:37 config.log<br>
-rwxrwxr-x 1 virscosta virscosta 32232 Ago 13 15:36 config.status<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 15:37 Couenne<br>
drwxrwxr-x 2 virscosta virscosta 4096 Ago 13 15:36 doxydoc<br>
drwxrwxr-x 3 virscosta virscosta 4096 Ago 13 16:01 include<br>
drwxrwxr-x 7 virscosta virscosta 4096 Ago 13 15:37 Ipopt<br>
drwxrwxr-x 3 virscosta virscosta 4096 Ago 13 16:01 lib<br>
-rwxrwxr-x 1 virscosta virscosta 228735 Ago 13 15:36 libtool<br>
-rw-rw-r-- 1 virscosta virscosta 24770 Ago 13 15:36 Makefile<br>
drwxrwxr-x 6 virscosta virscosta 4096 Ago 13 15:37 Osi<br>
drwxrwxr-x 3 virscosta virscosta 4096 Ago 13 16:01 share<br>
drwxrwxr-x 3 virscosta virscosta 4096 Ago 13 15:36 ThirdParty<br>
<br>
Inside Couenne, I have:<br>
<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 15:37 .<br>
drwxrwxr-x 16 virscosta virscosta 4096 Ago 13 16:01 ..<br>
-rw-rw-r-- 1 virscosta virscosta 42626 Ago 13 15:37 config.log<br>
-rwxrwxr-x 1 virscosta virscosta 53831 Ago 13 15:37 config.status<br>
-rw-rw-r-- 1 virscosta virscosta 352 Ago 13 15:37 couenne.pc<br>
-rw-rw-r-- 1 virscosta virscosta 760 Ago 13 15:37<br>
couenne-uninstalled.pc<br>
-rw-rw-r-- 1 virscosta virscosta 37695 Ago 13 15:37 Makefile<br>
drwxrwxr-x 16 virscosta virscosta 4096 Ago 13 16:00 src<br>
drwxrwxr-x 2 virscosta virscosta 4096 Ago 13 15:37 test<br>
<br>
Inside src:<br>
<br>
drwxrwxr-x 16 virscosta virscosta 4096 Ago 13 16:00 .<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 15:37 ..<br>
drwxrwxr-x 5 virscosta virscosta 4096 Ago 13 15:59 bound_tightening<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 16:00 branch<br>
-rw-rw-r-- 1 virscosta virscosta 544 Ago 13 15:37 config_couenne.h<br>
-rw-rw-r-- 1 virscosta virscosta 3549 Ago 13 15:37 config.h<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 15:59 convex<br>
drwxrwxr-x 3 virscosta virscosta 4096 Ago 13 15:37 cut<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 16:00 disjunctive<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 15:58 expression<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 16:00 heuristics<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 16:00 interfaces<br>
-rw-rw-r-- 1 virscosta virscosta 837 Ago 13 16:00 libCouenne.la<br>
drwxrwxr-x 2 virscosta virscosta 4096 Ago 13 16:00 .libs<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 16:01 main<br>
-rw-rw-r-- 1 virscosta virscosta 35886 Ago 13 15:37 Makefile<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 15:58 problem<br>
drwxrwxr-x 3 virscosta virscosta 4096 Ago 13 15:37 readnl<br>
-rw-rw-r-- 1 virscosta virscosta 27 Ago 13 15:37 stamp-h1<br>
-rw-rw-r-- 1 virscosta virscosta 35 Ago 13 15:37 stamp-h2<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 15:58 standardize<br>
drwxrwxr-x 4 virscosta virscosta 4096 Ago 13 15:56 util<br>
<br>
Inside main, just this: BonCouenneSetup.lo CouenneBab.lo<br>
libBonCouenne.la Makefile SmartAslDestr.lo<br>
<br>
Do you have any idea what happened?<br>
Many Thanks.<br>
Virginia.<br>
<br>
<br>
<br>
<br>
2013/8/13 Pietro Belotti <<a href="mailto:petr.7b6@gmail.com" target="_blank">petr.7b6@gmail.com</a>><br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
Virginia,<br>
<br>
it depends on what you set with the --prefix option in configure, if<br>
you used it. If you want to have the executable in $HOME/bin, then you<br>
should give the option<br>
<br>
--prefix=$HOME<br>
<br>
Otherwise, the executable should be in Couenne/src/main/couenne, from<br>
the directory where you launched the make command.<br>
<br>
Regards,<br>
Pietro<br>
<br>
<br>
On Tue, Aug 13, 2013 at 7:05 PM, Virginia Costa <<a href="mailto:virscosta@gmail.com" target="_blank">virscosta@gmail.com</a>>wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
Hi again,<br>
<br>
Now, I try to install Couenne with --without-scip confguration option.<br>
There was no more erros. So, I executed "make install". But, when I look<br>
inside the bin directory, there's no couenne binary file.<br>
Do you know what I did wrong?<br>
Many Thanks.<br>
Virginia.<br>
<br>
<br>
2013/8/13 Stefan Vigerske <<a href="mailto:stefan@math.hu-berlin.de" target="_blank">stefan@math.hu-berlin.de</a>><br>
<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
Hi,<br>
<br>
<br>
On 08/13/2013 07:42 PM, Virginia Costa wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Hi Stefan,<br>
<br>
Thanks for your answer. I have another question: what about SCIP?<br>
Does<br>
couenne need it to run?<br>
After your answer, I try to build again the package with<br>
--without-glpk<br>
configure option. There's no more error with amd.h, but, now, scip is<br>
returning some errors.<br>
Do you know if scip is necessary to install Couenne?<br>
<br>
</blockquote>
<br>
No, SCIP may only used in the feaspump heuristic, which is off by<br>
default.<br>
<br>
Stefan<br>
<br>
Thanks one more time.<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
Virginia.<br>
<br>
<br>
2013/8/13 Stefan Vigerske <<a href="mailto:stefan@math.hu-berlin.de" target="_blank">stefan@math.hu-berlin.de</a>><br>
<br>
Hi,<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
<br>
your Glpk installation does not seem to bring the amd.h that<br>
usually comes<br>
with Glpk. Clp assumes that if it has Glpk, then also amd.h will be<br>
available.<br>
However, Couenne does not make any use of Glpk, there is no need to<br>
include it.<br>
Further, if you have blas and lapack installed in your system, then<br>
it<br>
should be picked up by configure automatically.<br>
<br>
Stefan<br>
<br>
<br>
<br>
On 08/13/2013 04:04 AM, Virginia Costa wrote:<br>
<br>
Hello everybody,<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div><div class="h5">
I'm a new user of Couenne and I'd like to install this package in<br>
my<br>
machine, which has Ubuntu 13.04. I tried to install it so many<br>
times, but,<br>
unfortunately, I didn't get it.<br>
<br>
I downloaded the Couenne package by svn, as follows:<br></div></div>
svn co <a href="https://projects.coin-or.org/****svn/Couenne/stable/0.4" target="_blank">https://projects.coin-or.org/*<u></u>***svn/Couenne/stable/0.4</a><<a href="https://projects.coin-or.org/**svn/Couenne/stable/0.4" target="_blank">http<u></u>s://projects.coin-or.org/**<u></u>svn/Couenne/stable/0.4</a>><br>
<https:**//<a href="http://projects.coin-or.org/svn/**Couenne/stable/0.4" target="_blank">projects.coin-or.<u></u>org/svn/**Couenne/stable/0.4</a><<a href="https://projects.coin-or.org/svn/Couenne/stable/0.4" target="_blank">h<u></u>ttps://projects.coin-or.org/<u></u>svn/Couenne/stable/0.4</a>><div class="im">
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Couenne<br>
</blockquote>
<br>
<br>
In the operation system, I have glpk, zlib, blas and lapack<br>
installed. I<br>
also installed soplex 1.7.0 in the ThirdParty directory and I<br>
installed<br>
the packages Metis, SCIP and Mumps by using the get.XXXX script,<br>
avaiable<br>
inside the Couenne package.<br>
<br>
After all, I configure the package as following:<br>
<br>
#!/bin/bash<br>
GLPKLIB="/usr/lib"<br>
GLPKINC="/usr/include"<br>
BLASLIB="/usr/lib/libblas"<br>
LAPACKLIB="/usr/lib/lapack"<br>
<br>
../configure -C --with-glpk-lib=${GLPKLIB}<br>
--with-glpk-incdir=${GLPKINC}<br>
--with-blas-lib=${BLASLIB} --with-lapack-lib=${LAPACKLIB}<br>
--without-asl<br>
--with-gnu-ld<br>
<br>
And I got the output showed in the file attached.<br>
<br>
When I try to buid the package, It's returns the following error:<br>
<br>
(...)<br>
<br>
g++ -DHAVE_CONFIG_H -I. -I../../../Clp/src<br></div>
-I/home/virscosta/coinor/****<u></u>Couenne/ThirdParty/Mumps/****<br>
MUMPS/libseq<br>
-I/home/virscosta/coinor/****<u></u>Couenne/ThirdParty/Mumps/****<br>
MUMPS/include<br>
-I/home/virscosta/coinor/****<u></u>Couenne/ThirdParty/Metis/****<br>
metis-4.0/Lib<br>
-I/usr/include -I/home/virscosta/coinor/****<u></u>Couenne/CoinUtils/src<br>
-I/home/virscosta/coinor/****<u></u>Couenne/build/CoinUtils/src<div class="im"><br>
-DCOIN_HAS_CLP -O3<br>
<br>
-pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type<br>
-Wcast-qual<br>
-Wall -Wpointer-arith -Wwrite-strings -Wconversion<br>
-Wno-unknown-pragmas<br>
-Wno-long-long -DCLP_BUILD -MT ClpCholeskyUfl.lo -MD -MP -MF<br></div>
.deps/ClpCholeskyUfl.Tpo -c ../../../Clp/src/****<u></u>ClpCholeskyUfl.cpp<br>
-fPIC<br>
-DPIC -o .libs/ClpCholeskyUfl.o<br>
../../../Clp/src/****<u></u>ClpCholeskyUfl.cpp:13:17: fatal error:<div class="im"><br>
amd.h: No such<br>
<br>
file<br>
or directory<br>
compilation terminated.<br>
make[4]: ** [ClpCholeskyUfl.lo] Erro 1<br>
make[4]: Saindo do diretório `/home/virscosta/coinor/**<br>
<br>
Couenne/build/Clp/src'<br>
make[3]: ** [all-recursive] Erro 1<br>
make[3]: Saindo do diretório `/home/virscosta/coinor/**<br>
<br>
Couenne/build/Clp/src'<br>
make[2]: ** [all] Erro 2<br>
make[2]: Saindo do diretório `/home/virscosta/coinor/**<br>
<br>
Couenne/build/Clp/src'<br>
make[1]: ** [all-recursive] Erro 1<br></div>
make[1]: Saindo do diretório `/home/virscosta/coinor/****<div class="im"><br>
Couenne/build/Clp'<br>
<br>
make: ** [all-recursive] Erro 1<br>
<br>
<br>
Could somebody help me please?<br>
<br>
Thanks for advance.<br>
<br>
Virginia Costa<br>
<br>
<br>
<br></div>
______________________________<u></u>****_________________<br>
Couenne mailing list<br>
<a href="mailto:Couenne@list.coin-or.org" target="_blank">Couenne@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/****mailman/listinfo/couenne" target="_blank">http://list.coin-or.org/****<u></u>mailman/listinfo/couenne</a><<a href="http://list.coin-or.org/**mailman/listinfo/couenne" target="_blank">http:<u></u>//list.coin-or.org/**mailman/<u></u>listinfo/couenne</a>><br>
<http:**//<a href="http://list.coin-or.org/mailman/**listinfo/couenne" target="_blank">list.coin-or.org/<u></u>mailman/**listinfo/couenne</a><<a href="http://list.coin-or.org/mailman/listinfo/couenne" target="_blank">htt<u></u>p://list.coin-or.org/mailman/<u></u>listinfo/couenne</a>><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<br>
</blockquote>
<br>
<br>
<br>
</blockquote>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</blockquote><div class="im">
<br>
<br>
--<br>
Programa de Engenharia de Sistemas e Computação<br>
PESC/COPPE/UFRJ<br>
Visite nossa página web (<a href="http://www.cos.ufrj.br" target="_blank">http://www.cos.ufrj.br</a>)<br>
Skype: virscosta<br>
<br>
______________________________<u></u>_________________<br>
Couenne mailing list<br>
<a href="mailto:Couenne@list.coin-or.org" target="_blank">Couenne@list.coin-or.org</a><br>
<a href="http://list.coin-or.org/mailman/listinfo/couenne" target="_blank">http://list.coin-or.org/<u></u>mailman/listinfo/couenne</a><br>
<br>
</div></blockquote>
<br>
<br>
</blockquote><div class="im">
<br>
<br>
--<br>
Programa de Engenharia de Sistemas e Computação<br>
PESC/COPPE/UFRJ<br>
Visite nossa página web (<a href="http://www.cos.ufrj.br" target="_blank">http://www.cos.ufrj.br</a>)<br>
Skype: virscosta<br>
<br>
</div></blockquote>
<br>
<br>
</blockquote><div class="im">
<br>
<br>
--<br>
Programa de Engenharia de Sistemas e Computação<br>
PESC/COPPE/UFRJ<br>
Visite nossa página web (<a href="http://www.cos.ufrj.br" target="_blank">http://www.cos.ufrj.br</a>)<br>
Skype: virscosta<br>
<br>
</div></blockquote>
<br>
</blockquote>
<br>
</blockquote></div><br><br clear="all"><div><br></div><br>
</div></div>