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

Setting branching priorities #30

Open
egidio88 opened this issue May 27, 2019 · 2 comments
Open

Setting branching priorities #30

egidio88 opened this issue May 27, 2019 · 2 comments

Comments

@egidio88
Copy link

Hi,
I am trying to set branching priority in BARON for some variables but I cannot find any related documentation. Any suggestions how to do this?
Thank you in advance.
Egidio

@joehuchette
Copy link
Contributor

It is not currently supported in BARON.jl, but potentially could be. I don't believe I will have time to implement this in the near future, but you could try yourself. The best approach is to add a function to that registers a branching priority with the BaronMathProgModel (i.e. add new field that maps vars to priorities), and then adding a few lines of code to print the branching priority out to the bar file here: https://github.com/joehuchette/BARON.jl/blob/c3fb500d9211acbf11de58a7c1404f4b24f1d846/src/BARON.jl#L255

@askuyue

This comment was marked as off-topic.

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

No branches or pull requests

3 participants