Posts Tagged ‘lp’

Go linear programming library

2015.03.28 21:55 by Leo Antunes - 1 Comment

[UPDATE: renamed project to golpa to avoid conflict with slightly older project and rewrote to use lp_solve as a backend, so it can be used in multiple goroutines]

After a way too long hiatus, I finally got back to working on some side-projects and wrote a small go library for solving linear programming problems. Say hi to golp!

Since I’m no LP expert, golp makes use of GLPK to do the actual weight-lifting. Unfortunately, GLPK currently isn’t reentrant, so it can’t really be used with go’s great goroutines. Still, works well enough to be used for a next little project.

Now, if only I could get back to working on Debian…