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

model.as_pyscipopt() error! #368

Open
yigeNNU opened this issue Oct 21, 2023 · 0 comments
Open

model.as_pyscipopt() error! #368

yigeNNU opened this issue Oct 21, 2023 · 0 comments
Labels
type/bug 🐛 Something isn't working

Comments

@yigeNNU
Copy link

yigeNNU commented Oct 21, 2023

Describe the bug

scip_model = env.model.as_pyscipopt()
File "src/pyscipopt/scip.pyx", line 992, in pyscipopt.scip.Model.from_ptr
TypeError: an integer is required

Setting

  • OS: LInux
  • Python version: 3.9.7
  • Ecole version: ecole_tree_mdp

I have printed the 'env.model', follows:
<class 'ecole.core.scip.Model'>
But, it still has the above bug. Please help me, thanks!

@yigeNNU yigeNNU added the type/bug 🐛 Something isn't working label Oct 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug 🐛 Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant