ds4dm / ecole

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

Allow defaut SCIP in branching environment #294

Closed AntoinePrv closed 2 years ago

AntoinePrv commented 2 years ago

The motivation is two folds:

Pull request checklist

Proposed implementation

Default branching is performed by passing None as an action / branching variable to env.step.

Alternatively, I though one could give a token, like

env.step(ecole.environment.default_action)

The advantage would be to avoid involuntary default branching (if users unknowingly get a None output in their policy).