Skip to main content

TEDEouS - Torch Exhaustive Differential Equations Solver. Differential equation solver, based on pytorch library

Project description

The purpose of the project

  1. Make equation discovery more transparent and illustrative

  2. Combine power of pytorch, numerical methods and math overall to conquer and solve ALL XDEs(X={O,P}). There are some examples to provide a little insight to an operator form

Table of Contents

Core features

  • Solve ODE initial- or boundary-value problems

  • Solve PDE initial-boundary value problems

  • Use variable models and their differentiation methods

  • Faster solution using cache

Installation

TEDEouS can be installed with pip:

$ git clone https://github.com/ITMO-NSS-team/torch_DE_solver.git
$ cd torch_DE_solver
$ pip install -r requirements.txt

Examples

After the TEDEouS is installed the user may refer to various examples that are in examples forlder.

$ cd examples

Every example is designed such that the boxplots of the launches are commented and the preliminary results are not shown, but stored in separate folders.

  • Legendre polynomial equation

$ python example_ODE_Legendre.py

or

$ python example_ODE_Legendre_autograd.py
  • Panleve transcendents (others are placed in ‘examples\to_renew’ folder due to the architecture change)

$ python example_Painleve_I.py
  • Wave equation (non-physical conditions for equation discovery problem)

$ python example_wave_paper_autograd.py
  • Wave equation (initial-boundary value problem)

$ python example_wave_physics.py
  • Heat equation

$ python example_heat.py
  • KdV equation (non-physical conditions for equation discovery problem)

$ python example_KdV.py
  • KdV equation (solitary solution with periodic boundary conditions)

$ python example_KdV_periodic.py
  • Burgers equation and DeepXDE comparison

$ python example_Burgers_paper.py

Project Structure

Stable version is located in the master branch.

Documentation

https://torch-de-solver.readthedocs.io/en/docs/index.html

Getting started

Schroedinger equation example step-by-step https://torch-de-solver.readthedocs.io/en/docs/tedeous/examples/schrodinger.html

License

TEDEouS is distributed under BSD-3 licence found in LICENCE file

Contacts

  • Feel free to make issues or contact @SuperSashka directly

Citation

@article{hvatov2023solver,
AUTHOR = {Hvatov, Alexander},
TITLE = {Automated Differential Equation Solver Based on the Parametric Approximation Optimization},
JOURNAL = {Mathematics},
VOLUME = {11},
YEAR = {2023},
NUMBER = {8},
ARTICLE-NUMBER = {1787},
URL = {https://www.mdpi.com/2227-7390/11/8/1787},
ISSN = {2227-7390},
DOI = {10.3390/math11081787}
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tedeous-0.4.2.tar.gz (41.5 kB view details)

Uploaded Source

Built Distribution

TEDEouS-0.4.2-py3-none-any.whl (50.9 kB view details)

Uploaded Python 3

File details

Details for the file tedeous-0.4.2.tar.gz.

File metadata

  • Download URL: tedeous-0.4.2.tar.gz
  • Upload date:
  • Size: 41.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for tedeous-0.4.2.tar.gz
Algorithm Hash digest
SHA256 0f4629565341047f3b54ccb0e6cabe13002f1fba8df3095829e60134168fae2a
MD5 c3c7f35c93bb37223b82c554c37d2643
BLAKE2b-256 e2f7f8dc0a4008016171055b5aab056b4b359adca163948a167f4023c0b40845

See more details on using hashes here.

File details

Details for the file TEDEouS-0.4.2-py3-none-any.whl.

File metadata

  • Download URL: TEDEouS-0.4.2-py3-none-any.whl
  • Upload date:
  • Size: 50.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for TEDEouS-0.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 5b4035fb6f7930da23c0da9b1372f686b772419c8560202c757aff93cc10bdd3
MD5 d39c82d0ecb0fd6cb7b9a10e4d2f4995
BLAKE2b-256 13563404175d9c4b6d7eb375f88f1c8f84b0c1852c4d5466b0dcf91c99146787

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page