Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython

oBB is unavailable in PyPM, because there aren't any builds for it in the package repositories. Click the linked icons to find out why.

 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
 
Links
Author
License
LGPLv3

oBB is an algorithm for the parallel global optimization of functions with Lipchitz continuous gradient or Hessian.

Documentation

HTML documentation is available at http://packages.python.org/oBB

Requirements

oBB requires the following software to be installed:

Additionally, the following python packages should be installed (these will be installed automatically if using pip, see Installation using pip):

Optionally, matplotlib 1.1.0 or higher (http://www.matplotlib.org/) may be manually installed for visualising the algorithm in 2D.

Installation using pip

For easy installation, use pip (http://www.pip-installer.org/):

$ [sudo] pip install obb

or alternatively easy_install:

$ [sudo] easy_install obb

If you do not have root privileges or you want to install oBB for your private use, you can use:

$ pip install --user obb

which will install oBB in your home directory.

Manual installation

Alternatively, you can download the source code and unpack as follows:

$ wget http://pypi.python.org/packages/source/o/oBB/oBB-X.X.tar.gz
$ tar -xzvf oBB-X.X.tar.gz
$ cd oBB-X.X

and then build and install manually using:

$ python setup.py build
$ [sudo] python setup.py install

If you do not have root privileges or you want to install oBB for your private use, you can use:

$ python setup.py install --user

instead.

Testing

oBB includes a command line test script to check that the installation was successfull. To run the test simply type the following into your shell:

$ test_obb

This will run oBB using MPI on one processor for a simple 2D sum of sins problem.

Note that if using the MPICH implementation of MPI we first need to start an mpd daemon in the background:

$ mpd &

but this is not necessary for other MPI implementations, e.g. OpenMPI.

Uninstallation

If oBB was installed using pip you can uninstall as follows:

$ [sudo] pip uninstall obb

If oBB was installed manually you have to remove the installed files by hand (located in your python site-packages directory).

Subscribe to package updates

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.