From 84c35244c9bdd635609af703bbf3053c16c487c0 Mon Sep 17 00:00:00 2001 From: baturg <45969505+baturg@users.noreply.github.com> Date: Tue, 3 Nov 2020 11:55:05 +0100 Subject: [PATCH] Update nqueens_sat.ipynb The notebook fails to run without setting the value of the board_size variable. --- examples/notebook/examples/nqueens_sat.ipynb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/notebook/examples/nqueens_sat.ipynb b/examples/notebook/examples/nqueens_sat.ipynb index 13ad00b7ec..4109c9599a 100644 --- a/examples/notebook/examples/nqueens_sat.ipynb +++ b/examples/notebook/examples/nqueens_sat.ipynb @@ -116,6 +116,8 @@ " print()\n", "\n", "\n", + "# Sets the size of the board.\n", + "board_size = 8\n", "# Creates the solver.\n", "model = cp_model.CpModel()\n", "# Creates the variables.\n",