Difference between revisions of "Minfx"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
The [https://sourceforge.net/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). | The [https://sourceforge.net/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). | ||
+ | |||
+ | Available here: | ||
+ | # https://sourceforge.net/projects/minfx | ||
+ | # https://github.com/minfx | ||
+ | # https://gitlab.com/minfx | ||
== Install == | == Install == | ||
Line 15: | Line 20: | ||
v={{current version minfx}} | v={{current version minfx}} | ||
# In tcsh: set v={{current version minfx}} | # In tcsh: set v={{current version minfx}} | ||
− | |||
− | |||
− | |||
cd $HOME/Downloads | cd $HOME/Downloads | ||
Line 25: | Line 27: | ||
cd minfx-$v | cd minfx-$v | ||
pip install . | pip install . | ||
− | |||
cd .. | cd .. | ||
+ | python -c "import minfx;print minfx.__version__, minfx.__file__" | ||
|lang="bash" | |lang="bash" | ||
}} | }} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== See also == | == See also == | ||
[[Category:Installation]] | [[Category:Installation]] | ||
[[Category:Software]] | [[Category:Software]] |
Latest revision as of 06:44, 8 September 2017
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).
Available here:
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.12
# In tcsh: set v=1.0.12
cd $HOME/Downloads
wget https://sourceforge.net/projects/minfx/files/$v/minfx-$v.tar.gz
tar -xzf minfx-$v.tar.gz
rm minfx-$v.tar.gz
cd minfx-$v
pip install .
cd ..
python -c "import minfx;print minfx.__version__, minfx.__file__"