GLPK/Visual Basic .NET
Appearance
< GLPK
GLPK for C#/CLI
[edit | edit source]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