Skip to content
This repository has been archived by the owner on Jan 10, 2025. It is now read-only.

Commit

Permalink
Update metaheuristics_example.ipynb
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom-van-Woudenberg committed May 22, 2024
1 parent 89ade51 commit 30a7e37
Showing 1 changed file with 16 additions and 3 deletions.
19 changes: 16 additions & 3 deletions book/pages/metaheuristics_example.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,22 @@
"source": [
"import scipy as sp \n",
"import numpy as np\n",
"#import micropip\n",
"#await micropip.install(\"pymoo\")\n",
"%pip install pymoo\n",
"import micropip\n",
"await micropip.install(\"pymoo\")\n",
"#%pip install pymoo\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "7b7d6a93",
"metadata": {
"tags": [
"thebe-remove-input-init"
]
},
"outputs": [],
"source": [
"from pymoo.problems.functional import FunctionalProblem as FunctionalProblem #import problem definer\n",
"from pymoo.algorithms.soo.nonconvex.ga import GA #import algoritm\n",
"from pymoo.optimize import minimize #import general minimizer\n",
Expand Down

0 comments on commit 30a7e37

Please sign in to comment.