A new Java interface for Google CP Solver

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 jacobfeldman@openrules.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.

Advertisements

About jacobfeldman

CTO at www.openrules.com http://www.linkedin.com/in/jacobfeldmanopenrules
This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s