Open main menu

Changes

Minfx

82 bytes added, 06:44, 8 September 2017
no edit summary
[[File:The minfx logo.png|thumb]] The [https://gnasourceforge.orgnet/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 ==
=== Linux and Mac ===
Remember to check, if there are newer versions of [httphttps://downloadsourceforge.gna.orgnet/projects/minfx / minfx]. <br>The [https://gnasourceforge.orgnet/projects/minfx/ minfx] library can be installed on all UNIX systems by typing:
{{#tag:source|
# Change to bash, if in tcsh shell
v={{current version minfx}}
# In tcsh: set v={{current version minfx}}
cd $HOME/Downloads
curl httpwget https://downloadsourceforge.gna.orgnet/projects/minfx/minfx-files/$v.tar.gz -o /minfx-$v.tar.gz
tar -xzf minfx-$v.tar.gz
rm minfx-$v.tar.gz
cd minfx-$v
 
# Then either
sudo pip install -e .
# Or
pip install .
 
cd ..
python -c "import minfx;print minfx.__version__, minfx.__file__"
|lang="bash"
}}
</source>
 
From source code
 
<source lang="bash">
cd path_to/relax
 
svn co svn://svn.gna.org/svn/minfx/trunk minfx_down
ln -s minfx_down/minfx/ minfx
 
# Test
relax -i
</source>
 
=== Windows ===
 
== See also ==
[[Category:Installation]]
[[Category:Software]]
Trusted, Bureaucrats
1,382

edits