Hello Heinrich, Thanks a lot for your suggestion. The glpkmex installation file (makeglpkmex.m) is looking for libglpk.a file. It is not finding it in the glpk-4.52\w64 folder or glpk-4.52 folder. Hence, the installation procedure is showing errors.
When I run glpktest1, it shows the following error: *"Undefined function 'glpkcc' for input arguments of type 'struct'.Error in glpk (line 508)[xopt, fmin, status, extra] = glpkcc(c, a, b, lb, ub, ctype, vartype, sense, param);Error in glpktest1 (line 21)[xmin,fmin,status,extra]=glpk(c,a,b,lb,ub,ctype,vartype,s,param)"* When I run glpksol.exe file of glpk-4.52\w64, is it supposed to create the libglpk.a file itself. Actually, I run the glpksol.exe file as administrator, the terminal windows just appears and then disappears. When I run the 'Build_GLPK_VC10_DLL.bat' file, it says that "the specified configuration type is missing. The tool for the configuration might not be installed." Surprisingly, I installed all prerequisites of http://en.wikibooks.org/wiki/GLPK/Windows and I don't know what else I can do. I do not know how to resolve this. I am sorry to make you spend time on this. Any help will be very appreciated. Thanks! Nazmul On Fri, Dec 20, 2013 at 1:13 PM, Heinrich Schuchardt <[email protected]>wrote: > Hello Nazmul, > > glpk.h is in /src, the library is in /w64 or /w32 depending on bitness of > Mathlab. > > Best regards > > Heinrich Schuchardt > > http://www.xypron.de > > > On 20.12.13 at 13:42, Nazmul Islam wrote: > > > Dear Heinrich, > > > > > > > > Thanks a lot for your email. I appreciate it. I tried your option and it > > > > seems to work. I was able to run the traveling salesman problem by going > to > > > > the example library. > > > > > > > > My final goal is to use glpkmex, i.e., use GLPK from Matlab ( > > > > http://glpkmex.sourceforge.net/). GLPKMex tries to find the GLPK > directory > > > > which should contain both include and library directories. I did not find > > > > any GLPK include and library directory in the winglpj-4.52 folder that I > > > > downloaded from your link. Could you please tell me where I can find it? > > > > > > > > Also, http://en.wikibooks.org/wiki/GLPK/Matlab suggests that the .lib > file > > > > from GLPK for windows cannot be used in the installation of GLPKMex. So, > I > > > > am a bit confused about it. > > > > > > > > Thanks, > > > > > > > > Nazmul > > > > > > > > > > > > On Fri, Dec 20, 2013 at 1:47 AM, Heinrich Schuchardt <[email protected] > >wrote: > > > > > > > > > Hello Nazmul, > > > > > > > > > > you can find the executables at > > > > > http://sourceforge.net/projects/winglpk/ > > > > > > > > > > Best regards > > > > > > > > > > Heinrich Schuchardt > > > > > > > > > > http://www.xypron.de > > > > > > > > > > > > > > > > > > > > Nazmul Islam <[email protected]> schrieb: > > > > >> > > > > >> Hello, > > > > >> > > > > >> > > > > >> I am trying to install GLPK in Windows 7. I am following the > instructions > > > > >> of http://en.wikibooks.org/wiki/GLPK/Windows. I have downloaded and > > > > >> installed the necessary programs: > > > > >> > > > > >> > > > > >> > > > > >> 1) Visual-CPP Microsoft Visual C++ 2010 Express. > > > > >> > > > > >> 2) Microsoft Windows SDK for Windows 7 and .NET Framework 4 without > > > > >> "Visual C++ Compilers". > > > > >> > > > > >> 3) Visual Studio 2010 Service Pack 1 (SP1) > > > > >> > > > > >> 4) Microsoft Visual C++ 2010 Service Pack 1 Compiler Update for the > > > > >> Windows SDK 7.1 > > > > >> > > > > >> > > > > >> > > > > >> I have also downloaded GLPK-4.48 from ftp://ftp.gnu.org/gnu/glpk/. > When > > > > >> I double click on Build_GLPK_with_VC10_DLL.bat file, it shows me the > > > > >> following error message: > > > > >> > > > > >> "C:\WINDOWS\System32>rem NOTE: Make sure that HOME variable specifies > > > > >> correct path > > > > >> > > > > >> C:\WINDOWS\system set HOME="C:\Program Files \Microsoft visual Studio > > > > >> 10.0\vc"\vcvarsall.bat x64 > > > > >> > > > > >> The specified configuration type is missing. The tools for the > > > > >> configuration might not be installed. The system cannot find the file > > > > >> specified. > > > > >> > > > > >> NAME: fata error U1052: file 'MakeFile_VC_DLL' not found. Stop." > > > > >> > > > > >> > > > > >> > > > > >> I have installed Microsoft Visual Studio 10.0 in C:\Program Files . I > can > > > > >> see vcvarsall.bat in the 10.0\VC folder. The path of "VC10_DLL.bat' > is set > > > > >> up correctly at C:\Program Files (x86)\Microsoft Visual Studio > 10.0\VC, > > > > >> too. > > > > >> > > > > >> I don't know where these error messages are coming from. an anyone > > > > >> suggest how I can rectify this and install GLPK in my windows machine? > > > > >> > > > > >> > > > > >> > > > > >> Thanks, > > > > >> > > > > >> Nazmul > > > > >> _______________________________________________ Help-glpk mailing > list > > > > >> [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk > > > > > > > > > > >
_______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
