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

Question regarding about CutSelectAgent. #2

Open
samwu-learn opened this issue Aug 29, 2023 · 1 comment
Open

Question regarding about CutSelectAgent. #2

samwu-learn opened this issue Aug 29, 2023 · 1 comment

Comments

@samwu-learn
Copy link

When I try the following code:
env.reset()
cutsel_agent = CutSelectAgent(
env.m,
pointer_net,
None,
0.5,
device,
'stochastic',
None,
'no_token'
)
_ = env.step(cutsel_agent)
There is a problem: TypeError: Argument 'cutsel' has incorrect type (expected pyscipopt.scip.Cutsel, got CutSelectAgent). I don't know how to fix it. I would be very grateful if you could help.

@chicwzh
Copy link
Collaborator

chicwzh commented Nov 21, 2023

Sorry for delayed response. You need to install the pyscipopt I provided (please see Readme.md for link to my used pyscipopt). Hope this can help you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants