[Haskell-cafe] Linear programming in Haskell
Felipe Lessa
felipe.lessa at gmail.com
Tue Feb 16 15:37:25 EST 2010
On Tue, Feb 16, 2010 at 03:12:53PM -0500, Daniel Peebles wrote:
> How would you use hmatrix? By linear programming I assume he means systems
> of linear inequalities, as typically solved by the simplex algorithm. I too
> am interested in this question (and the more general one of nonlinear
> optimization)!
I have never used this part of hmatrix, but does
Numeric.LinearAlgebra satisfy your needs? In particular, see
linearSolve[1] and linearSolveR[2].
[1] http://hackage.haskell.org/packages/archive/hmatrix/0.8.3.1/doc/html/Numeric-LinearAlgebra-Algorithms.html#v%3AlinearSolve
[2] http://hackage.haskell.org/packages/archive/hmatrix/0.8.3.1/doc/html/Numeric-LinearAlgebra-LAPACK.html#v%3AlinearSolveR
HTH,
--
Felipe.
More information about the Haskell-Cafe
mailing list