highsversion Documentation on ocaml.org

OCaml bindings for the HiGHS linear and mixed-integer optimization solver

Bindings to the C API of HiGHS (https://highs.dev), the open-source linear and mixed-integer programming solver. A model is an immutable OCaml value: variables (continuous, integer, binary, semi-continuous, semi-integer), linear constraints, and a linear objective. Highs.solve passes it to HiGHS and returns the status, objective, primal and dual values, and iteration counts. Solver options are typed, with an escape hatch for any HiGHS option by name. Models can be written to MPS or LP files.

Quadratic objectives, callbacks and reading model files are not bound yet.

Requires HiGHS 1.10 or later, found through pkg-config (see conf-highs).

Tags optimization solver linear-programming mixed-integer-programming operations-research milp lp highs
AuthorAalok Thakkar
LicenseMIT
Published
Homepagehttps://github.com/aalok-thakkar/ocaml-highs
Issue Trackerhttps://github.com/aalok-thakkar/ocaml-highs/issues
Documentationhttps://aalok-thakkar.github.io/ocaml-highs
MaintainerAalok Thakkar <thakkar@ashoka.edu.in>
Dependencies
Source [http] https://github.com/aalok-thakkar/ocaml-highs/releases/download/0.1.1/highs-0.1.1.tar.gz
sha256=4c8b88e224112c324166155eea17885e2055b0703ee828ab58f7db77ea2ccd31
sha512=1cdf242bd64fe8a34c50d7db5172c2bbd98b4511a1e58c0b0d8b2b8ff10753fcbb8c9885d1b607bb3c791b63694e1fadf817bd73daf08cc09826c303e88c4c8c
Edithttps://github.com/ocaml/opam-repository/tree/master/packages/highs/highs.0.1.1/opam
No package is dependent