Hello Curtis, the error you received that the GLPK library could not be called.
In your project you will need the following: * glpk_4_61.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 libglpk_cli.dll is just a wrapper for the GLPK library. It calls the libglpk_cli_native.dll library which in turn calls the glpk_4_61.dll library. Best regards Heinrich Schuchardt On 06/13/2017 07:33 AM, Andrew Makhorin wrote: > -------- Forwarded Message -------- > To: '[email protected]' <[email protected]> > Subject: C# API Exception > Date: Mon, 12 Jun 2017 22:51:50 +0000 > > Good afternoon, > > I wanted to know if I could ask for help when working with the GLPK API. > I imported the libglpk-cli.dll from the source code into Visual Studio > 2015 as part of my references. > > Following the example in the source code, I included the code listed > below. > > When I compiled, I had the exception thrown. > > Any help would be greatly appreciated. > > Thanks for all of the hard work that you do, > > Curtis Passorelli > > Exception: > > An unhandled exception of type 'System.TypeInitializationException' > occurred in libglpk-cli.dll > > Additional information: The type initializer for > 'org.gnu.glpk.GLPKPINVOKE' threw an exception. > _______________________________________________ Help-glpk mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-glpk
