Recently Google released a Java interface for its new “or-tools” product. This is very good news and congratulations go to Laurent Perron and his colleagues. With a new open source CP Solver coming not from a small company but from Google, we may expect additional recognition of CP among real-world application developers. Hakan Kjellerstrand made his first review of Google Java CP interface and published a set of working examples. Here is his code for the SEND+MORE=MONEY problem:
As you may notice, this interface has its own, unique naming convention like the most of CP solvers do. However, conceptually there should be no problem to build a JSR-331 implementation using a new Google CP solver. At the same time, the fact that the actual solver’s implementation is done in C++, may cause some configuration issues. Everything is open-sourced, and if somebody wants to do it now, please contact me at email@example.com and I would provide you with an access to the JSR-331 SVN repository. You also may count on my personal support as well. If this development goes well, I hope soon we will have one more (fourth!) JSR-331 implementation.