Re: [pypy-dev] About gurobipy

2018-05-31 Thread Armin Rigo
Hi, On 31 May 2018 at 14:35, divyam.agg22 wrote: > My name is Divyam and I am working on a large-scale discrete optimization > problem. I have used Pypy earlier in order to improve the runtime of my > python code. Now I am using some external packages in python such as > Gurobipy, Docplex. Is it

Re: [pypy-dev] About gurobipy

2018-05-31 Thread divyam.agg22
Hi, My name is Divyam and I am working on a large-scale discrete optimization problem. I have used Pypy earlier in order to improve the runtime of my python code. Now I am using some external packages in python such as Gurobipy, Docplex. Is it possible to use these packages with Pypy and if yes, h

Re: [pypy-dev] About gurobipy

2015-09-30 Thread Phyo Arkar
Some of the badly written programs keep files open and expecting GC to close them, especially code written before with statement has introduced. I have seen them in some web frameworks and many other modules. They open file , process them and just ignore closing, causing pypy to fail to work. Fix

Re: [pypy-dev] About gurobipy

2015-09-30 Thread Ryan Gonzalez
http://pypy.readthedocs.org/en/latest/cpython_differences.html#differences-related-to-garbage-collection-strategies On Wed, Sep 30, 2015 at 1:10 PM, Vasily Evseenko wrote: > Hi, > Could you explain about closed file objects (do you mean open file > descriptors)? > I've never heard about this res

Re: [pypy-dev] About gurobipy

2015-09-30 Thread Amaury Forgeot d'Arc
2015-09-30 20:10 GMT+02:00 Vasily Evseenko : > Hi, > Could you explain about closed file objects (do you mean open file > descriptors)? > I've never heard about this restriction before. > PyPy uses a different garbage collection strategy, and unlike CPython, objects are not deallocated as soon as

Re: [pypy-dev] About gurobipy

2015-09-30 Thread Vasily Evseenko
Hi, Could you explain about closed file objects (do you mean open file descriptors)? I've never heard about this restriction before. 30.09.2015 19:35, Phyo Arkar пишет: > > On Wed, Sep 30, 2015 at 6:54 PM, Luis José Novoa > mailto:luisjoseno...@gmail.com>> wrote: > > gurobipy > > > Never heard

Re: [pypy-dev] About gurobipy

2015-09-30 Thread Armin Rigo
Hi, If you could point us to a place where we could have a quick look at the CPython C extension code implementing gurobipy (not gurobi!), we could give you a more precise answer. A bientôt, Armin. ___ pypy-dev mailing list pypy-dev@python.org https:/

Re: [pypy-dev] About gurobipy

2015-09-30 Thread Phyo Arkar
On Wed, Sep 30, 2015 at 6:54 PM, Luis José Novoa wrote: > gurobipy Never heard of it. Here are things PyPy Can help: - If it is Pure Python - If CExtensions are with CFFI - If file objects (if any) are closed PyPy will work fine and you can expect average 7x performance gain , up to 20-30x.

[pypy-dev] About gurobipy

2015-09-30 Thread Luis José Novoa
Hi All, My name is Luis Novoa. Im working on a large scale optimization problem using python/gurobipy for my implementation. I was wondering if any of you in this list has used gurobipy with pypy, or if it is even possible at this time. Thanks in advance, Luis. __