Skip to main content

A gemseo wrapper of Python version of Method of Moving Asymptothes in the implementation of Arjen Deetman.

Project description

A GEMSEO wrapper of the Method of Moving Asymptotes implementation of Arjen Deetman.

Documentation

See https://gemseo.readthedocs.io/en/stable/plugins.html.

Bugs/Questions

Please use the gitlab issue tracker at https://gitlab.com/gemseo/dev/gemseo-mma/-/issues to submit bugs or questions.

License

The GEMSEO-MMA source code is distributed under the GNU LGPL v3.0 license. A copy of it can be found in the LICENSE.txt file. The GNU LGPL v3.0 license is an exception to the GNU GPL v3.0 license. A copy of the GNU GPL v3.0 license can be found in the LICENSES folder.

The GEMSEO-MMA examples are distributed under the BSD 0-Clause, a permissive license that allows to copy paste the code of examples without preserving the copyright mentions.

The GEMSEO-MMA documentation is distributed under the CC BY-SA 4.0 license.

The GEMSEO-MMA product depends on other software which have various licenses. The list of dependencies with their licenses is given in the CREDITS.rst file.

Installation

pip install gemseo-mma

Usage

Like any other gemseo wrapped solver, MMA solver can be called setting the algo option to "MMA". This algorithm can be used for single objective continuous optimization problem with non-linear inequality constraints.

Advanced options:

  • tol: The KKT residual norm tolerance. This is not the one implemented in GEMSEO as it uses the local functions to be computed.

  • max_optimization_step: Also known as move parameter control the maximum distance of the next iteration design point from the current one. Reducing this parameter avoid divergence for highly non-linear problems.

  • min_asymptote_distance: The minimum distance of the asymptotes from the current design variable value.

  • max_asymptote_distance: The maximum distance of the asymptotes from the current design variable value.

  • asyinit: The initial asymptote distance from the current design variable value.

  • asyincr The incremental factor of asymptote distance from the current design variable value for successful iterations.

  • asydecr: The decremental factor of asymptote distance from the current design variable value for successful iterations.

  • conv_tol: If provided control all other convergence tolerances.

The shortest is the distance of the asymptotes, the highest is the convexity of the local approximation. It’s another mechanism to control the optimization step. You can find an example in examples/analytic_example.ipynb.

Contributors and acknowledgment

References

Svanberg, K. (1987). The Method of Moving Asymptotes – A new method for structural optimization. International Journal for Numerical Methods in Engineering 24, 359-373. doi:10.1002/nme.1620240207, see https://onlinelibrary.wiley.com/doi/abs/10.1002/nme.1620240207.

Svanberg, K. (n.d.). MMA and GCMMA – two methods for nonlinear optimization. Retrieved August 3, 2017 from https://people.kth.se/~krille/mmagcmma.pdf

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

gemseo-mma-1.0.0.tar.gz (147.6 kB view details)

Uploaded Source

Built Distribution

gemseo_mma-1.0.0-py2.py3-none-any.whl (20.8 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gemseo-mma-1.0.0.tar.gz.

File metadata

  • Download URL: gemseo-mma-1.0.0.tar.gz
  • Upload date:
  • Size: 147.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for gemseo-mma-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4498c60d38e12f7a9fa589c542a1f43959f0892bc61863a837e8c703fb29cee6
MD5 445a1adce2a76218b3b4899a1f8c2882
BLAKE2b-256 0fcf9fbdbdf4d0a2000403673e7699748c4e2d9ff5a72af68037bfc287ff8a0f

See more details on using hashes here.

File details

Details for the file gemseo_mma-1.0.0-py2.py3-none-any.whl.

File metadata

  • Download URL: gemseo_mma-1.0.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 20.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.1

File hashes

Hashes for gemseo_mma-1.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 32a9046e9bde980ce2bdcff2cc907fc7e3a836724d2e849ac3afcad32a8b2969
MD5 2e48fb32c027a87045ef6060d2cb4cfd
BLAKE2b-256 e2b95d53469d3ef7c5f541e829ba12ee8fdf738d48391b4b5059758aa47a7b60

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