A Scala library for IBM ILOG CPLEX

Skip to first unread message

Daniel Godard

Mar 15, 2017, 12:00:09 PM3/15/17
to scala-announce
A Scala library for IBM ILOG CPLEX is available on GitHub here:

Here is an extract of the README:

A scala library for IBM ILOG CPLEX.

This library combines functional programming, mathematical programming and constraint programming allowing to model optimization problems with a syntax that is close to the standard presentation of these problems in textbooks and scientific papers. For instance, a constraint such as:

can be written as:

    model.add(sum (for (i <- 1 to n) yield a(i) * x(i)) <= c(j))
Reply all
Reply to author
0 new messages