Difference between revisions of "Minfx"
Jump to navigation
Jump to search
(→See also: Added Category:Software.) |
|||
Line 1: | Line 1: | ||
[[File:The minfx logo.png|thumb]] | [[File:The minfx logo.png|thumb]] | ||
− | The [https:// | + | 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). |
== Install == | == Install == | ||
Line 7: | Line 7: | ||
=== Linux and Mac === | === Linux and Mac === | ||
− | Remember to check, if there are newer versions of [ | + | Remember to check, if there are newer versions of [https://sourceforge.net/projects/minfx/ minfx]. <br> |
− | The [https:// | + | The [https://sourceforge.net/projects/minfx/ minfx] library can be installed on all UNIX systems by typing: |
{{#tag:source| | {{#tag:source| | ||
# Change to bash, if in tcsh shell | # Change to bash, if in tcsh shell | ||
Line 14: | Line 14: | ||
v={{current version minfx}} | v={{current version minfx}} | ||
+ | # In tcsh: set v={{current version bmrblib}} | ||
+ | |||
+ | wget https://sourceforge.net/projects/bmrblib/files/$v/bmrblib-$v.tar.gz | ||
+ | |||
cd $HOME/Downloads | cd $HOME/Downloads | ||
− | + | wget https://sourceforge.net/projects/minfx/files/$v/minfx-$v.tar.gz | |
tar -xzf minfx-$v.tar.gz | tar -xzf minfx-$v.tar.gz | ||
+ | rm minfx-$v.tar.gz | ||
cd minfx-$v | cd minfx-$v | ||
− | |||
− | |||
− | |||
− | |||
pip install . | pip install . | ||
Revision as of 11:51, 6 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).
Contents
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.4
wget https://sourceforge.net/projects/bmrblib/files/$v/bmrblib-$v.tar.gz
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 ..
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