From 22f7eccacfaff259f557940d8af73e10959d5b92 Mon Sep 17 00:00:00 2001 From: Nadia-pmz <nadia.pmz@gmail.com> Date: Thu, 5 Dec 2024 13:13:42 +0100 Subject: [PATCH] Add instruction box to guide students --- content/GA_2_5/old_Analysis_GA_solution.ipynb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/content/GA_2_5/old_Analysis_GA_solution.ipynb b/content/GA_2_5/old_Analysis_GA_solution.ipynb index d148b849..47914811 100644 --- a/content/GA_2_5/old_Analysis_GA_solution.ipynb +++ b/content/GA_2_5/old_Analysis_GA_solution.ipynb @@ -694,13 +694,20 @@ "Now we are ready to minimize the NDP problem using the GA method we defined." ] }, + { + "cell_type": "markdown", + "metadata": {}, + "source": [ + "<div style=\"background-color:#a6ffa6; color: black; vertical-align: middle; padding:15px; margin: 10px; border-radius: 10px; width: 95%\"><p><b>Instructions:</b> Run the GA for 3 minutes initially to observe how the results converge and to understand the process of obtaining the final solution. Once you have familiarized yourself with the mechanism and the behavior of the algorithm, extend the maximum computation time to 10 minutes. Use the results from this extended run as the foundation for addressing the questions outlined in the report. </p></div>" + ] + }, { "cell_type": "markdown", "metadata": { "id": "0491cc69" }, "source": [ - "<div style=\"background-color:#ffa500; color: black; vertical-align: middle; padding:15px; margin: 10px; border-radius: 10px; width: 95%\"><p><b>Note:</b> termination is set here as a keyword argument (see note above).</p></div>" + "<div style=\"background-color:#ffa500; color: black; vertical-align: middle; padding:15px; margin: 10px; border-radius: 10px; width: 95%\"><p><b>Note:</b> Maximum computation time (termination criteria) is set here as a keyword argument.</p></div>" ] }, { -- GitLab