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.

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

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

  • asymptotes_distance_reduction_coefficient: 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-2.0.0.tar.gz (44.0 kB view details)

Uploaded Source

Built Distribution

gemseo_mma-2.0.0-py2.py3-none-any.whl (20.7 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for gemseo-mma-2.0.0.tar.gz
Algorithm Hash digest
SHA256 6b31f1344b1992be3eb61ac700f1fa1baf912dd154a5441ade9d85e2e5c4aad3
MD5 e0b148118705179729647a4931d6ef00
BLAKE2b-256 c82413b785ba2d3fcc59879920bf051608b6acf2b25e16310f1dd321a725c149

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gemseo_mma-2.0.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 d2cd50f46bc2670eb1fb0969e3d267760096f967f23215831536fe8f2cce0f30
MD5 0e3bacfe7033fde18ff702046988c07a
BLAKE2b-256 abb20af839c569208e593d23bcdfa37eac0b50c207a11126ffb15433a4e6cba4

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