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

Auto-fill parameter defaults and add prettyparams options #6

Merged
merged 6 commits into from Nov 9, 2021

Conversation

simonbowly
Copy link
Member

  • Implemented filling of default parameter values where they are not shown in the logs
  • Added script to generate parameter defaults using gurobipy and committed these (avoids having gurobipy as a dependency or a license requirement)
  • Implemented a prettyparams keyword arg for get_dataframe which converts some parameters to categorical descriptions

simonbowly and others added 6 commits November 5, 2021 17:49
Add script to generate default parameter data files using gurobipy.
Included generated defaults files for versions 8.0.0 onwards.
Add manifest file and update setup.py to include JSON defaults files in distribution.
Tweaked one of the test log files so version doesn't match known parameters.
@simonbowly
Copy link
Member Author

New plot result for the example data using prettyparams=True

summary = glt.get_dataframe(["data/*.log"], prettyparams=True)
glt.plot(
    summary,
    x="MIPFocus (Parameter)",
    y="Runtime",
    color="Presolve (Parameter)",
    type="box",
)

prettyparams

Copy link
Member

@mattmilten mattmilten left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice!

data/912-NoRelHeurWork60-glass4-0.log Show resolved Hide resolved
@mattmilten mattmilten merged commit 5b020ac into Gurobi:master Nov 9, 2021
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

Successfully merging this pull request may close these issues.

None yet

2 participants