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))