Hi Ted:<br><br>Sorry to disturb you again. <br>I still have some problem with GLPK.<br><br>upon downloading SYMPHONY-5.3.4<br><br>cd symphony-5.3.4<br>$cp ThirdParty/Glpk/glpk.patch . <br>(I need to do that because otherwise, when I run the script, the patch could not be found)<br>
$ThirdParty/Glpk/get.Glpk <br>$cd Glpk <br>./configure <br>make <br>sudo make install <br>(in my system, glpk will be install into /usr/local/lib and /usr/local/include) <br>$cd ..<br>$./configure --with-glpk-incdir=/usr/local/include --with-glpk-lib="-L/usr/local/lib -lglpk" <br>
(in found this in the archive of the mailing list <br><a href="http://list.coin-or.org/pipermail/symphony/2006-December/000269.html">http://list.coin-or.org/pipermail/symphony/2006-December/000269.html</a>) <br><br>This, however, doesn't work<br>
As I can verify later that the the file master_wrapper.c is still compiled without USE_GLPMPL defined. <br><br>A look at config.site suggests that --with-gmpl should be added <br>$./configure --with-glpk-incdir=/usr/local/include --with-glpk-lib="-L/usr/local/lib -lglpk" --with-gmpl <br>
<br>This solves the problem of defining USE_GLPMPL <br>However, I got this error <br>glpmpl.h: No such file or directory<br><br>It turns out that this file is in glpk/src <br>so I manually include this path <br><br>Finally, I got these errors<br>
<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:263: undefined reference to `_glp_mpl_initialize'<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:268: undefined reference to `_glp_mpl_read_model'<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:273: undefined reference to `_glp_mpl_read_data'<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:279: undefined reference to `_glp_mpl_terminate'<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:287: undefined reference to `_glp_mpl_generate'<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:290: undefined reference to `_glp_mpl_terminate'<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:294: undefined reference to `_glp_mpl_get_prob_name'<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:297: undefined reference to `_glp_mpl_get_num_rows'<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:298: undefined reference to `_glp_mpl_get_num_cols'<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:316: undefined reference to `_glp_mpl_get_row_kind'<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:319: undefined reference to `_glp_mpl_get_mat_row'<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:322: undefined reference to `_glp_mpl_get_row_c0'<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:323: undefined reference to `_glp_mpl_get_mat_row'<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:368: undefined reference to `_glp_mpl_get_mat_row'<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:371: undefined reference to `_glp_mpl_get_row_bnds'<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:405: undefined reference to `_glp_mpl_get_col_bnds'<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:421: undefined reference to `_glp_mpl_get_col_kind'<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:433: undefined reference to `_glp_mpl_get_col_name'<br><br>Well, I am completely stuck here as none of these functions is implemented. <br><br>Thank you very much <br>
An<br><br><br><br>
<br><br><br><br><br>
<br><br><br><br><br><br><br><br><br><br><div class="gmail_quote">On Mon, May 30, 2011 at 9:28 AM, Ted Ralphs <span dir="ltr"><<a href="mailto:ted@lehigh.edu">ted@lehigh.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
OK, everything should be cleaned up now. I created release 5.3.4,<br>
which should work out of the box. Let me know if you find any<br>
problems!<br>
<br>
Cheers,<br>
<font color="#888888"><br>
Ted<br>
</font><div><div></div><div class="h5"><br>
On Sun, May 29, 2011 at 6:55 PM, Ted Ralphs <<a href="mailto:ted@lehigh.edu">ted@lehigh.edu</a>> wrote:<br>
> Thanks for the report and my apologies for the trouble. I had actually<br>
> already discovered this issue and fixed it in trunk. I'll port it the<br>
> fix to stable create a new release as soon as I can.<br>
><br>
> Cheers,<br>
><br>
> Ted<br>
><br>
> On Sat, May 28, 2011 at 7:52 PM, an ngo <<a href="mailto:ngothean1@gmail.com">ngothean1@gmail.com</a>> wrote:<br>
>> Hi all:<br>
>> Sorry, I don't know how to continue the same thread, so I send another email<br>
>> to clarify the question I sent yesterday.<br>
>> My problem is that while configure my installation by<br>
>> ./configure --with-application<br>
>> when I make the application MATCH the results look like USE_SYM_APPLICATION<br>
>> is not defined as no call backs functions are called.<br>
>> However, I did verify that the flag was set properly. Finally, this error is<br>
>> caused by:<br>
>> In the file<br>
>> SYMPHONY-5.3.3/SYMPHONY/Applications/Makefile.Applications<br>
>> as COIN_HAS_PKGCONFIG = true<br>
>> match will be linked the library determined by<br>
>> LIBS += `PKG_CONFIG_PATH=/home/thuy/SYMPHONY-5.3.3/lib/pkgconfig:<br>
>> /usr/bin/pkg-config --libs symphony`<br>
>> However, the package config file symphony.pc will lead to libSym instead of<br>
>> libSymAppl<br>
>><br>
>> As a quick fix, I duplicate the file symphony.pc to symphonyappl.pc and<br>
>> change libSym to libSymAppl in the new config.<br>
>> Then in Makefile.Applications, the config file will be symphonyappl instead<br>
>> of symphony<br>
>><br>
>> The issue with USE_GLPMPL is not fixed yet.<br>
>> Thanks<br>
>> A.<br>
>><br>
>> _______________________________________________<br>
>> Symphony mailing list<br>
>> <a href="mailto:Symphony@list.coin-or.org">Symphony@list.coin-or.org</a><br>
>> <a href="http://list.coin-or.org/mailman/listinfo/symphony" target="_blank">http://list.coin-or.org/mailman/listinfo/symphony</a><br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> Dr. Ted Ralphs<br>
> Associate Professor, Lehigh University<br>
> <a href="tel:%28610%29%20628-1280" value="+16106281280">(610) 628-1280</a><br>
> ted 'at' lehigh 'dot' edu<br>
> <a href="http://coral.ie.lehigh.edu/%7Eted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
><br>
<br>
<br>
<br>
--<br>
Dr. Ted Ralphs<br>
Associate Professor, Lehigh University<br>
<a href="tel:%28610%29%20628-1280" value="+16106281280">(610) 628-1280</a><br>
ted 'at' lehigh 'dot' edu<br>
<a href="http://coral.ie.lehigh.edu/%7Eted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
</div></div></blockquote></div><br>