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

Options to speed up discrete minimization #576

Merged
merged 7 commits into from
Aug 26, 2019

Conversation

gpetruc
Copy link
Contributor

@gpetruc gpetruc commented Aug 25, 2019

Options to speed up discrete minimization.

  • --X-rtd MINIMIZER_multiMin_hideConstants: hide the constant terms in the likelihood when recreating the minimizer
  • --X-rtd MINIMIZER_multiMin_maskConstraints: hide the constraint terms during the discrete minimization process
  • --X-rtd MINIMIZER_multiMin_maskChannels=<choice> mask in the NLL the channels that are not needed:
    • <choice> 1: keeps unmasked all channels that are participating in the discrete minimization
    • <choice> 2: keeps unmasked only the channel whose index is being scanned at the moment (works only in multipleMinimize mode 0, makes discrete minimization faster)

All the options work only if --X-rtd MINIMIZER_freezeDisassociatedParams is enabled.

It is possible that already setting maskChannels=2 and SIMNLL_GROUPCONSTRAINTS=N make the gain from hideConstant and maskConstraints redundant in practice but I haven't tested since I developed them in the order they're listed here.

@nucleosynthesis

@gpetruc gpetruc merged commit a6950ba into cms-analysis:102x-debug Aug 26, 2019
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.

1 participant