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

AttributeError: 'pyscipopt.scip.Column' object has no attribute 'getIndex' #2

Closed
coylee opened this issue Nov 25, 2020 · 1 comment
Closed

Comments

@coylee
Copy link

coylee commented Nov 25, 2020

I tried to generate some samples, get this error at "self.map = sorted([x.getCol().getIndex() for x in self.model.getVars(transformed=True)])".

@coylee
Copy link
Author

coylee commented Nov 25, 2020

I fixed this issue , add the method
""
def getIndex(self):
return SCIPcolGetIndex(self.scip_col)
""
in scip.pyx.

@coylee coylee closed this as completed Nov 25, 2020
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

1 participant