ds4dm / ecole

Extensible Combinatorial Optimization Learning Environments
https://www.ecole.ai
BSD 3-Clause "New" or "Revised" License
318 stars 68 forks source link

model.as_pyscipopt() error! #368

Open yigeNNU opened 10 months ago

yigeNNU commented 10 months ago

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

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