Skip to content

Commit 40b5dd3

Browse files
authored
Merge pull request ocaml#28066 from ktahar/lp.0.5.0
[new release] lp (0.5.0)
2 parents c3dcd11 + 108abe3 commit 40b5dd3

File tree

5 files changed

+158
-0
lines changed
  • packages
    • lp-glpk-js/lp-glpk-js.0.5.0
    • lp-glpk/lp-glpk.0.5.0
    • lp-gurobi/lp-gurobi.0.5.0
    • lp-highs/lp-highs.0.5.0
    • lp/lp.0.5.0

5 files changed

+158
-0
lines changed
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
opam-version: "2.0"
2+
synopsis: "LP and MIP modeling in OCaml (glpk.js interface)"
3+
description: """
4+
This library helps the modeling of Linear Programming (LP) and Mixed Integer Programming (MIP) in OCaml.
5+
This package is an optional solver-interface to GLPK via glpk.js.
6+
"""
7+
maintainer: "Kosuke Tahara <[email protected]>"
8+
authors: [ "Kosuke Tahara <[email protected]>" ]
9+
license: "MIT"
10+
homepage: "https://github.com/ktahar/ocaml-lp"
11+
bug-reports: "https://github.com/ktahar/ocaml-lp/issues"
12+
dev-repo: "git+https://github.com/ktahar/ocaml-lp.git"
13+
depends: [
14+
"ocaml" {>= "5.1.0"}
15+
"dune" {>= "2.2.0"}
16+
"lp" {= version}
17+
"js_of_ocaml"
18+
"js_of_ocaml-ppx"
19+
# "alcotest" {with-test}
20+
# "conf-npm" {with-test}
21+
]
22+
build: [
23+
[ "dune" "build" "-p" name "-j" jobs ]
24+
# [ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
25+
]
26+
url {
27+
src: "https://github.com/ktahar/ocaml-lp/archive/0.5.0.tar.gz"
28+
checksum: [
29+
"md5=5e9ec847f25fb939b3c68ae99244cfac"
30+
"sha512=336c007cc2a26eebbe0027ed43a853518182589e6fa56b127aee33e268cfdc0d147f0bf0280df80bb172aa3a672349f59adf1f5675d4f8f5dfdcfa427558dd34"
31+
]
32+
}
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
opam-version: "2.0"
2+
synopsis: "LP and MIP modeling in OCaml (GLPK interface)"
3+
description: """
4+
This library helps the modeling of Linear Programming (LP) and Mixed Integer Programming (MIP) in OCaml.
5+
This package is an optional solver-interface to GLPK (GNU Linear Programming Kit).
6+
"""
7+
maintainer: "Kosuke Tahara <[email protected]>"
8+
authors: [ "Kosuke Tahara <[email protected]>" ]
9+
license: "MIT"
10+
homepage: "https://github.com/ktahar/ocaml-lp"
11+
bug-reports: "https://github.com/ktahar/ocaml-lp/issues"
12+
dev-repo: "git+https://github.com/ktahar/ocaml-lp.git"
13+
depends: [
14+
"ocaml" {>= "5.1.0"}
15+
"dune" {>= "2.2.0"}
16+
"lp" {= version}
17+
"ctypes" {>= "0.13.0"}
18+
"conf-glpk"
19+
"alcotest" {with-test}
20+
"ppx_deriving" {with-test}
21+
]
22+
build: [
23+
[ "dune" "build" "-p" name "-j" jobs ]
24+
[ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
25+
]
26+
url {
27+
src: "https://github.com/ktahar/ocaml-lp/archive/0.5.0.tar.gz"
28+
checksum: [
29+
"md5=5e9ec847f25fb939b3c68ae99244cfac"
30+
"sha512=336c007cc2a26eebbe0027ed43a853518182589e6fa56b127aee33e268cfdc0d147f0bf0280df80bb172aa3a672349f59adf1f5675d4f8f5dfdcfa427558dd34"
31+
]
32+
}
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
opam-version: "2.0"
2+
synopsis: "LP and MIP modeling in OCaml (Gurobi interface)"
3+
description: """
4+
This library helps the modeling of Linear Programming (LP) and Mixed Integer Programming (MIP) in OCaml.
5+
This package is an optional solver-interface to Gurobi.
6+
"""
7+
maintainer: "Kosuke Tahara <[email protected]>"
8+
authors: [ "Kosuke Tahara <[email protected]>" ]
9+
license: "MIT"
10+
homepage: "https://github.com/ktahar/ocaml-lp"
11+
bug-reports: "https://github.com/ktahar/ocaml-lp/issues"
12+
dev-repo: "git+https://github.com/ktahar/ocaml-lp.git"
13+
depends: [
14+
"ocaml" {>= "5.1.0"}
15+
"dune" {>= "2.2.0"}
16+
"lp" {= version}
17+
"ctypes"
18+
"ctypes-foreign" {>= "0.18.0"}
19+
# "alcotest" {with-test}
20+
]
21+
build: [
22+
[ "dune" "build" "-p" name "-j" jobs ]
23+
# [ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
24+
]
25+
url {
26+
src: "https://github.com/ktahar/ocaml-lp/archive/0.5.0.tar.gz"
27+
checksum: [
28+
"md5=5e9ec847f25fb939b3c68ae99244cfac"
29+
"sha512=336c007cc2a26eebbe0027ed43a853518182589e6fa56b127aee33e268cfdc0d147f0bf0280df80bb172aa3a672349f59adf1f5675d4f8f5dfdcfa427558dd34"
30+
]
31+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
opam-version: "2.0"
2+
synopsis: "LP and MIP modeling in OCaml (HiGHS interface)"
3+
description: """
4+
This library helps the modeling of Linear Programming (LP) and Mixed Integer Programming (MIP) in OCaml.
5+
This package is an optional solver-interface to HiGHS.
6+
"""
7+
maintainer: "Kosuke Tahara <[email protected]>"
8+
authors: [ "Jin Sano <[email protected]>" "Kosuke Tahara <[email protected]>" ]
9+
license: "MIT"
10+
homepage: "https://github.com/ktahar/ocaml-lp"
11+
bug-reports: "https://github.com/ktahar/ocaml-lp/issues"
12+
dev-repo: "git+https://github.com/ktahar/ocaml-lp.git"
13+
depends: [
14+
"ocaml" {>= "5.1.0"}
15+
"dune" {>= "2.2.0"}
16+
"lp" {= version}
17+
# "alcotest" {with-test}
18+
# "ppx_deriving" {with-test}
19+
]
20+
build: [
21+
[ "dune" "build" "-p" name "-j" jobs ]
22+
# [ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
23+
]
24+
url {
25+
src: "https://github.com/ktahar/ocaml-lp/archive/0.5.0.tar.gz"
26+
checksum: [
27+
"md5=5e9ec847f25fb939b3c68ae99244cfac"
28+
"sha512=336c007cc2a26eebbe0027ed43a853518182589e6fa56b127aee33e268cfdc0d147f0bf0280df80bb172aa3a672349f59adf1f5675d4f8f5dfdcfa427558dd34"
29+
]
30+
}

packages/lp/lp.0.5.0/opam

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
opam-version: "2.0"
2+
synopsis: "LP and MIP modeling in OCaml"
3+
description: """
4+
This library helps the modeling of Linear Programming (LP) and Mixed Integer Programming (MIP) in OCaml.
5+
It supports the model with not only linear terms, but also quadratic terms.
6+
The model can be imported-from / exported-to CPLEX LP file format, which can be loaded by various solvers.
7+
It also has direct interfaces to some solvers.
8+
Currently supported are GLPK (GNU Linear Programming Kit) and Gurobi.
9+
"""
10+
maintainer: "Kosuke Tahara <[email protected]>"
11+
authors: [ "Kosuke Tahara <[email protected]>" ]
12+
license: "MIT"
13+
homepage: "https://github.com/ktahar/ocaml-lp"
14+
bug-reports: "https://github.com/ktahar/ocaml-lp/issues"
15+
dev-repo: "git+https://github.com/ktahar/ocaml-lp.git"
16+
depends: [
17+
"ocaml" {>= "5.1.0"}
18+
"dune" {>= "2.2.0"}
19+
"menhir" {>= "20180523"}
20+
"alcotest" {with-test}
21+
"odoc" {>= "2.4.4" & < "3.0.0" & with-doc}
22+
]
23+
build: [
24+
[ "dune" "build" "-p" name "-j" jobs ]
25+
[ "dune" "runtest" "-p" name "-j" jobs ] {with-test}
26+
]
27+
url {
28+
src: "https://github.com/ktahar/ocaml-lp/archive/0.5.0.tar.gz"
29+
checksum: [
30+
"md5=5e9ec847f25fb939b3c68ae99244cfac"
31+
"sha512=336c007cc2a26eebbe0027ed43a853518182589e6fa56b127aee33e268cfdc0d147f0bf0280df80bb172aa3a672349f59adf1f5675d4f8f5dfdcfa427558dd34"
32+
]
33+
}

0 commit comments

Comments
 (0)