Difference between revisions of "Minfx"

From relax wiki
Jump to navigation Jump to search
(Link out to the project webpage.)
Line 1: Line 1:
 
= Minfx =
 
= Minfx =
The minfx project is a Python package for numerical optimisation, being a large collection of standard minimisation algorithms. The name minfx is simply a shortening of the mathematical expression min f(x).  
+
The [https://gna.org/projects/minfx/ minfx project] is a Python package for numerical optimisation, being a large collection of standard minimisation algorithms. The name minfx is simply a shortening of the mathematical expression min f(x).  
  
 
= Install =
 
= Install =

Revision as of 17:34, 22 September 2014

Minfx

The minfx project is a Python package for numerical optimisation, being a large collection of standard minimisation algorithms. The name minfx is simply a shortening of the mathematical expression min f(x).

Install

Guides to install on different systems.

Linux and Mac

Remember to check, if there are newer versions of minfx.
The minfx library can be installed on all UNIX systems by typing:

# Change to bash, if in tcsh shell
bash

v=1.0.9

cd $HOME/Downloads
curl http://download.gna.org/minfx/minfx-$v.tar.gz -o minfx-$v.tar.gz
tar -xzf minfx-$v.tar.gz
cd minfx-$v

# Then either
sudo pip install -e .
# Or
pip install .

cd ..

From source code

cd path_to/relax

svn co svn://svn.gna.org/svn/minfx/trunk minfx_down
ln -s minfx_down/minfx/ minfx 

# Test
relax -i

Windows

See also