with GLPK

The next step is to compile the geracol algorithm, which is written in C. You can find in PPLPATH/geracol the folders CPLEX and GLPK. Among others files, in each folder you will find the source file of Geracol (the inference engine used by PPL - section 7.1) adapted to your favourite linear programming solver.

To compile it in Windows using Dev C++ 5, go to:

Tools $\rightarrow$ Compiler Options $\rightarrow$ Compiler $\rightarrow$ Add the following commands when calling compiler

and add the following line, or something similar(depending on where you have installed GLPK):

C:/GnuWin32/lib/glpk.lib

Go to:

Tools $\rightarrow$ Compiler Options $\rightarrow$ Directories $\rightarrow$ Libraries

and add the path (again, or something similar to that):

C:/GnuWin32/lib

Go to:

Tools $\rightarrow$ Compiler Options $\rightarrow$ Directories $\rightarrow$ C includes

and add the path:

C:/GnuWin32/include

Now you can copile it! I hope these steps will work for you!

Finally, to execute Geracol is necessary to have the file with the extension .dll in the same directory (PPLPATH/geracol). For example, glpk49.dll, where the number following the name of the file is related with the version of GLPK.

Andre da Costa Teves 2007-08-11