Skip to content

Deepcopy problem #19

@fma91

Description

@fma91

Hello,

I'm using your tool. On windows it does not show any problem, but on macOS, the lines creating deepcopy(model) returned the error:

"TypeError: cannot pickle 'SwigPyObject' object"

I am running the same version of python, modules, and solvers. The only issue appear when using macOS.
Then I replaced those lines with:

model.copy()

And now it works again.

Best

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions