logic programming with constraints 8079618