Skip to main content

A python package for Optimization Functions in Numpy.

Project description

Optimization Function in Numpy (OpFuNu)

PyPI version

Installation

Install the current PyPI release:

pip install opfunu

Or install the development version from GitHub:

pip install git+https://github.com/thieunguyen5991/opfunu

Example

  • All you need to do is: (Make sure your solution is a numpy 1-D array)
from opfunu.benchmark2d import Functions     # import 2-d benchmark functions
import numpy as np

solution2d = np.array([-0.1, 1.5])           # Solution for 2-d benchmark
func2d = Functions()                         # create an object

print(func2d._bartels_conn__(solution2d))    # using function in above object
print(func2d._bird__(solution))

Publications

  • If you see my code and data useful and use it, please cites my works here

    • Nguyen, T., Nguyen, T., Nguyen, B. M., & Nguyen, G. (2019). Efficient Time-Series Forecasting Using Neural Network and Opposition-Based Coral Reefs Optimization. International Journal of Computational Intelligence Systems, 12(2), 1144-1161.

    • Nguyen, T., Tran, N., Nguyen, B. M., & Nguyen, G. (2018, November). A Resource Usage Prediction System Using Functional-Link and Genetic Algorithm Neural Network for Multivariate Cloud Metrics. In 2018 IEEE 11th Conference on Service-Oriented Computing and Applications (SOCA) (pp. 49-56). IEEE.

    • Nguyen, T., Nguyen, B. M., & Nguyen, G. (2019, April). Building Resource Auto-scaler with Functional-Link Neural Network and Adaptive Bacterial Foraging Optimization. In International Conference on Theory and Applications of Models of Computation (pp. 501-517). Springer, Cham.

  • This project related to my another project "meta-heuristics" and "neural-network", check it here

Documentation

1. http://benchmarkfcns.xyz/fcns
2. https://en.wikipedia.org/wiki/Test_functions_for_optimization
3. https://www.cs.unm.edu/~neal.holts/dga/benchmarkFunction/
4. http://www.sfu.ca/~ssurjano/optimization.html

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

opfunu-0.2.0.tar.gz (9.4 kB view hashes)

Uploaded Source

Built Distribution

opfunu-0.2.0-py3-none-any.whl (11.7 kB view hashes)

Uploaded Python 3

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