Home Install Documentation Problems Tree Applications Forum

Increase your income
via IT outsourcing!
Ukrainian HI-TECH Initiative Ukrainian HI-TECH Initiative


From OpenOpt

Jump to: navigation, search

1. Mature Python language programmers would easily install our soft in 1-2 minutes (usually they first of all prefer installation from subversion repository, at 2nd - installation from PYPI, at 3rd - Linux apt-get, and download source code otherwise). But if you have any problems with either OpenOpt Suite or optional solvers (e.g. it's not that easy to install IPOPT or ALGENCAN on non-Linux OS) you can easily write, edit and run your code on-line via our Sage server (unfortunately, it often hangs due to high load and low available RAM).
Pay attention: To use FuncDesigner with OpenOpt you should have their versions of exactly same date (stable releases or svn snapshots). The same for using SpaceFuncs, DerApproximator with FuncDesigner and OpenOpt.

2. Using Unladen Swallow instead of CPython sometimes can speedup calculations in several times (example), but building/installing US requires lots of time and efforts (especially I won't recommend it for unexperienced Linux users who could encounter problems with CPython path conflicts). Also, Unladen Swallow now is dead end (superseded by PyPy). For installation with PyPy see PyPy webpage.

3. We recommend you to consider using the following Python IDEs: Eric, Spyder, Eclipse, NetBeans; for some others see here.

4. Ensure you have

  • Python v. 2.6, 2.7 or 3.x (Attentiononly OOSuite v >= 0.34 is compatible with Python 3). Most Linux distributives already have Python installed.
  • Some Python distributions have no setuptools included, then you need install it by yourself (for Linux users using software channels is recommended, for example "[sudo] apt-get install python-setuptools" or "[sudo] yum install python-setuptools"
  • NumPy ("python-numpy" package is available in Linux software channels, for example use "apt-get install python-numpy" for Debian or *BUNTU Linux). Also, you can try to install it via [sudo] easy_install numpy.
  • Linux users, using software update channels to get numpy, as well as OpenOpt-related software (like cvxopt, setuptools, matplotlib, scipy, with all required and optional dependencies) can yield a little bit obsolete version, but could greatly economy your time and efforts.
  • Attention(This item is LEAST recommended, because EPD is free only for educational purposes and 32bit platforms; also, it includes quite primitive Python IDEs, almost like Microsoft Notepad vs Microsoft Visual Studio). Windows and RHEL users may be interested in EPD ("Enthought Python Distribution") - it already includes numpy, scipy, matplotlib, etc.
  • Linux, Windows, Mac users may be interested in SAGE (license: GPL) - "viable free open source alternative to Magma, Maple, Mathematica, and Matlab" - it contains Python + numpy + scipy + cvxopt + much more.
  • Python(x,y) is new Eclipse-based scientific Python distribution for Windows and Linux, check the site, mb Mac version is already available.

5. Chose one of the following:

  • You can download latest (2012-June-15) stable releases: OpenOpt0.39, FuncDesigner 0.39, DerApproximator 0.39,SpaceFuncs 0.39, OOSuite 0.39 (whole suite of these 4 packages, ~500 KB), or from Python Package Index (PYPI) via easy_install (provided you already have python-setuptools installed, just type in command prompt "easy_install openopt", "easy_install FuncDesigner", "easy_install DerApproximator", "easy_install SpaceFuncs"; AFAIK most downloads of our software are performed in this way), but you should take into account
Known bugs for latest release 0.39
Bug Is already fixed
in subversion repository
Bug in FuncDesigner automatic differentiation Yes
bug in interalg "index out of range" Yes
Major changes committed to svn repository since latest release 0.39
None yet
To take a look at some other changes between latest release and current repository code you could visit our Trac timeline
  • You can download zip-files generated by Trac automatically from latest svn repository version:

  • You can use subversion (if you have svn client installed, e.g. Tortoise svn for Windows):
  • svn co svn://openopt.org/PythonPackages OOSuite
or separate packages:
  • svn co svn://openopt.org/PythonPackages/OpenOpt OpenOpt
  • svn co svn://openopt.org/PythonPackages/DerApproximator DerApproximator
  • svn co svn://openopt.org/PythonPackages/FuncDesigner FuncDesigner
  • svn co svn://openopt.org/PythonPackages/SpaceFuncs SpaceFuncs

  • For Debian Linux there is deb package for openopt here, this one is made by a developer from PyMPVA project.
  • For Alt Linux there is rpm package for openopt here
  • For Mac OS you could use openopt ports from mac.softpedia.com and macports.org (however, they are mere zip-files from this webpage).

6. Run installation:

  • Linux:
    • [sudo] python setup.py install ; or
    • [sudo] python setup.py develop
  • Windows: you should run setup.py and choose "install" option in menu.
  • You could also run setup.py from a filemanager (or python setup.py from terminal) and then chose option 2 (install) and (optional) change installation path to another (however, that one should be present in PYTHONPATH)

7. To ensure OpenOpt has been installed successfully you could go to directory "examples" and run "python glp_1.py" or "python nlp_1.py"

8. Found our soft useful? Please read our Appeal.

Retrieved from "http://openopt.org/Install"
Personal tools
    Latest OOSuite 0.39

    from 2012-06-15

    Next release: