cdanielmachado / framed

framed: a metabolic modeling package for python
http://framed.readthedocs.io/
Other
25 stars 10 forks source link

Pickling solver instances #1

Closed phantomas1234 closed 11 years ago

phantomas1234 commented 11 years ago

This extends the abstract Solver class with getstate and setstate methods to support pickling of solver instances (a prerequisite for using e.g. multiprocessing). Furthermore, it adds support and tests for pickling gurobi solver instances.