package lp

  1. Overview
  2. No Docs
LP and MIP modeling in OCaml

Install

Dune Dependency

Authors

Maintainers

Sources

0.5.0.tar.gz
md5=5e9ec847f25fb939b3c68ae99244cfac
sha512=336c007cc2a26eebbe0027ed43a853518182589e6fa56b127aee33e268cfdc0d147f0bf0280df80bb172aa3a672349f59adf1f5675d4f8f5dfdcfa427558dd34

Description

This library helps the modeling of Linear Programming (LP) and Mixed Integer Programming (MIP) in OCaml. It supports the model with not only linear terms, but also quadratic terms. The model can be imported-from / exported-to CPLEX LP file format, which can be loaded by various solvers. It also has direct interfaces to some solvers. Currently supported are GLPK (GNU Linear Programming Kit) and Gurobi.

Published: 24 Jun 2025

Dependencies (3)

  1. menhir >= "20180523"
  2. dune >= "2.2.0"
  3. ocaml >= "5.1.0"

Dev Dependencies (2)

  1. odoc >= "2.4.4" & < "3.0.0" & with-doc
  2. alcotest with-test

Used by (4)

  1. lp-glpk >= "0.5.0"
  2. lp-glpk-js >= "0.5.0"
  3. lp-gurobi >= "0.5.0"
  4. lp-highs

Conflicts

None

OCaml

Innovation. Community. Security.