Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CyClpSimplex import and addConstraints/addVariables segfault error #107

Open
edeakins opened this issue Nov 18, 2020 · 2 comments
Open

CyClpSimplex import and addConstraints/addVariables segfault error #107

edeakins opened this issue Nov 18, 2020 · 2 comments

Comments

@edeakins
Copy link

Hi, after updating to v0.91.0, my import of CyClpSimplex no longer works it give me the error "AttributeError: type object 'cylp.cy.CyClpSimplex.CyClpSimplex' has no attribute 'reduce_cython' ". Also, before updating to v0.91.0, I was receiving segfault errors when trying to use CyClpSimplex().addVariables() and CyClpSimplex().addConstraints(). The same problem occurred when trying to use CyClpSimplex().CLP_addVariable() and CyClpSimplex().CLP_addConstraint().

@tkralphs
Copy link
Member

I can't replicate this locally. With some quick Googling, it appears that this could be a version incompatibility with Cython. You could try upgrading Cython to the latest version. If that doesn't work, maybe post a bit more information (Cython version, how it was installed, etc.)

@edeakins
Copy link
Author

edeakins commented Nov 19, 2020 via email

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

No branches or pull requests

2 participants