Dear Christoph,

your mail had to be forwarded manually, because you are not subscribed
to the GLPK help list, cf.

The GLPK for C#/CLI project supplies wrapper classes for GLPK that can
be used in .NET/Mono projects, see

If you have downloaded GLPK for Windows from
you will see that GLPK for C#/CLI is already included.

You will find the C# examples in
examples/csharp and the documentation is in doc/glpk-cli.pdf,
doc/gmpl.pdf, and doc/cli/index.html.

The script files used to build and run the examples are
w64/check_cli.bat and w32/check_cli.bat depending of the bitness of the
target application.

If you want to build an application in Visual Studio you will have to
ensure that the following dlls are in the correct search paths or your

    glpk_4_60.dll - the GLPK native library
    libglpk_cli_native.dll - the GLPK for C#/CLI native library
    libglpk_cli.dll - the GLPK for C#/CLI assembly

You will have to add libglpk_cli.dll to the reference path:

You may also want to have a look at the wikibook for GLPK at

Best regards

Heinrich Schuchardt

On 09/22/2016 08:00 PM, Andrew Makhorin wrote:
> -------- Forwarded Message --------
> To:
> Subject: Help GLPK
> Date: Thu, 22 Sep 2016 10:40:27 -0300
> Hello, I would like to ask a help to set up a project in C # in Visual
> Studio using the dll GLPK, I am unfortunately having the following error
> {"The initializer type is 'org.gnu.glpk.GLPKPINVOKE' threw an
> exception."} when I will call some method of GLPK
> What would be the correct preocedimento to build the GLPK for Visual
> Studio using C # 
> _______________________________________________
> Help-glpk mailing list

Help-glpk mailing list

Reply via email to