Tom D
Tom D

Reputation: 185

How Can I Use ojAlgo To Solve Quadratic Programming (QP) in Java?

I have a quadratic programming problem (quadratic objective function with linear constraints, integer variables) that I want to solve in Java. ojAlgo seems capable of this. Unfortunately, I can't find documentation or examples for how to use it. Can anyone help me out here?

Suggestions for solving QP in Java using tools other than ojAlgo are also welcome.

Upvotes: 2

Views: 3132

Answers (2)

apete
apete

Reputation: 1320

Here are some examples on how to use ojAlgo's optimization functionality:

https://github.com/optimatika/ojAlgo/wiki/Optimisation

Also, if you get the source code, the unit tests provide plenty examples on how to use the various classes.

Upvotes: 0

albert
albert

Reputation: 21

Take a look at JOptimizer , an open source java convex optimization library. There are a lot of examples and explanations for QP and other optimization problems.

Upvotes: 1

Related Questions