Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98064
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2015-11-01 13:27 -0800 |
| Message-ID | <37cd1025-2b18-48bf-a3cc-e792cce11b58@googlegroups.com> (permalink) |
| Subject | PyPy subprocess |
| From | LJ <luisjosenovoa@gmail.com> |
Hi All. I hope you're having a good weekend. Im working on a large scale optimization problem which invokes the Gurobi solver from python. Before invoking the solver I use pure python to solve five subproblems in parallel using the multiprocessing module. These subproblems are the bottleneck of my procedure. Im wondering if there is a way in which I can use PyPy to solve the just subproblems in parallel, and return to CPython for the overall routines. The reason behind this, is that Gurobipy (python interface for the Gurobi optimization solver) is not compatible with PyPy, and Im seeing savings of 50% in time when using PyPy to somve the subproblems. Any help would be highly appreciated. Lj.
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
PyPy subprocess LJ <luisjosenovoa@gmail.com> - 2015-11-01 13:27 -0800 PyPy subprocess LJ <luisjosenovoa@gmail.com> - 2015-11-01 13:29 -0800 Re: PyPy subprocess Chris Angelico <rosuav@gmail.com> - 2015-11-02 09:11 +1100
csiph-web