diff --git a/HISTORY.rst b/HISTORY.rst index 332144af..69380922 100644 --- a/HISTORY.rst +++ b/HISTORY.rst @@ -107,8 +107,30 @@ Thanks for all the wonderful Pull Requests, `@mamadyonline `_! +* New GeneralOptimizer algorithm that allows you to switch-out topologies for your optimization needs (PR# 151). Thanks a lot `@whzup `_! +* All topologies now have a static attribute. Neigbors can now be set initially or computed dynamically (PR# 164_). Thanks a lot `@whzup `_! +* New single-objective functions (PR# 168_)! Awesome work, `@jayspeidell `_! +* New tutorial on Inverse Kinematics using Particle Swarm Optimization (PR# 141_) Thanks a lot `@whzup `_! +* New plotters module for visualization. The environment module is now deprecated (PR# 135_). +* Keyword arguments can now be passed in the optimize() method for your custom objective functions (PR# 144_). Great job, `@bradahoward ` + +.. _135: https://github.com/ljvmiranda921/pyswarms/pull/135 +.. _141: https://github.com/ljvmiranda921/pyswarms/pull/141 +.. _142: https://github.com/ljvmiranda921/pyswarms/pull/142 +.. _144: https://github.com/ljvmiranda921/pyswarms/pull/144 +.. _151: https://github.com/ljvmiranda921/pyswarms/pull/151 +.. _155: https://github.com/ljvmiranda921/pyswarms/pull/155 +.. _164: https://github.com/ljvmiranda921/pyswarms/pull/164 +.. _168: https://github.com/ljvmiranda921/pyswarms/pull/168 +.. _176: https://github.com/ljvmiranda921/pyswarms/pull/176 +.. _177: https://github.com/ljvmiranda921/pyswarms/pull/177 \ No newline at end of file diff --git a/pyswarms/__init__.py b/pyswarms/__init__.py index c9d32098..98b853bb 100644 --- a/pyswarms/__init__.py +++ b/pyswarms/__init__.py @@ -11,8 +11,8 @@ """ __author__ = """Lester James V. Miranda""" -__email__ = 'ljvmiranda@gmail.com' -__version__ = '0.2.1' +__email__ = "ljvmiranda@gmail.com" +__version__ = "0.3.0" from .single import global_best, local_best, general_optimizer from .discrete import binary diff --git a/setup.cfg b/setup.cfg index 2c88f882..1f58d7c6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.2.1 +current_version = 0.3.0 commit = True tag = True diff --git a/setup.py b/setup.py index f43e38a2..acb3c98d 100644 --- a/setup.py +++ b/setup.py @@ -5,19 +5,19 @@ from setuptools import setup, find_packages -with open('README.md', encoding="utf8") as readme_file: +with open("README.md", encoding="utf8") as readme_file: readme = readme_file.read() requirements = [ - 'PyYAML==3.12', - 'future==0.16.0', - 'scipy>=0.17.0', - 'numpy>=1.13.0', - 'matplotlib>=1.3.1', - 'mock==2.0.0', - 'pytest==3.2.1', - 'attrs==18.1.0', - 'pre-commit' + "PyYAML==3.13", + "future==0.16.0", + "scipy>=0.17.0", + "numpy>=1.13.0", + "matplotlib>=1.3.1", + "mock==2.0.0", + "pytest==3.6.4", + "attrs==18.1.0", + "pre-commit", ] setup_requirements = [ @@ -25,45 +25,45 @@ ] test_requirements = [ - 'PyYAML==3.12', - 'future==0.16.0', - 'scipy>=0.17.0', - 'numpy>=1.13.0', - 'matplotlib>=1.3.1', - 'mock==2.0.0', - 'pytest==3.2.1', - 'attrs==18.1.0', - 'pre-commit' + "PyYAML==3.13", + "future==0.16.0", + "scipy>=0.17.0", + "numpy>=1.13.0", + "matplotlib>=1.3.1", + "mock==2.0.0", + "pytest==3.6.4", + "attrs==18.1.0", + "pre-commit", ] setup( - name='pyswarms', - version='0.2.1', + name="pyswarms", + version="0.3.0", description="A Python-based Particle Swarm Optimization (PSO) library.", long_description=readme, long_description_content_type="text/markdown", author="Lester James V. Miranda", - author_email='ljvmiranda@gmail.com', - url='https://github.com/ljvmiranda921/pyswarms', - packages=find_packages(exclude=['docs', 'tests']), + author_email="ljvmiranda@gmail.com", + url="https://github.com/ljvmiranda921/pyswarms", + packages=find_packages(exclude=["docs", "tests"]), include_package_data=True, install_requires=requirements, license="MIT license", zip_safe=False, - keywords='pyswarms', + keywords="pyswarms", classifiers=[ - 'Development Status :: 3 - Alpha', - 'Intended Audience :: Developers', - 'Intended Audience :: Education', - 'Intended Audience :: Science/Research', - 'License :: OSI Approved :: MIT License', - 'Natural Language :: English', - 'Topic :: Scientific/Engineering', - 'Programming Language :: Python :: 3.4', - 'Programming Language :: Python :: 3.5', - 'Programming Language :: Python :: 3.6', + "Development Status :: 3 - Alpha", + "Intended Audience :: Developers", + "Intended Audience :: Education", + "Intended Audience :: Science/Research", + "License :: OSI Approved :: MIT License", + "Natural Language :: English", + "Topic :: Scientific/Engineering", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", ], - test_suite='tests', + test_suite="tests", tests_require=test_requirements, setup_requires=setup_requirements, )