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