diff --git a/content/GA_2_5/old_Analysis_GA_solution.ipynb b/content/GA_2_5/old_Analysis_GA_solution.ipynb index f5d4ccf3fb0dd2dadcb3fcaa55865410b112e018..0466202d1560d813051ada24a152f80658981ea2 100644 --- a/content/GA_2_5/old_Analysis_GA_solution.ipynb +++ b/content/GA_2_5/old_Analysis_GA_solution.ipynb @@ -668,11 +668,11 @@ }, "outputs": [], "source": [ - "Budget = 40\n", + "extension_max_no = 40\n", "pop_size = 10\n", "\n", "# initiate an instance of the problem with max number of selected links as budget constraint\n", - "problem = NDP(budget=Budget)\n", + "problem = NDP(budget=extension_max_no)\n", "\n", "# initiate the GA with parameters appropriate for binary variables\n", "method = GA(pop_size=pop_size,\n",