Skip to main content

Python Optimization Benchmarking Functions

Project description

Opytimark: Python Optimization Benchmarking Functions

Latest release Build status Open issues License

Welcome to Opytimark.

Did you ever need a set of pre-defined functions in order to test your optimization algorithm? Are you tired of implementing and validating by hand every function? If yes, Opytimark is the real deal! This package provides straightforward implementation of benchmarking functions for optimization tasks.

Use Opytimark if you need a library or wish to:

  • Create your benchmarking function;
  • Design or use pre-loaded benchmarking functions;
  • Because it is overwhelming to evaluate things.

Read the docs at opytimark.readthedocs.io.

Opytimark is compatible with: Python 3.6+.


Package guidelines

  1. The very first information you need is in the very next section.
  2. Installing is also easy if you wish to read the code and bump yourself into, follow along.
  3. Note that there might be some additional steps in order to use our solutions.
  4. If there is a problem, please do not hesitate, call us.

Citation

If you use Opytimark to fulfill any of your needs, please cite us:

@misc{rosa2019opytimizer,
    title={Opytimizer: A Nature-Inspired Python Optimizer},
    author={Gustavo H. de Rosa and João P. Papa},
    year={2019},
    eprint={1912.13002},
    archivePrefix={arXiv},
    primaryClass={cs.NE}
}

Getting started: 60 seconds with Opytimark

First of all. We have examples. Yes, they are commented. Just browse to examples/, chose your subpackage, and follow the example. We have high-level examples for most tasks we could think.

Alternatively, if you wish to learn even more, please take a minute:

Opytimark is based on the following structure, and you should pay attention to its tree:

- opytimark
    - core
        - benchmark
        - cec_benchmark
    - markers
        - cec
            - year_2005
            - year_2008
            - year_2010
            - year_2013
        - boolean
        - one_dimensional
        - two_dimensional
        - many_dimensional
        - n_dimensional
    - utils
        - constants
        - decorator
        - exception
        - loader

Core

Core is the core. Essentially, it is the parent of everything. You should find parent classes defining the basis of our structure. They should provide variables and methods that will help to construct other modules.

Markers

This is why we are called Opytimark. This is the heart of the benchmarking functions, where you can find a large number of pre-defined functions. Investigate any module for more information.

Utils

This is a utility package. Common things shared across the application should be implemented here. It is better to implement once and use as you wish than re-implementing the same thing over and over again.


Installation

We believe that everything has to be easy. Not tricky or daunting, Opytimark will be the one-to-go package that you will need, from the very first installation to the daily-tasks implementing needs. If you may just run the following under your most preferred Python environment (raw, conda, virtualenv, whatever):

pip install opytimark

Alternatively, if you prefer to install the bleeding-edge version, please clone this repository and use:

pip install -e .

Environment configuration

Note that sometimes, there is a need for additional implementation. If needed, from here, you will be the one to know all of its details.

Ubuntu

No specific additional commands needed.

Windows

No specific additional commands needed.

MacOS

No specific additional commands needed.


Support

We know that we do our best, but it is inevitable to acknowledge that we make mistakes. If you ever need to report a bug, report a problem, talk to us, please do so! We will be available at our bests at this repository or gustavo.rosa@unesp.br.


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

opytimark-1.0.8.tar.gz (46.6 kB view details)

Uploaded Source

Built Distribution

opytimark-1.0.8-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

Details for the file opytimark-1.0.8.tar.gz.

File metadata

  • Download URL: opytimark-1.0.8.tar.gz
  • Upload date:
  • Size: 46.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for opytimark-1.0.8.tar.gz
Algorithm Hash digest
SHA256 8aa1665c69dd495f38ebee23d43decbad6c4cd926c3bbf3548fabf24ab66f0a5
MD5 616c1b163dbddae8c60061477cc7a8b4
BLAKE2b-256 2c0da9acfe7eb749255b49a145ac5ba54d68b7d5f3bc99872fa3f14e33e5e69e

See more details on using hashes here.

File details

Details for the file opytimark-1.0.8-py3-none-any.whl.

File metadata

  • Download URL: opytimark-1.0.8-py3-none-any.whl
  • Upload date:
  • Size: 56.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for opytimark-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 3c7a255a33ecfb74eb6cb6aa922083996a1747f09b47bad83fdc6d3a6441d2fc
MD5 8b363cb3a19ae9a3a731c9c4e9bf5dd0
BLAKE2b-256 7850d1f99eaf68b9da2c9ec3b92e4caaf139348c457662eac28b47cb3f0f9916

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