PyGMO for Winpython

365 views
Skip to first unread message

QCode

unread,
Aug 12, 2016, 2:26:30 PM8/12/16
to WinPython
Hi,

Just wondering if this is possible to include the excellent package from European Agency Space :
PYGMO

Optimization tools

Thanks

stonebig

unread,
Aug 13, 2016, 6:13:10 AM8/13/16
to WinPython
hi,

Current choice of optimisation and operation research packages in WinPython is probably not optimal, and I'm wide open to suggestions.

Any suggestion should :
- be python 3.4/3.5 compatible, in wheel package format
- provide some nice links on  examples and tutorials the proposed package
- maybe solves the 99 pences problem in winpython_checker.ipynb (so we can replace Pulp): http://nbviewer.jupyter.org/github/winpython/winpython_afterdoc/blob/master/docs/Winpython_checker.ipynb


On Python3, Pygmo is only provided in 64 bit and in a msi package.
==> It doesn't fit, as it is.

QCode

unread,
Aug 15, 2016, 3:13:14 PM8/15/16
to WinPython
Hi,

Compiling instruction is here:

It has been installed with Enthought Canopy.

Also, quality of the solver is very high.

Kind regards
Thanks for considering it.

stonebig

unread,
Aug 15, 2016, 4:40:27 PM8/15/16
to WinPython
"CMake 2.8.6, Python 2.7, Boost 1.47.0 and MinGW with Msys 1.0.11 (all installed in C:)" 

You'll have to wait for PyGMO to be more Python3/Wheel ready: for sure it will, by 2020.

Denis Akhiyarov

unread,
Aug 15, 2016, 7:26:16 PM8/15/16
to WinPython
pygmo is GPL licensed.

I would recommend dakota, scipy, pyomo for any optimization work.

stonebig

unread,
Aug 16, 2016, 1:47:52 PM8/16/16
to WinPython
I see someone built a version of pygmo for anaconda 2.7 https://anaconda.org/ccordoba12/pygmo/files

stonebig

unread,
Aug 16, 2016, 1:54:03 PM8/16/16
to WinPython
pygmo seems able to solve my diet and pennies problems... have to figure out the re-write of pulp example


On Tuesday, August 16, 2016 at 1:26:16 AM UTC+2, Denis Akhiyarov wrote:

QCode

unread,
Aug 16, 2016, 3:48:04 PM8/16/16
to WinPython
What would be the steps to migrate from Anaconda Windows PYGMO to WinPython ?

Can we just copy/paste the folder ?

stonebig

unread,
Aug 17, 2016, 1:51:46 AM8/17/16
to WinPython
You may indeed try some copy/paste, when you will have identified where PYGMO objects are.

Then maybe a winpython\scripts\make_winpython_movable.bat may be necessary.

The chance of success are slim, but you can try, no kitten will be armed.

stonebig

unread,
Aug 22, 2016, 12:31:09 PM8/22/16
to WinPython
at the moment, moving to cvxopt/cvxpy seems the possible move.

Denis Akhiyarov

unread,
Aug 22, 2016, 6:17:57 PM8/22/16
to WinPython
cvx is great package (i took the class), but the license is again GPL.
Disciplined convex programming is only required at design time of optimization routines.
Then you can switch to whatever nonlinear solver that you like, e.g. ipopt.

stonebig

unread,
Aug 23, 2016, 2:42:44 PM8/23/16
to WinPython
I don't take attention on the licence of each package in WinPython.

Having a package maintained, working well, on Windows, and in WinPython way-of-running is already a very limiting set of criterias,



Reply all
Reply to author
Forward
0 new messages