GLPK for Java uses the Simplified Wrapper and Interface Generator (SWIG) to create the JNI interface to GLPK. Classes are created in path org.gnu.glpk.
- Class GlpkCallback is called by the MIP solver callback routine.
- Interface GlpkCallbackListener can be implemented to register a listener for class GlpkCallback.
- Class GlpkTerminal is called by the MIP solver terminal output routine.
- Interface GlpkTerminalListener can be implemented to register a listener for class GlpkTerminal.
- Class GlpkException is thrown if an error occurs.
- Class GLPK maps the functions from glpk.h.
- Class GLPKConstants maps the constants from glpk.h to methods.
- Class GLPKJNI contains the definitions of the native functions.
The following classes map structures from glpk.h:
The following classes are used to map pointers:
The following clases are used for network problems: