I used sympy in geopt: Generic Optimization by Genetically Evolved Operation Trees

33 views
Skip to first unread message

Louis Abraham

unread,
Dec 3, 2017, 1:29:52 PM12/3/17
to sympy
Hi,

I used sympy in a very nice project: https://github.com/louisabraham/geopt/.

Evaluating operation DAGs on big inputs was very costly, but I managed to overcome it in a few lines of code thanks to 2 features of sympy:
- symbolic reduction
- numexpr integration

Sympy was really of great help, and I hoped it could be a motivating example to put in the "Projects using SymPy" section of the homepage (http://www.sympy.org/en/index.html).

Besides, I am eager to receive your comments about how I handled the complex and infinity border cases over the different backends. The entry point is here: https://github.com/louisabraham/geopt/blob/master/geopt/trees.py#L103

Best,

Louis
Reply all
Reply to author
Forward
0 new messages