https://github.com/ahudde/nonlinear_programming

A Jupyter notebook to interactively learn nonlinear programming

https://github.com/ahudde/nonlinear_programming

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.3%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A Jupyter notebook to interactively learn nonlinear programming

Basic Info
  • Host: GitHub
  • Owner: ahudde
  • License: mit
  • Language: HTML
  • Default Branch: main
  • Homepage:
  • Size: 7.6 MB
Statistics
  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 4 years ago · Last pushed 12 months ago
Metadata Files
Readme License

README.md

Nonlinear Programming Binder

newplot

This Jupyter notebook introduces the basic concepts of nonlinear programming. With the help of interactive plots, the gradient descent algorithm for optimization, and the penalty method for the incorporation of constraints are explained. Furthermore, it is shown, how nonlinear programming can be run with the Python-Package SciPy. In the end, we give an outlook to automatic differentiation with the Python package autograd.

How to run with Binder Binder

You can run the notebook on Binder with the following link: https://mybinder.org/v2/gh/ahudde/nonlinearprogramming/HEAD?labpath=nonlinearprogramming.ipynb

Running nonlinear_programming locally

One way is to install the Python-Anaconda-Distribution (https://www.anaconda.com/products/individual). On top of that, please install the packages plotly and autograd (by typing conda install plotly and conda install autograd in the anaconda prompt).

Start

Download the files nonlinear_programming.ipynb and nonlinear_programming.py as well as the .svg-files in the same folder. Now, start the jupyter notebook by typing jupyter notebook into the anaconda prompt and navigating to the nonlinear_programming folder.

Now you can run the cells of the notebook and thus learn about nonlinear programming. You can run many cells several times, where each time one iteration is shown. Just try it out.

Have fun learning!

Contributions, bug reports or support

Bug reports and contributions are very welcome. Also, if you need assistance, please open an issue on github.com/ahudde/nonlinear_programming/issues.

Owner

  • Login: ahudde
  • Kind: user

GitHub Events

Total
  • Push event: 9
Last Year
  • Push event: 9

Dependencies

requirements.txt pypi
  • autograd ==1.6.2
  • future ==0.18.3
  • numpy ==1.25.0
  • packaging ==23.1
  • plotly ==5.15.0
  • scipy ==1.10.1
  • tenacity ==8.2.2