Learning to Solve the Constrained Most Probable Explanation Task in Probabilistic Graphical Models