help-glpk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-glpk] SWIG for Visual Studio 2008, C#, and GLPK


From: Nigel Galloway
Subject: [Help-glpk] SWIG for Visual Studio 2008, C#, and GLPK
Date: Thu, 5 Feb 2009 19:43:40 +0300

I have placed an example at http://www.geocities.com/nigel_galloway/t1.zip:
   t1 - compiles an example of using C# with glpk and swig.
   
1. Obtain the source release of glpk_4.35. Compile using 
w32\Build_GLPK_with_VC9_DLL.bat.

2. Decompress t1.zip.

3. Open t1\t1.sln with Visual Studio 2008.

5. Open Project -> Add Reference -> Browse, then select:
     glpkSWIG.dll
     and nigelzGLPK.dll.

6. Build the project.

7. Copy glpk_4_35.dll produced in step 1 from w32 to t1\t1\bin\Release.

8. Open a command shell and change directory to t1\t1\bin\Release.

9. Enter t1 2424 772.

10. Use this example to do whatever else you want with GLPK, have fun.











reply via email to

[Prev in Thread] Current Thread [Next in Thread]