Make WriteNL private
Implement objective conversion in jacop, fix build and tests.