Skip to content

Commit

Permalink
update path to example files
Browse files Browse the repository at this point in the history
  • Loading branch information
maliheha committed Jun 22, 2024
1 parent b21f7bd commit 829870a
Showing 1 changed file with 42 additions and 42 deletions.
84 changes: 42 additions & 42 deletions intro_to_gurobipy/intro_to_gurobipy/intro_to_gurobipy.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "ff267917",
"id": "9985f7b1",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -19,7 +19,7 @@
},
{
"cell_type": "markdown",
"id": "c7add96f",
"id": "a66b4594",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -39,7 +39,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "becedc5b",
"id": "b319a3b4",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -57,7 +57,7 @@
},
{
"cell_type": "markdown",
"id": "e6a335dc",
"id": "e5f5db7f",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -76,7 +76,7 @@
},
{
"cell_type": "markdown",
"id": "bf8838b1",
"id": "5f92f0e2",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -97,7 +97,7 @@
},
{
"cell_type": "markdown",
"id": "6a5efc36",
"id": "e3f02815",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand Down Expand Up @@ -135,7 +135,7 @@
},
{
"cell_type": "markdown",
"id": "5b2738d7",
"id": "5eb49aef",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -156,7 +156,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4a1cf970",
"id": "c51e50c5",
"metadata": {
"code_folding": [
22
Expand Down Expand Up @@ -198,7 +198,7 @@
},
{
"cell_type": "markdown",
"id": "1db40407",
"id": "c6d94dcd",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand Down Expand Up @@ -227,7 +227,7 @@
},
{
"cell_type": "markdown",
"id": "e0a8c8df",
"id": "f99590d2",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand Down Expand Up @@ -258,7 +258,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "c4540670",
"id": "a5637577",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand All @@ -285,7 +285,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "4763eaef",
"id": "8a45c285",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -297,7 +297,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "812389ed",
"id": "67191848",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -311,7 +311,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b1260ab8",
"id": "517262d6",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand All @@ -337,7 +337,7 @@
},
{
"cell_type": "markdown",
"id": "f2eba8ea",
"id": "87d60197",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand Down Expand Up @@ -372,7 +372,7 @@
},
{
"cell_type": "markdown",
"id": "d822c113",
"id": "dbd8d9ad",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -391,7 +391,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3ece5640",
"id": "31c772ec",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand Down Expand Up @@ -421,7 +421,7 @@
},
{
"cell_type": "markdown",
"id": "39e336b8",
"id": "cb757e97",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -448,7 +448,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "00a3f876",
"id": "81839558",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand All @@ -468,7 +468,7 @@
},
{
"cell_type": "markdown",
"id": "da2b7c97",
"id": "51071459",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -495,7 +495,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "b39a6221",
"id": "b2948b40",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand Down Expand Up @@ -534,7 +534,7 @@
},
{
"cell_type": "markdown",
"id": "88c44161",
"id": "61214373",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand Down Expand Up @@ -563,7 +563,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "600cc5c8",
"id": "87d043c9",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand Down Expand Up @@ -608,7 +608,7 @@
},
{
"cell_type": "markdown",
"id": "23e0adc0",
"id": "b49864fc",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -627,7 +627,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "1c2ea69a",
"id": "ee87d5e7",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand Down Expand Up @@ -655,7 +655,7 @@
},
{
"cell_type": "markdown",
"id": "87741684",
"id": "c6e35294",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -678,7 +678,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "0774a681",
"id": "4e83785a",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand Down Expand Up @@ -723,7 +723,7 @@
},
{
"cell_type": "markdown",
"id": "af44c698",
"id": "82e22abf",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -740,7 +740,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "49c1ecd3",
"id": "475ea4d5",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand All @@ -752,7 +752,7 @@
"import gurobipy as gp\n",
"from gurobipy import GRB\n",
"\n",
"url = \"https://raw.githubusercontent.com/Gurobi/modeling-examples/master/intro_to_gurobipy/data/glass4.mps.bz2\"\n",
"url = \"https://raw.githubusercontent.com/Gurobi/modeling-examples/master/intro_to_gurobipy/intro_to_gurobipy/data/glass4.mps.bz2\"\n",
"path_to_file, _ = urllib.request.urlretrieve(url, \"./glass4.mps.bz2\")\n",
"\n",
"# running notebook locally:\n",
Expand All @@ -774,7 +774,7 @@
},
{
"cell_type": "markdown",
"id": "dca53115",
"id": "ca8ac2a1",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -788,7 +788,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "61277a1d",
"id": "8d5f7434",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand All @@ -800,7 +800,7 @@
"import gurobipy as gp\n",
"from gurobipy import GRB\n",
"\n",
"url = \"https://raw.githubusercontent.com/Gurobi/modeling-examples/master/intro_to_gurobipy/data/glass4.mps.bz2\"\n",
"url = \"https://raw.githubusercontent.com/Gurobi/modeling-examples/master/intro_to_gurobipy/intro_to_gurobipy/data/glass4.mps.bz2\"\n",
"path_to_file, _ = urllib.request.urlretrieve(url, \"./glass4.mps.bz2\")\n",
"\n",
"# running notebook locally:\n",
Expand All @@ -813,7 +813,7 @@
},
{
"cell_type": "markdown",
"id": "f3c629c6",
"id": "97615d56",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand Down Expand Up @@ -858,7 +858,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "66195906",
"id": "5e1ba317",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand Down Expand Up @@ -912,7 +912,7 @@
},
{
"cell_type": "markdown",
"id": "11d889db",
"id": "a2314369",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand Down Expand Up @@ -940,7 +940,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9a94383c",
"id": "18a48e9e",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand All @@ -952,7 +952,7 @@
"from urllib.request import urlopen\n",
"import numpy as np\n",
"\n",
"url = \"https://raw.githubusercontent.com/Gurobi/modeling-examples/master/intro_to_gurobipy/data/portfolio-example.json\"\n",
"url = \"https://raw.githubusercontent.com/Gurobi/modeling-examples/master/intro_to_gurobipy/intro_to_gurobipy/data/portfolio-example.json\"\n",
"response = urlopen(url)\n",
"data = json.loads(response.read())\n",
"\n",
Expand All @@ -966,7 +966,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e47a1de3",
"id": "3d1519b2",
"metadata": {
"slideshow": {
"slide_type": "fragment"
Expand Down Expand Up @@ -1020,7 +1020,7 @@
},
{
"cell_type": "markdown",
"id": "d132cb20",
"id": "48c99d33",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -1038,7 +1038,7 @@
},
{
"cell_type": "markdown",
"id": "8e29bb28",
"id": "5e8e9773",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand All @@ -1053,7 +1053,7 @@
},
{
"cell_type": "markdown",
"id": "8150f61c",
"id": "44aff1db",
"metadata": {
"slideshow": {
"slide_type": "slide"
Expand Down

0 comments on commit 829870a

Please sign in to comment.