Skip to content

Conversation

@fma91
Copy link

@fma91 fma91 commented Aug 21, 2025

There was an issue using deepcopy() when I was running it on macOS.
It returns:

'TypeError: cannot pickle 'SwigPyObject' object'

This does not happens on windows with the same modules, solvers and python version.

I just changed 4 lines using deepcopy(model) by model.copy().

Best

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant