DM559/DM545 -- Linear and Integer Programming

The Python modules numpy and scipy implement the data type array and carry out numerical computations. They also implement linear algebra operations:

Python has also a module for symbolic computation: SymPy. It implements the data type Matrices and it can find their RREF. It is also possible to do some numerical computations in SymPy but with lower performance than numpy and scipy.

The transformation of objects from SymPy to numpy is not trivial and prone to errors. If needed check the lambidfy function from SymPy.

The use of SciPy as well as Maple is discouraged in this course as it may hide some steps that are instead relevant for understanding.

Author: Marco Chiarandini

Created: 2018-03-19 Mon 11:27