Solving ILP using OptaPlanner

90 views
Skip to first unread message

Inzemamul Haque

unread,
Mar 25, 2021, 8:26:07 AM3/25/21
to OptaPlanner development
Hi all!
I want to solve an ILP in Java. I was not able to find pure Java solvers. Therefore now looking for constraint solvers which can solve ILP. I have already tried ojAlgo which is not scalable as per our requirement. Then I came across OptaPlanner. But while going through the examples I couldn't understand how to use OptaPlanner to solve an ILP. I couldn't find any example which shows solving ILPs. 

Can someone help me by guiding me to some example in which OptaPlanner is used to solve an ILP?

Thanks and regards,
Inzemamul Haque.

Geoffrey De Smet

unread,
Mar 26, 2021, 6:32:52 AM3/26/21
to optapla...@googlegroups.com

Integer Linear Programming (ILP) is not a use case, it's a subset of constraint solving.
OptaPlanner does constraint solving, so it should be able to handle any ILP use case.

The CloudBalancing example is an ILP, take a look at that one. It has an quickstart in the docs.
The Tennis example is not an ILP, because it has a "fairness" constraint, which is non-linear.

With kind regards,
Geoffrey De Smet

--
You received this message because you are subscribed to the Google Groups "OptaPlanner development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to optaplanner-d...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/optaplanner-dev/8ae3b7ba-c761-4093-9ded-0ec8888bac8cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages