Skip to content

Commit

Permalink
VERSION 0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
blankjul committed Jul 30, 2022
1 parent f9dd51f commit fb164b2
Show file tree
Hide file tree
Showing 104 changed files with 1,513 additions and 1,460 deletions.
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
* linguist-detectable=false
*.py linguist-detectable=true

*.ipynb filter=remove-notebook-output
2 changes: 1 addition & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
prune .
recursive-include pymoo *.py *.pyx
recursive-include pymoo/cython/vendor *.c *.h
recursive-include pymoo/cython/vendor *.cpp *.h
include LICENSE Makefile
2 changes: 2 additions & 0 deletions docs/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@

IPYNBS = [e for e in files_from_folder(DOCS, regex='**/*.ipynb', skip=SKIP) if ".ipynb_checkpoints" not in e]

IPYNBS = ['/Users/blankjul/workspace/pymoo/docs/source/algorithms/usage.ipynb',
'/Users/blankjul/workspace/pymoo/docs/source/algorithms/moo/nsga2.ipynb']

failed = []

Expand Down
2 changes: 1 addition & 1 deletion docs/source/_theme/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@
</div>


<div id="main-content" class="col py-3 px-6 px-md-4">
<div id="main-content" class="col py-3 px-6 col-md-9 px-md-4">

<div>
{{ super() }}
Expand Down
2 changes: 1 addition & 1 deletion docs/source/_theme/theme.conf
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[theme]
inherit = pydata_sphinx_theme
pygments_style = tango
sidebars = search-field.html, sbt-sidebar-nav.html, sbt-sidebar-footer.html
sidebars = sidebar-search-bs.html, sbt-sidebar-nav.html, sbt-sidebar-footer.html
stylesheet = sphinx-book-theme.da26317cf37e5c4af2fa3e6253912353.css

[options]
Expand Down
40 changes: 20 additions & 20 deletions docs/source/algorithms/hyperparameters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:21:25.160243Z",
"iopub.status.busy": "2022-07-29T18:21:25.159678Z",
"iopub.status.idle": "2022-07-29T18:21:25.282419Z",
"shell.execute_reply": "2022-07-29T18:21:25.281202Z"
"iopub.execute_input": "2022-07-30T17:25:21.043948Z",
"iopub.status.busy": "2022-07-30T17:25:21.043537Z",
"iopub.status.idle": "2022-07-30T17:25:21.098306Z",
"shell.execute_reply": "2022-07-30T17:25:21.097755Z"
},
"pycharm": {
"name": "#%%\n"
Expand Down Expand Up @@ -100,10 +100,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:21:25.288658Z",
"iopub.status.busy": "2022-07-29T18:21:25.288217Z",
"iopub.status.idle": "2022-07-29T18:21:37.210503Z",
"shell.execute_reply": "2022-07-29T18:21:37.209863Z"
"iopub.execute_input": "2022-07-30T17:25:21.101947Z",
"iopub.status.busy": "2022-07-30T17:25:21.101648Z",
"iopub.status.idle": "2022-07-30T17:25:31.692131Z",
"shell.execute_reply": "2022-07-30T17:25:31.690739Z"
},
"pycharm": {
"name": "#%%\n"
Expand Down Expand Up @@ -155,10 +155,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:21:37.213740Z",
"iopub.status.busy": "2022-07-29T18:21:37.213398Z",
"iopub.status.idle": "2022-07-29T18:21:44.233047Z",
"shell.execute_reply": "2022-07-29T18:21:44.232092Z"
"iopub.execute_input": "2022-07-30T17:25:31.696459Z",
"iopub.status.busy": "2022-07-30T17:25:31.696067Z",
"iopub.status.idle": "2022-07-30T17:25:38.499709Z",
"shell.execute_reply": "2022-07-30T17:25:38.498892Z"
},
"pycharm": {
"name": "#%%\n"
Expand Down Expand Up @@ -212,10 +212,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:21:44.237637Z",
"iopub.status.busy": "2022-07-29T18:21:44.237353Z",
"iopub.status.idle": "2022-07-29T18:22:00.709442Z",
"shell.execute_reply": "2022-07-29T18:22:00.708080Z"
"iopub.execute_input": "2022-07-30T17:25:38.503181Z",
"iopub.status.busy": "2022-07-30T17:25:38.502820Z",
"iopub.status.idle": "2022-07-30T17:25:53.295688Z",
"shell.execute_reply": "2022-07-30T17:25:53.294554Z"
},
"pycharm": {
"name": "#%%\n"
Expand Down Expand Up @@ -269,10 +269,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:22:00.714327Z",
"iopub.status.busy": "2022-07-29T18:22:00.713885Z",
"iopub.status.idle": "2022-07-29T18:22:17.733850Z",
"shell.execute_reply": "2022-07-29T18:22:17.733006Z"
"iopub.execute_input": "2022-07-30T17:25:53.299099Z",
"iopub.status.busy": "2022-07-30T17:25:53.298836Z",
"iopub.status.idle": "2022-07-30T17:26:08.644353Z",
"shell.execute_reply": "2022-07-30T17:26:08.643595Z"
},
"pycharm": {
"name": "#%%\n"
Expand Down
4 changes: 2 additions & 2 deletions docs/source/algorithms/index.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -93,7 +93,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.5"
"version": "3.8.8"
},
"pycharm": {
"stem_cell": {
Expand Down
32 changes: 25 additions & 7 deletions docs/source/algorithms/initialization.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
{
"cell_type": "raw",
"metadata": {
"pycharm": {
"name": "#%% raw\n"
},
"raw_mimetype": "text/restructuredtext"
},
"source": [
Expand All @@ -11,21 +14,33 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"pycharm": {
"name": "#%% md\n"
}
},
"source": [
"# Initialization"
]
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"pycharm": {
"name": "#%% md\n"
}
},
"source": [
"Algorithms are directly initialized using the corresponding constructor."
]
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"pycharm": {
"name": "#%% md\n"
}
},
"source": [
"Directly initializing the object keeps the code clean and if you use an idea lets you quickly jump to the definition of the algorithm and find hyperparameters to modify."
]
Expand All @@ -35,10 +50,13 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:22:22.674957Z",
"iopub.status.busy": "2022-07-29T18:22:22.674481Z",
"iopub.status.idle": "2022-07-29T18:22:22.797082Z",
"shell.execute_reply": "2022-07-29T18:22:22.796277Z"
"iopub.execute_input": "2022-07-30T17:26:12.216644Z",
"iopub.status.busy": "2022-07-30T17:26:12.216187Z",
"iopub.status.idle": "2022-07-30T17:26:12.260811Z",
"shell.execute_reply": "2022-07-30T17:26:12.259942Z"
},
"pycharm": {
"name": "#%%\n"
},
"tags": []
},
Expand Down
16 changes: 8 additions & 8 deletions docs/source/algorithms/moo/age.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
"metadata": {
"code": "algorithms/usage_nsga2.py",
"execution": {
"iopub.execute_input": "2022-07-29T18:22:38.664077Z",
"iopub.status.busy": "2022-07-29T18:22:38.663698Z",
"iopub.status.idle": "2022-07-29T18:22:49.127622Z",
"shell.execute_reply": "2022-07-29T18:22:49.125936Z"
"iopub.execute_input": "2022-07-30T17:26:25.496226Z",
"iopub.status.busy": "2022-07-30T17:26:25.495827Z",
"iopub.status.idle": "2022-07-30T17:26:34.312654Z",
"shell.execute_reply": "2022-07-30T17:26:34.311991Z"
},
"tags": []
},
Expand Down Expand Up @@ -104,10 +104,10 @@
"metadata": {
"code": "algorithms/usage_nsga2_binary.py",
"execution": {
"iopub.execute_input": "2022-07-29T18:22:49.136048Z",
"iopub.status.busy": "2022-07-29T18:22:49.135354Z",
"iopub.status.idle": "2022-07-29T18:23:07.679326Z",
"shell.execute_reply": "2022-07-29T18:23:07.678625Z"
"iopub.execute_input": "2022-07-30T17:26:34.316070Z",
"iopub.status.busy": "2022-07-30T17:26:34.315790Z",
"iopub.status.idle": "2022-07-30T17:26:47.885787Z",
"shell.execute_reply": "2022-07-30T17:26:47.884792Z"
},
"tags": []
},
Expand Down
8 changes: 4 additions & 4 deletions docs/source/algorithms/moo/age2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@
"metadata": {
"code": "algorithms/usage_nsga2.py",
"execution": {
"iopub.execute_input": "2022-07-29T18:24:43.208646Z",
"iopub.status.busy": "2022-07-29T18:24:43.207916Z",
"iopub.status.idle": "2022-07-29T18:25:00.557359Z",
"shell.execute_reply": "2022-07-29T18:25:00.555969Z"
"iopub.execute_input": "2022-07-30T17:27:56.968774Z",
"iopub.status.busy": "2022-07-30T17:27:56.968284Z",
"iopub.status.idle": "2022-07-30T17:28:07.508948Z",
"shell.execute_reply": "2022-07-30T17:28:07.508223Z"
},
"tags": []
},
Expand Down
16 changes: 8 additions & 8 deletions docs/source/algorithms/moo/ctaea.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:23:46.629898Z",
"iopub.status.busy": "2022-07-29T18:23:46.629179Z",
"iopub.status.idle": "2022-07-29T18:24:15.102111Z",
"shell.execute_reply": "2022-07-29T18:24:15.101309Z"
"iopub.execute_input": "2022-07-30T17:27:14.200722Z",
"iopub.status.busy": "2022-07-30T17:27:14.200311Z",
"iopub.status.idle": "2022-07-30T17:27:35.006760Z",
"shell.execute_reply": "2022-07-30T17:27:35.005333Z"
},
"pycharm": {
"name": "#%%\n"
Expand Down Expand Up @@ -77,10 +77,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:24:15.108730Z",
"iopub.status.busy": "2022-07-29T18:24:15.108271Z",
"iopub.status.idle": "2022-07-29T18:24:36.991001Z",
"shell.execute_reply": "2022-07-29T18:24:36.990094Z"
"iopub.execute_input": "2022-07-30T17:27:35.012662Z",
"iopub.status.busy": "2022-07-30T17:27:35.012352Z",
"iopub.status.idle": "2022-07-30T17:27:52.589846Z",
"shell.execute_reply": "2022-07-30T17:27:52.588782Z"
},
"pycharm": {
"name": "#%%\n"
Expand Down
8 changes: 4 additions & 4 deletions docs/source/algorithms/moo/dnsga2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"id": "4a786da2-8c26-406e-ad1e-c6f0159793c1",
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:25:05.359240Z",
"iopub.status.busy": "2022-07-29T18:25:05.358873Z",
"iopub.status.idle": "2022-07-29T18:25:08.671273Z",
"shell.execute_reply": "2022-07-29T18:25:08.670391Z"
"iopub.execute_input": "2022-07-30T17:28:11.297845Z",
"iopub.status.busy": "2022-07-30T17:28:11.297081Z",
"iopub.status.idle": "2022-07-30T17:28:13.912251Z",
"shell.execute_reply": "2022-07-30T17:28:13.911576Z"
}
},
"outputs": [],
Expand Down
8 changes: 4 additions & 4 deletions docs/source/algorithms/moo/moead.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:23:13.214937Z",
"iopub.status.busy": "2022-07-29T18:23:13.214567Z",
"iopub.status.idle": "2022-07-29T18:23:40.276847Z",
"shell.execute_reply": "2022-07-29T18:23:40.275919Z"
"iopub.execute_input": "2022-07-30T17:26:51.633147Z",
"iopub.status.busy": "2022-07-30T17:26:51.632768Z",
"iopub.status.idle": "2022-07-30T17:27:10.532499Z",
"shell.execute_reply": "2022-07-30T17:27:10.531587Z"
},
"tags": []
},
Expand Down
18 changes: 9 additions & 9 deletions docs/source/algorithms/moo/nsga2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:25:55.020817Z",
"iopub.status.busy": "2022-07-29T18:25:55.020308Z",
"iopub.status.idle": "2022-07-29T18:25:57.689936Z",
"shell.execute_reply": "2022-07-29T18:25:57.689199Z"
"iopub.execute_input": "2022-07-30T18:04:04.270747Z",
"iopub.status.busy": "2022-07-30T18:04:04.270207Z",
"iopub.status.idle": "2022-07-30T18:04:06.891215Z",
"shell.execute_reply": "2022-07-30T18:04:06.890318Z"
},
"tags": []
},
Expand Down Expand Up @@ -130,10 +130,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:25:57.693930Z",
"iopub.status.busy": "2022-07-29T18:25:57.693586Z",
"iopub.status.idle": "2022-07-29T18:26:03.964573Z",
"shell.execute_reply": "2022-07-29T18:26:03.963837Z"
"iopub.execute_input": "2022-07-30T18:04:06.894649Z",
"iopub.status.busy": "2022-07-30T18:04:06.894229Z",
"iopub.status.idle": "2022-07-30T18:04:12.753984Z",
"shell.execute_reply": "2022-07-30T18:04:12.752407Z"
},
"tags": []
},
Expand Down Expand Up @@ -185,7 +185,7 @@
"metadata": {
"celltoolbar": "Raw Cell Format",
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand Down
16 changes: 8 additions & 8 deletions docs/source/algorithms/moo/nsga3.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -81,10 +81,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:25:26.999290Z",
"iopub.status.busy": "2022-07-29T18:25:26.998728Z",
"iopub.status.idle": "2022-07-29T18:25:35.443562Z",
"shell.execute_reply": "2022-07-29T18:25:35.442781Z"
"iopub.execute_input": "2022-07-30T17:28:27.683654Z",
"iopub.status.busy": "2022-07-30T17:28:27.683063Z",
"iopub.status.idle": "2022-07-30T17:28:33.200615Z",
"shell.execute_reply": "2022-07-30T17:28:33.199779Z"
},
"tags": []
},
Expand Down Expand Up @@ -119,10 +119,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:25:35.448828Z",
"iopub.status.busy": "2022-07-29T18:25:35.448394Z",
"iopub.status.idle": "2022-07-29T18:25:42.206081Z",
"shell.execute_reply": "2022-07-29T18:25:42.204915Z"
"iopub.execute_input": "2022-07-30T17:28:33.204903Z",
"iopub.status.busy": "2022-07-30T17:28:33.204631Z",
"iopub.status.idle": "2022-07-30T17:28:38.561481Z",
"shell.execute_reply": "2022-07-30T17:28:38.560626Z"
},
"tags": []
},
Expand Down
8 changes: 4 additions & 4 deletions docs/source/algorithms/moo/rnsga2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@
"execution_count": null,
"metadata": {
"execution": {
"iopub.execute_input": "2022-07-29T18:25:46.760259Z",
"iopub.status.busy": "2022-07-29T18:25:46.759881Z",
"iopub.status.idle": "2022-07-29T18:25:50.694652Z",
"shell.execute_reply": "2022-07-29T18:25:50.693679Z"
"iopub.execute_input": "2022-07-30T17:28:42.176047Z",
"iopub.status.busy": "2022-07-30T17:28:42.175378Z",
"iopub.status.idle": "2022-07-30T17:28:45.075402Z",
"shell.execute_reply": "2022-07-30T17:28:45.074682Z"
},
"tags": []
},
Expand Down
Loading

0 comments on commit fb164b2

Please sign in to comment.