Skip to main content

No project description provided

Project description

PyPI GitHub Documentation Status jax_badge

optymus is a Python library designed to address optimization problems in science and engineering. Built on JAX, allowing automatic differentiation for efficient computation of gradients and Hessians. The library emphasizes ease of use and flexibility, enabling users to solve optimization problems with minimal setup. optymus also provides robust capabilities for visualization and benchmarking, allowing users to gain insights into method behavior and compare performance effectively.

Getting Started

To begin using optymus, follow these steps:

  1. Install optymus:

    pip install optymus
    
  2. Get Started:

    from optymus import Optimizer
    from optymus.benchmark import MccormickFunction
    
    import jax.numpy as jnp
    
    f = MccormickFunction()
    initial_point = jnp.array([2, 2])
    
    opt = Optimizer(f_obj=f,
                    x0=initial_point,
                    method='bfgs')
    
    opt.report()
    
  3. Explore the Documentation: Visit the official documentation to understand the available optimization methods and how to use them effectively.

Refer to the documentation for detailed information on each method and its application.

Contributions

Contributions to Optymus are highly appreciated. If you have additional optimization methods, improvements, or bug fixes, please submit a pull request following the contribution guidelines.

How to cite

If you use optymus in your research, please consider citing the library using the following BibTeX entry:

@misc{optymus2024,
  author = {da Costa, Kleyton and Menezes, Ivan and Lopes, Helio},
  title = {Optymus: Optimization Methods in Python},
  year = {2024},
  note = {GitHub Repository},
  url = {https://github.com/quant-sci/optymus}
}

optymus is part of quantsci project.

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

optymus-0.1.8.tar.gz (18.5 MB view details)

Uploaded Source

Built Distribution

optymus-0.1.8-py3-none-any.whl (38.1 kB view details)

Uploaded Python 3

File details

Details for the file optymus-0.1.8.tar.gz.

File metadata

  • Download URL: optymus-0.1.8.tar.gz
  • Upload date:
  • Size: 18.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for optymus-0.1.8.tar.gz
Algorithm Hash digest
SHA256 d93fbd92a443c03a2017112b380a445c9cd1af39802a6b16b14e9356e010f049
MD5 dd4fdc9fc58bade1e2423c4963d01860
BLAKE2b-256 57b0f502fe8d58fc2c3b492b2a5f1dc4a9476ad6e269c4c134873227d2e61bff

See more details on using hashes here.

File details

Details for the file optymus-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: optymus-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 38.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-httpx/0.27.2

File hashes

Hashes for optymus-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 dbb176eff9ee9d902bc77d39a08dfd9166e0ccc0ef9e8c79f406f4ef03f42f9a
MD5 3f2185c063f4df3df0fe1bd9811f7d45
BLAKE2b-256 92803ceb57788eb41ba1b71a90544b71ece8c735a311e8c56084bebd6d3dc3d4

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