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=&quot;-L/usr/local/lib -lglpk&quot; <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&#39;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=&quot;-L/usr/local/lib -lglpk&quot; --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&#39;<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:268: undefined reference to `_glp_mpl_read_model&#39;<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:273: undefined reference to `_glp_mpl_read_data&#39;<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:279: undefined reference to `_glp_mpl_terminate&#39;<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:287: undefined reference to `_glp_mpl_generate&#39;<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:290: undefined reference to `_glp_mpl_terminate&#39;<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:294: undefined reference to `_glp_mpl_get_prob_name&#39;<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:297: undefined reference to `_glp_mpl_get_num_rows&#39;<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:298: undefined reference to `_glp_mpl_get_num_cols&#39;<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:316: undefined reference to `_glp_mpl_get_row_kind&#39;<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:319: undefined reference to `_glp_mpl_get_mat_row&#39;<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:322: undefined reference to `_glp_mpl_get_row_c0&#39;<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:323: undefined reference to `_glp_mpl_get_mat_row&#39;<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:368: undefined reference to `_glp_mpl_get_mat_row&#39;<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:371: undefined reference to `_glp_mpl_get_row_bnds&#39;<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:405: undefined reference to `_glp_mpl_get_col_bnds&#39;<br>/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:421: undefined reference to `_glp_mpl_get_col_kind&#39;<br>
/home/an/SYMPHONY-5.3.4b/SYMPHONY/src/LP/lp_solver.c:433: undefined reference to `_glp_mpl_get_col_name&#39;<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">&lt;<a href="mailto:ted@lehigh.edu">ted@lehigh.edu</a>&gt;</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 &lt;<a href="mailto:ted@lehigh.edu">ted@lehigh.edu</a>&gt; wrote:<br>
&gt; Thanks for the report and my apologies for the trouble. I had actually<br>
&gt; already discovered this issue and fixed it in trunk. I&#39;ll port it the<br>
&gt; fix to stable create a new release as soon as I can.<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Ted<br>
&gt;<br>
&gt; On Sat, May 28, 2011 at 7:52 PM, an ngo &lt;<a href="mailto:ngothean1@gmail.com">ngothean1@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Hi all:<br>
&gt;&gt; Sorry, I don&#39;t know how to continue the same thread, so I send another email<br>
&gt;&gt; to clarify the question I sent yesterday.<br>
&gt;&gt; My problem is that while configure my installation by<br>
&gt;&gt; ./configure --with-application<br>
&gt;&gt; when I make  the application MATCH the results look like USE_SYM_APPLICATION<br>
&gt;&gt; is not defined as no call backs functions are called.<br>
&gt;&gt; However, I did verify that the flag was set properly. Finally, this error is<br>
&gt;&gt; caused by:<br>
&gt;&gt; In the file<br>
&gt;&gt; SYMPHONY-5.3.3/SYMPHONY/Applications/Makefile.Applications<br>
&gt;&gt; as  COIN_HAS_PKGCONFIG = true<br>
&gt;&gt; match will be linked the library determined by<br>
&gt;&gt; LIBS += `PKG_CONFIG_PATH=/home/thuy/SYMPHONY-5.3.3/lib/pkgconfig:<br>
&gt;&gt; /usr/bin/pkg-config --libs symphony`<br>
&gt;&gt; However, the package config file symphony.pc will lead to libSym instead of<br>
&gt;&gt; libSymAppl<br>
&gt;&gt;<br>
&gt;&gt; As a quick fix, I duplicate the file symphony.pc to symphonyappl.pc and<br>
&gt;&gt; change libSym to libSymAppl in the new config.<br>
&gt;&gt; Then in Makefile.Applications, the config file will be symphonyappl instead<br>
&gt;&gt; of symphony<br>
&gt;&gt;<br>
&gt;&gt; The issue with USE_GLPMPL is not fixed yet.<br>
&gt;&gt; Thanks<br>
&gt;&gt; A.<br>
&gt;&gt;<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; Symphony mailing list<br>
&gt;&gt; <a href="mailto:Symphony@list.coin-or.org">Symphony@list.coin-or.org</a><br>
&gt;&gt; <a href="http://list.coin-or.org/mailman/listinfo/symphony" target="_blank">http://list.coin-or.org/mailman/listinfo/symphony</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Dr. Ted Ralphs<br>
&gt; Associate Professor, Lehigh University<br>
&gt; <a href="tel:%28610%29%20628-1280" value="+16106281280">(610) 628-1280</a><br>
&gt; ted &#39;at&#39; lehigh &#39;dot&#39; edu<br>
&gt; <a href="http://coral.ie.lehigh.edu/%7Eted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
&gt;<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 &#39;at&#39; lehigh &#39;dot&#39; edu<br>
<a href="http://coral.ie.lehigh.edu/%7Eted" target="_blank">coral.ie.lehigh.edu/~ted</a><br>
</div></div></blockquote></div><br>