Skip to content

Commit

Permalink
Quick fix of Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
blankjul committed Jul 30, 2022
1 parent fb164b2 commit 4dae90a
Show file tree
Hide file tree
Showing 2 changed files with 214 additions and 110 deletions.
44 changes: 38 additions & 6 deletions docs/source/algorithms/moo/rvea.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": [
"# RVEA: Reference Vector Guided Evolutionary Algorithm"
]
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"pycharm": {
"name": "#%% md\n"
}
},
"source": [
"The algorithm is implemented based on <cite data-cite=\"rvea\"></cite>. In RVEA, a scalarization approach, termed angle penalized distance (APD), is adopted to balance the convergence and diversity of the solutions in the high-dimensional objective space. Furthermore, an adaptation strategy is proposed to dynamically adjust the reference vectors' distribution according to the objective functions' scales. An illustration of the APD is shown below:"
]
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"pycharm": {
"name": "#%% md\n"
}
},
"source": [
"<div style=\"text-align: center;\">\n",
" <img src=\"https://github.com/anyoptimization/pymoo-data/blob/main/docs/images/rvea_apd.png?raw=true\" width=\"350\">\n",
Expand All @@ -34,14 +49,21 @@
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"pycharm": {
"name": "#%% md\n"
}
},
"source": [
"### Example"
]
},
{
"cell_type": "raw",
"metadata": {
"pycharm": {
"name": "#%% raw\n"
},
"raw_mimetype": "text/restructuredtext"
},
"source": [
Expand All @@ -61,6 +83,9 @@
"iopub.status.idle": "2022-07-30T17:29:20.876415Z",
"shell.execute_reply": "2022-07-30T17:29:20.875689Z"
},
"pycharm": {
"name": "#%%\n"
},
"tags": []
},
"outputs": [],
Expand All @@ -84,21 +109,28 @@
" verbose=False)\n",
"\n",
"plot = Scatter()\n",
"plot.add(problem.pareto_front(ref_dirs), plot_type=\"line\", color=\"black\", alpha=0.7)\n",
"plot.add(problem.pareto_front(ref_dirs), plot_type=\"surface\", color=\"black\", alpha=0.7)\n",
"plot.add(res.F, color=\"red\")\n",
"plot.show()"
]
},
{
"cell_type": "markdown",
"metadata": {},
"metadata": {
"pycharm": {
"name": "#%% md\n"
}
},
"source": [
"### API"
]
},
{
"cell_type": "raw",
"metadata": {
"pycharm": {
"name": "#%% raw\n"
},
"raw_mimetype": "text/restructuredtext"
},
"source": [
Expand Down
Loading

0 comments on commit 4dae90a

Please sign in to comment.