[ojAlgo-user] Bugfix for QP without equality constraint
Mathematics, linear algebra and optimisation
Brought to you by:
apete
From: Stefan R. <Ste...@gm...> - 2009-02-02 02:23:52
|
Hello everybody, I just tested ojalgo v.26 and experienced nullpointer-exceptions when I tried to optimize any QP without equality-constraints. I think, I fixed the problem and want to bring the bugfix back to you with this email. It was no big deal, since I only added null-testing lines for the AE-matrix in org.ojalgo.optimisation.quadratic.ActiveSetSolver and org.ojalgo.optimisation.quadratic.LagrangeSolver and added some lines for doing the job without the AE-matrix and the BE-vector. I hope, my solution is correct, since I'm not really familiar with the subject of quadratic optimisation. The few simple problems, I tested seem to be optimized well, also without equality constraints now. I marked the code changes with //change by swr: greetings Stefan -- Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger01 |