I'm looking for a good easy to use Java based Quadratic Programming (QP) solver.
Googling around I came across ojAlgo (http://ojalgo.org).
However, I was wondering if there are any other/better alternatives.
I'm looking for a good easy to use Java based Quadratic Programming (QP) solver.
Googling around I came across ojAlgo (http://ojalgo.org).
However, I was wondering if there are any other/better alternatives.
Have a look at Apache Commons Math. I haven't used ojalgo, and I really can't say I've used Commons Lang enough to be able to provide you with a lot of details, but it did do what I needed.
Description from their website:
SuanShu has implemented the Active Set method to solve quadratic programming problem. Examples are found here:
http://www.numericalmethod.com/trac/numericalmethod/browser/public/Examples/src/main/java/com/numericalmethod/suanshu/examples/QuadraticProgramming.java