diff --git a/gurobi-logtools.ipynb b/gurobi-logtools.ipynb index 09e1497..2ed8c26 100644 --- a/gurobi-logtools.ipynb +++ b/gurobi-logtools.ipynb @@ -406,7 +406,7 @@ "source": [ "import plotly.graph_objects as go\n", "\n", - "default_run = nl[(nl[\"Log\"] == \"912\") & (nl[\"Seed\"] == \"0\")]\n", + "default_run = nl[(nl[\"Log\"] == \"912\") & (nl[\"Seed\"] == 0)]\n", "\n", "fig = go.Figure()\n", "fig.add_trace(go.Scatter(x=default_run[\"Time\"], y=default_run[\"Incumbent\"], name=\"Primal Bound\"))\n", @@ -442,8 +442,8 @@ "from plotly.subplots import make_subplots\n", "\n", "selected_run = nl[nl[\"Log\"] == \"912-Cuts0-Heuristics0.1\"] \n", - "fastest_run = selected_run[selected_run[\"Seed\"] == \"1\"]\n", - "slowest_run = selected_run[selected_run[\"Seed\"] == \"2\"]\n", + "fastest_run = selected_run[selected_run[\"Seed\"] == 1]\n", + "slowest_run = selected_run[selected_run[\"Seed\"] == 2]\n", "\n", "fig = make_subplots(rows=2, cols=1)\n", "fig.append_trace(go.Scatter(x=slowest_run[\"Time\"], y=slowest_run[\"Incumbent\"], \n", @@ -529,13 +529,10 @@ } ], "metadata": { - "interpreter": { - "hash": "97a39e22a74057e77e09ffc7f5ef791bf0c7aa358a1c96c3109262f57533050a" - }, "kernelspec": { - "display_name": "grblogtools", + "display_name": "grbpy-all-5WvLdXZK-py3.11", "language": "python", - "name": "grblogtools" + "name": "python3" }, "language_info": { "codemirror_mode": { @@ -547,7 +544,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.10.3" + "version": "3.11.6" } }, "nbformat": 4,