ds4dm / ecole

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

AttributeError: module 'ecole.core' has no attribute 'environment' #288

Closed gasse closed 2 years ago

gasse commented 2 years ago

To reproduce:

import ecole

environment = ecole.environment.Branching()
instance = next(ecole.instance.SetCoverGenerator())
environment.step(0)
AntoinePrv commented 2 years ago

In the stack trace, I see our exception Exception("Environment need to be reset."). The attribute error is strange though...