Difference between revisions of "Minfx"

From relax wiki
Jump to navigation Jump to search
(Created page with "= 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...")
 
 
(16 intermediate revisions by 3 users not shown)
Line 1: Line 1:
= Minfx =
+
[[File:The minfx logo.png|thumb]]
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 =
+
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 ==
 
Guides to install on different systems.
 
Guides to install on different systems.
  
== Linux and Mac ==
+
=== Linux and Mac ===
Remember to check, if there are newer versions of [http://download.gna.org/minfx minfx]. <br>
+
Remember to check, if there are newer versions of [https://sourceforge.net/projects/minfx/ minfx]. <br>
The [https://gna.org/projects/minfx/ minfx] library can be installed on all UNIX systems by typing:
+
The [https://sourceforge.net/projects/minfx/ minfx] library can be installed on all UNIX systems by typing:
<source lang="bash">
+
{{#tag:source|
 
# Change to bash, if in tcsh shell
 
# Change to bash, if in tcsh shell
 
bash
 
bash
  
v=1.0.9
+
v={{current version minfx}}
 +
# In tcsh: set v={{current version minfx}}
  
 
cd $HOME/Downloads
 
cd $HOME/Downloads
curl http://download.gna.org/minfx/minfx-$v.tar.gz -o minfx-$v.tar.gz
+
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
 
# Then either
 
sudo pip install -e .
 
# Or
 
 
pip install .
 
pip install .
 
 
cd ..
 
cd ..
</source>
+
python -c "import minfx;print minfx.__version__, minfx.__file__"
 
+
|lang="bash"
== Windows ==
+
}}
 
 
  
 
== See also ==
 
== See also ==
 
[[Category:Installation]]
 
[[Category:Installation]]
 +
[[Category:Software]]

Latest revision as of 06:44, 8 September 2017

The minfx logo.png

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:

  1. https://sourceforge.net/projects/minfx
  2. https://github.com/minfx
  3. https://gitlab.com/minfx

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__"

See also