Java implementation of chainme solver using BinaryMaxSum library.