< GLPK

GLPK for C#/CLI

GLPK for C#/CLI provides a common language interface (CLI) binding for GLPK. It is licensed under GPL V3. The coding is generated using SWIG.

GLPK for C#/CLI supports callback and terminal listeners. Errors occurring in the GLPK native library are thrown as exceptions. All functions of the GLPK API are available as methods of the GLPK object as shown in the example below:

Imports System
Imports org.gnu.glpk

Public Module module1
   Sub Main()
     Console.WriteLine ("GLPK " + GLPK.glp_version())
   End Sub
End Module

References

    This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.