Maastricht Optimization Toolbox
The Maastricht Optimization Toolbox, MOT, is a library for parallel optimization and sampling using the graphics card for the computations. It is meant to optimize, in parallel, a large number of smaller problems, in contrast to optimizing one big problem with parallelized parts. For example, in diffusion MRI the brain is scanned in a 3D grid where each grid element, a voxel, represents its own optimization problem. The number of data points per voxel is generally small, ranging from 30 to 500 datapoints, and the models fitted to that data have generally somewhere between 6 and 20 parameters. Since each of these voxels can be analyzed independently of the others, the computations can be massively parallelized and hence programming for the graphics card can allow for a large speed gain. This software toolbox was originally built for exactly this use case, yet the algorithms and data structures are generalized such that any scientific field may take advantage of this toolbox. For the diffusion MRI package MDT to which is referred in this example, please see https://github.com/cbclab/MDT.
To recognize if MOT can help you with your use case, try to see if your computations can be parallized in some way. If you have just one big optimization problem with 10.000 variables, MOT unfortunately can not help you. On the other hand, if you find a way to split your analysis in (a lot of; >10.000) smaller sub-problems, with ~30 parameters or less each, MOT may actually be of help.
The basic requirements for MOT are:
For Ubuntu >= 16 you can use:
For Debian users and Ubuntu < 16 users, install MOT with:
Windows For Windows the short guide is:
For more information and for more elaborate installation instructions, please see: https://mot.readthedocs.org
There are a few caveats and known issues, primarily related to OpenCL:
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|mot-0.2.42-py2.py3-none-any.whl (782.5 kB) Copy SHA256 Checksum SHA256||3.4||Wheel||May 29, 2017|
|mot-0.2.42.tar.gz (169.2 kB) Copy SHA256 Checksum SHA256||–||Source||May 29, 2017|