Linear programming model for solving constrained clicked crosses on a chess board.