Terry, <br><br><div class="gmail_quote">On Mon, Jan 19, 2009 at 7:54 AM, Yiqing Zhong <span dir="ltr">&lt;<a href="mailto:yiqing.zhong@ugent.be">yiqing.zhong@ugent.be</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi! Menal,<br>
<br>
Thank you very much for your answer. Followed with your instruction, I<br>
can execute the project now. However in the &#39;VRP&#39; project, there still<br>
some problems:<br>
<br>
I set the arguments &quot;-F ..\..\sample.vrp&quot; to try to check the sample<br>
solution under the VRP folder, but the error is shown:<br>
<br>
&quot;PROBELM NAME: ei151<br>
 &nbsp;TYPE: CVRP<br>
 &nbsp;DIMENSION: 51<br>
 &nbsp;ERROR: Number of trucks not specified or computed for VRP&quot;<br>
<br>
I also try other samples, the same problem is happened. I check the<br>
file &#39;vrp_main.c&#39; and &#39;vrp_master.c&#39;, but where the vrp model(i.e.<br>
objective function and constraints) is given? Another, are the relaxed<br>
solutions and values of VRP given by &#39;vrp_lp.c&#39;?<br>
</blockquote><div><br>You can see the list of available parameters by &quot;-H&quot; command line switch. For the sample file, try &quot;-F ..\..\sample.vrp -N 5 -u 522&quot;. <br>&nbsp;</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
About the problem &quot;GLPK&quot;, I tried it in the project of &#39;symphony&#39;:<br>
<br>
I download and install the &#39;Glpk&#39; in my compuer, I set the path of<br>
GLPK library in the project propeties and contain the file of<br>
&#39;glpk.h&#39;. In the &#39;main.c&#39;, I added<br>
<br>
&#39;#define USE_GLPMPL&#39; and &#39;#include &quot;glpk.h&quot; &#39;,<br>
<br>
but the Building process gives the error:<br>
<br>
&quot;glpmpl.h&quot; cannot be found, which is happened in &#39;sym_lp_solver.h&#39;.<br>
<br>
So my questions are:<br>
<br>
Can &quot;glpmpl.h&quot; be replaced by &quot;glpk.h&quot;, or not? How to exactly &quot;add<br>
the GLPK library to the solution&quot;? I set the path of GLPK library, it<br>
seems not working.<br>
<br>
Thank you!<br>
<br>
Bests!<br>
<br>
Terry<br>
<div><div></div><div class="Wj3C7c"></div></div></blockquote><div><br>Here are the steps you need to follow: <br>-add the directory of the header files of GLPK (should be &quot;your_glpk_root\include&quot;) to the additional include directories sections of both &quot;libSymphony&quot; and &quot;symphony&quot; projects(through each project&#39;s properties menu) <br>
-add USE_GLPMPL to the preprocessor definitions sections of both projects <br>-add the GLPK library to the solution and have the startup project &quot;symphony&quot; depend on this library (from the project dependencies menu)&nbsp; <br>
&nbsp;<br>Let me know how it goes. <br><br>Menal.<br><br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div class="Wj3C7c"><br>
<br>
Quoting Menal Guzelsoy &lt;<a href="mailto:megb@lehigh.edu">megb@lehigh.edu</a>&gt;:<br>
<br>
&gt; Hi Terry,<br>
&gt;<br>
&gt; On Thu, Jan 15, 2009 at 10:18 AM, Yiqing Zhong &lt;<a href="mailto:yiqing.zhong@ugent.be">yiqing.zhong@ugent.be</a>&gt;wrote:<br>
&gt;<br>
&gt;&gt; Hi! Everyone,<br>
&gt;&gt;<br>
&gt;&gt; We are trying the SYMPHONY 5.1.0 in the version of Visual C++ 2005<br>
&gt;&gt; Express Edition. Following the &quot;SYMPHONY 5.1.10 User&#39;s Manual&quot;<br>
&gt;&gt; (Chapter 5, pp.57), we try to test the VRP project in the folder of<br>
&gt;&gt; &quot;Applications&quot;. Building solution is no problem, and &quot;Start without<br>
&gt;&gt; Debugging&quot; call a immediate window, we cannot do nothing since we<br>
&gt;&gt; connot input anything. And we cannot find &quot;set the progam arguments&quot;<br>
&gt;&gt; under the &quot;Debug&quot; tab, also connot find &quot;Execute&quot; from the build menu.<br>
&gt;&gt; We did not get any solver, no slution shown! So maybe the<br>
&gt;&gt; developers could give me a kind hint or somebody else who encountered<br>
&gt;&gt; similar problems can teach me! :)<br>
&gt;&gt;<br>
&gt;<br>
&gt; Those instructions are for v6 and soon will be updated. For the Express<br>
&gt; Edition, you need to look at the properties menu of vrp project to set the<br>
&gt; arguments. Another way is to use a command line window: just go in to the<br>
&gt; dir where the vrp executable is in and run the executable followed by your<br>
&gt; arguments.<br>
&gt;<br>
&gt;<br>
&gt;&gt;<br>
&gt;&gt; Another, anyone who has the experience that installed the &quot;GLPK&quot; in<br>
&gt;&gt; MSVC++, particular in Visual C++ 2005 Express, can help me do that? I<br>
&gt;&gt; was followed with the instructions, tried to install GLPK and wanted<br>
&gt;&gt; to enable GMPL reader option, but it did not work, I connot read GMPL<br>
&gt;&gt; model so for...<br>
&gt;&gt;<br>
&gt;<br>
&gt; Can you give us more details about the problem? Are you following the<br>
&gt; instructions in INSTALL file? Can you build the executable? If not, what<br>
&gt; error msgs do you get?<br>
&gt;<br>
&gt;<br>
&gt;&gt; Thanks a lot!<br>
&gt;&gt;<br>
&gt;&gt; Bests!<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; Terry<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;<br>
&gt;<br>
&gt; Menal.<br>
<br>
<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>
</div></div></blockquote></div><br>