Skip to content

Is it possible to personalize the observation function in python? #87

Answered by AntoinePrv
Wenbo11 asked this question in Questions
Discussion options

You must be logged in to vote

Hi,

The observation function is an object that extract data from SCIP, typically to get the data you would feed to the ML model.
It can be done in Python or in C++, either by inheriting of an existing one (if you need some of its data), or from scratch. You can see more details here: https://doc.ecole.ai/master/howto/create-functions.html

Ecole implements a few observation functions that we deemed valuable to many users (hopefully more to come).
In the case of Pseudocosts and StrongBranchingScores, they are observation functions.
As such, they do not perform any branching, only extract data, even if they are related to a branching policy.
They are useful to get "expert" data and reproduce…

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by AntoinePrv
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #87 on December 16, 2020 14:35.