Skip to content

Commit 6d5f208

Browse files
committed
use scip for markowitz portfolio with chance constraint
1 parent fa2281d commit 6d5f208

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

notebooks/09/markowitz_portfolio_with_chance_constraint.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
{
2222
"cell_type": "code",
23-
"execution_count": 1,
23+
"execution_count": null,
2424
"id": "5da22c67-5c34-4c3a-90a4-61222899e855",
2525
"metadata": {
2626
"tags": []
@@ -30,12 +30,12 @@
3030
"# Install AMPL and solvers\n",
3131
"%pip install -q amplpy pandas numpy scipy\n",
3232
"\n",
33-
"SOLVER = \"highs\"\n",
33+
"SOLVER = \"scip\"\n",
3434
"\n",
3535
"from amplpy import AMPL, ampl_notebook\n",
3636
"\n",
3737
"ampl = ampl_notebook(\n",
38-
" modules=[\"highs\"], # modules to install\n",
38+
" modules=[\"scip\"], # modules to install\n",
3939
" license_uuid=\"default\", # license to use\n",
4040
") # instantiate AMPL object and register magics"
4141
]

0 commit comments

Comments
 (0)