|
1 |
| -# Nichtlineare Optimierung [](https://mybinder.org/v2/gh/ahudde/nonlinear_programming/HEAD?labpath=nonlinear_programming.ipynb) |
| 1 | +# Nonlinear Programming [](https://mybinder.org/v2/gh/ahudde/nonlinear_programming/HEAD?labpath=nonlinear_programming.ipynb) |
2 | 2 |
|
3 | 3 | 
|
4 | 4 |
|
5 |
| -Dieses Notebook führt in die grundlegenden Ideen der nichtlinearen Optimierung ein. Anhand von interaktiven Plots werden das Gradientenverfahren für die Optimierung, sowie das Penalty-Verfahren für die Berücksichtigung von Nebenbedingungen erklärt. |
6 |
| -Weiterhin wird gezeigt, wie sich nichtlineare Optimierung mit dem Python-Paket `Scipy` durchführen lässt, und es kommt noch ein Ausblick in die automatic differention mit dem Python-Paket `Autograd`. |
| 5 | +This Jupyter notebook introduces the basic concepts of nonlinear programming. |
| 6 | +With the help of interactive plots, the gradient descent algorithm for optimization, and the penalty method for the incorporation of constraints are explained. |
| 7 | +Furthermore, it is shown, how nonlinear programming can be run with the Python-Package `SciPy`. |
| 8 | +In the end, we give an outlook to automatic differentiation with the Python package `autograd`. |
7 | 9 |
|
8 |
| -## Zugriff über Binder [](https://mybinder.org/v2/gh/ahudde/nonlinear_programming/HEAD?labpath=nonlinear_programming.ipynb) |
| 10 | +## How to run with Binder [](https://mybinder.org/v2/gh/ahudde/nonlinear_programming/HEAD?labpath=nonlinear_programming.ipynb) |
9 | 11 |
|
10 |
| -Sie können auf das Notebook über Binder mit dem Link [https://mybinder.org/v2/gh/ahudde/nonlinear_programming/HEAD?labpath=nonlinear_programming.ipynb](https://mybinder.org/v2/gh/ahudde/nonlinear_programming/HEAD?labpath=nonlinear_programming.ipynb) zugreifen. |
| 12 | +You can run the notebook on Binder with the following link: [https://mybinder.org/v2/gh/ahudde/nonlinear_programming/HEAD?labpath=nonlinear_programming.ipynb](https://mybinder.org/v2/gh/ahudde/nonlinear_programming/HEAD?labpath=nonlinear_programming.ipynb) |
11 | 13 |
|
12 |
| -## Lokale Ausführung |
| 14 | +## Running `nonlinear_programming` locally |
13 | 15 |
|
14 |
| -Man benötigt die Python-Anaconda Distribution (https://www.anaconda.com/products/individual). Zusätzlich sollte man noch die Pakete `plotly` und `autograd` installieren (`conda install plotly` und `conda install autograd` in den Anaconda-Prompt eingeben). |
| 16 | +One way is to install the Python-Anaconda-Distribution (https://www.anaconda.com/products/individual). |
| 17 | +On top of that, please install the packages `plotly` and `autograd` (by typing `conda install plotly` and `conda install autograd` in the anaconda prompt). |
15 | 18 |
|
16 | 19 | ## Start
|
17 | 20 |
|
18 |
| -Laden Sie die Dateien `nonlinear_programming.ipynb` sowie die '.svg'-Dateien, und legen Sie diese im gleichen Ordner ab. Nun starten Sie Jupyter Notebook, z.B. indem Sie `jupyter notebook` in den Anaconda Prompt eingeben, und navigieren Sie zu der Datei. |
| 21 | +Download the files `nonlinear_programming.ipynb` and `nonlinear_programming.py` as well as the `.svg`-files in the same folder. |
| 22 | +Now, start the jupyter notebook by typing `jupyter notebook` into the anaconda prompt and navigating to the `nonlinear_programming` folder. |
19 | 23 |
|
20 |
| -Nun können sie die einzelnen Zellen des Notebooks ausführen und sich so in das Thema nichtlineare Optimierung einarbeiten. Viele Python-Zellen lassen sich mehrmals hintereinander ausführen, wobei jeweils ein neuer Interationsschritt gezeigt wird. Am besten probiert man das einfach aus. |
| 24 | +Now you can run the cells of the notebook and thus learn about nonlinear programming. |
| 25 | +You can run many cells several times, where each time one iteration is shown. |
| 26 | +Just try it out. |
21 | 27 |
|
22 |
| -Viel Spaß beim Lernen! |
| 28 | +Have fun learning! |
0 commit comments