From 5ff76b487a6c2006326765d6417964599eedc8c9 Mon Sep 17 00:00:00 2001 From: Corentin Le Molgat Date: Thu, 23 Apr 2020 15:42:13 +0200 Subject: [PATCH] Update notebook --- examples/notebook/linear_solver/mip_var_array.ipynb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/notebook/linear_solver/mip_var_array.ipynb b/examples/notebook/linear_solver/mip_var_array.ipynb index c81b0f93f6..53245ad1d2 100644 --- a/examples/notebook/linear_solver/mip_var_array.ipynb +++ b/examples/notebook/linear_solver/mip_var_array.ipynb @@ -27,6 +27,7 @@ "# [END import]\n", "\n", "\n", + "# [START program_part1]\n", "# [START data_model]\n", "def create_data_model():\n", " \"\"\"Stores the data for the problem.\"\"\"\n", @@ -50,13 +51,14 @@ "# [START data]\n", "data = create_data_model()\n", "# [END data]\n", - "\n", + "# [END program_part1]\n", "# [START solver]\n", "# Create the mip solver with the CBC backend.\n", "solver = pywraplp.Solver('simple_mip_program',\n", " pywraplp.Solver.CBC_MIXED_INTEGER_PROGRAMMING)\n", "# [END solver]\n", "\n", + "# [START program_part2]\n", "# [START variables]\n", "infinity = solver.infinity()\n", "x = {}\n",