forked from anyoptimization/pymoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Julian Blank
committed
Oct 21, 2019
1 parent
3d25b16
commit 373bd57
Showing
102 changed files
with
4,105 additions
and
422 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -29,13 +29,13 @@ | |
<link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css"> | ||
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css"> | ||
<link rel="stylesheet" href="https://unpkg.com/[email protected]/build/pure-min.css" integrity="sha384-nn4HPE8lTHyVtfCBi5yW9d20FjT8BJwUXyWZT9InLYax14RDjBj46LmSztkmNP9w" crossorigin="anonymous"> | ||
|
||
{%- for cssfile in css_files %} | ||
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css"> | ||
{%- endfor %} | ||
|
||
|
||
|
||
<!-- | ||
--------------------------------------- | ||
JavaScript | ||
|
@@ -59,18 +59,17 @@ | |
|
||
<script type="text/javascript" src="{{ pathto('_static/js/custom.js', 1) }}"></script> | ||
{%- for scriptfile in script_files %} | ||
{% if pathto(scriptfile, 1) %} | ||
<script type="text/javascript" src="{{ pathto(scriptfile, 1) }}"></script> | ||
{%endif %} | ||
{%- endfor %} | ||
|
||
{%- if favicon %} | ||
<link rel="shortcut icon" href="{{ pathto('_static/' + favicon, 1) }}"> | ||
{%- endif %} | ||
|
||
<link rel="icon" type="image/png" href="{{ pathto('_static/img/favicon.ico', 1) }}"> | ||
|
||
<meta charset="{{ encoding }}"> | ||
{{ metatags }} | ||
|
||
|
||
|
||
<title>pymoo</title> | ||
|
||
|
||
|
@@ -91,7 +90,7 @@ | |
<div class="container"> | ||
<div class="top-scipy-org-logo-header"> | ||
<a href="{{ pathto('index') }}"> | ||
<img style="border: 0;" alt="pymoo" src="{{ pathto('_static/img/pymoo.svg', 1) }}"></a> | ||
<img style="border: 0;" alt="pymoo" src="{{ pathto('_static/img/pymoo.jpg', 1) }}"></a> | ||
</div> | ||
</div> | ||
{% endblock %} | ||
|
@@ -148,7 +147,7 @@ | |
{%- block document %} | ||
<div class="bodywrapper"> | ||
<div class="body" id="spc-section-body"> | ||
{% block body %} | ||
{% block body %} | ||
{% endblock %} | ||
</div> | ||
</div> | ||
|
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "raw", | ||
"metadata": { | ||
"raw_mimetype": "text/restructuredtext" | ||
}, | ||
"source": [ | ||
".. _nb_nelder_mead:" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"## Nelder Mead\n", | ||
"\n", | ||
"\n", | ||
"This algorithm is implemented based on <cite data-cite=\"NelderMead65\"></cite>. In addition to other implementations, a boundary check is included. This ensures that the search considers the box constraints of the given optimization problem. If no boundaries are provided the algorithm falls back to a search without any constraints. " | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": 1, | ||
"metadata": { | ||
"code": "algorithms/usage_so_nelder_mead.py" | ||
}, | ||
"outputs": [ | ||
{ | ||
"name": "stdout", | ||
"output_type": "stream", | ||
"text": [ | ||
"[0.49955771 0.49951863 0.50041486 0.49977682 0.50047266 0.50000158\n", | ||
" 0.50030921 0.50048091 0.49992482 0.49986138]\n", | ||
"[1.22442015e-06]\n" | ||
] | ||
} | ||
], | ||
"source": [ | ||
"from pymoo.algorithms.so_nelder_mead import NelderMead\n", | ||
"from pymoo.factory import get_problem\n", | ||
"from pymoo.optimize import minimize\n", | ||
"\n", | ||
"problem = get_problem(\"sphere\")\n", | ||
"\n", | ||
"algorithm = NelderMead(n_max_restarts=10)\n", | ||
"\n", | ||
"res = minimize(problem,\n", | ||
" algorithm,\n", | ||
" seed=1,\n", | ||
" verbose=False)\n", | ||
"\n", | ||
"print(res.X)\n", | ||
"print(res.F)\n" | ||
] | ||
}, | ||
{ | ||
"cell_type": "markdown", | ||
"metadata": {}, | ||
"source": [ | ||
"### API" | ||
] | ||
}, | ||
{ | ||
"cell_type": "raw", | ||
"metadata": { | ||
"raw_mimetype": "text/restructuredtext" | ||
}, | ||
"source": [ | ||
".. autoclass:: pymoo.algorithms.so_nelder_mead.NelderMead\n", | ||
" :noindex:" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"celltoolbar": "Raw Cell Format", | ||
"kernelspec": { | ||
"display_name": "Python 3", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.7.4" | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 4 | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,19 @@ | ||
Algorithms | ||
============================================================================== | ||
|
||
.. autofunction:: pymoo.algorithms.so_genetic_algorithm.ga | ||
.. autoclass:: pymoo.algorithms.so_genetic_algorithm.GA | ||
|
||
.. autofunction:: pymoo.algorithms.so_de.de | ||
.. autoclass:: pymoo.algorithms.so_de.DE | ||
|
||
.. autofunction:: pymoo.algorithms.nsga2.nsga2 | ||
.. autoclass:: pymoo.algorithms.nsga2.NSGA2 | ||
|
||
.. autofunction:: pymoo.algorithms.rnsga2.rnsga2 | ||
.. autoclass:: pymoo.algorithms.rnsga2.RNSGA2 | ||
|
||
.. autofunction:: pymoo.algorithms.nsga3.nsga3 | ||
.. autoclass:: pymoo.algorithms.nsga3.NSGA3 | ||
|
||
.. autofunction:: pymoo.algorithms.unsga3.unsga3 | ||
.. autoclass:: pymoo.algorithms.unsga3.UNSGA3 | ||
|
||
.. autofunction:: pymoo.algorithms.rnsga3.rnsga3 | ||
.. autoclass:: pymoo.algorithms.rnsga3.RNSGA3 | ||
|
||
.. autofunction:: pymoo.algorithms.moead.moead | ||
.. autoclass:: pymoo.algorithms.moead.MOEAD | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.