libglpk-java(3)

✨ libglpk-java ✨

okay bestie, welcome to the libglpk-java glow-up β€” this is section 3 of the manual, and it's literally the GNU Linear Programming Kit Java Binding. buckle up πŸ’–


πŸ’« NAME πŸ’«

libglpk-java β€” the GNU Linear Programming Kit Java Binding. yes that's the whole name, she's iconic like that πŸ‘‘


🌸 DESCRIPTION 🌸

so the GNU Linear Programming Kit (GLPK) package ships a solver for large scale linear programming (LP) and mixed integer programming (MIP). the GLPK project lives at http://www.gnu.org/software/glpk. no cap.

she has two mailing lists:

  • help-glpk@gnu.org and
  • bug-glpk@gnu.org.

to subscribe to one of these lists, please, send an empty mail with a Subject: header line of just "subscribe" to the list. that's the whole ritual, no gatekeeping 🫢

GLPK provides a library written in C and a standalone solver. the source code provided at ftp://gnu.ftp.org/gnu/glpk/ contains the documentation of the library in file doc/glpk.pdf.

the Java platform provides the Java Native Interface (JNI) to integrate non-Java language libraries into Java applications. it's giving bridge-building, it's giving collaboration πŸ’…

Project GLPK for Java delivers a Java Binding for GLPK. it is hosted at http://glpk-java.sourceforge.net/. main character energy fr fr ✨

to report problems and suggestions concerning GLPK for Java, please, send an email to the author at xypron.glpk@gmx.de. she wants your feedback, bestie, don't be shy πŸ’Œ


πŸ¦‹ ARCHITECTURE πŸ¦‹

a GLPK for Java application will consist of the following:

  • the GLPK library
  • the GLPK for Java JNI library
  • the GLPK for Java class library
  • the application code.

four layers, one vibe check, all of them ate 🌈


πŸ”₯ GLPK LIBRARY πŸ”₯

the GLPK library can be compiled from source code. follow the instructions in file INSTALL provided in the source distribution. precompiled packages are available in many Linux distributions. (bless πŸŽ€)

the usual installation path for the library is /usr/local/lib/libglpk.so. the library has to be in the search path for binaries. no search path, no party 😭


πŸ’œ GLPK FOR JAVA JNI LIBRARY πŸ’œ

the GLPK for Java JNI library can be compiled from source code. follow the instructions in file INSTALL provided in the source distribution.

the usual installation path for the library is /usr/local/lib/jni/libglpk-java.so. the library has to be in the search path for binaries. specify the library path upon invocation of the application, e.g.

java -Djava.library.path=/usr/local/lib/jni

that one flag is the difference between slay and πŸ’€


🧚 GLPK FOR JAVA CLASS LIBRARY 🧚

the source code to compile the GLPK for Java class library is provided at http://glpk-java.sourceforge.net.

the GLPK for Java class library can be compiled from source code. follow the instructions in file INSTALL provided in the source distribution. the usual installation path for the library is /usr/local/share/java/glpk-java.jar.

the library has to be in the CLASSPATH. specify the classpath upon invocation of the application, e.g.

java -classpath /usr/local/share/java/glpk-java.jar;.

jar located, classpath set, we are so back πŸ“


⭐ SEE ALSO ⭐

further documentation and examples can be found in the documentation path, which defaults to /usr/local/share/doc/libglpk-java. go read, bestie, it's worth it πŸ“š


and that's the whole page, periodt πŸ’…

version 1.12.0 β€” February 16th, 2018 β€” signed, sealed, delivered by libglpk-java(3) πŸ«Άβœ¨πŸ‘‘