Probabilistic Graphical Models (PGMs) allow us to map real world scenarios to adeclarative representation and use it as a basis for predictive analysis. It is a framework thatallows us to express complex probability distributions in a simple way. PGMs can be applied to avariety of scenarios wherein a model is built to reflect the conditional dependencies betweenrandom variables and then used to simulate the interactions between them to draw conclusions.The framework further provides many algorithms to analyze these models and extractinformation.One of the applications of PGMs is in solving mathematical puzzles such as Sudoku.Sudoku is a popular number puzzle that involves filling in empty cells in an ‘N x N’ grid in sucha way that numbers 1...