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

Add a linear optimization option to Optimize Recoils or Fluence #193

Open
tpitkanen opened this issue Sep 8, 2021 · 2 comments
Open

Add a linear optimization option to Optimize Recoils or Fluence #193

tpitkanen opened this issue Sep 8, 2021 · 2 comments
Labels
enhancement New feature or request

Comments

@tpitkanen
Copy link
Member

tpitkanen commented Sep 8, 2021

(Requested by @mlaitin)

The current NSGA-II multi-objective optimization algorithm is too fancy (slow and inaccurate) for optimizing recoils or fluence. A single-objective linear fit algorithm would run faster and probably yield similar results.

Objectives to optimize (simulated vs. measured values):

  • area
  • sum

Different local minimums could be presented for the user to select.

The options for algorithms could be displayed like this:

  • NSGA-II (slow)
  • Linear (fast)
@tpitkanen tpitkanen added the enhancement New feature or request label Sep 8, 2021
@tpitkanen tpitkanen self-assigned this Sep 8, 2021
@tpitkanen tpitkanen changed the title Add a linear optimization option to *Optimize Recoils or Fluence* Add a linear optimization option to Optimize Recoils or Fluence Sep 8, 2021
tpitkanen added a commit to tpitkanen/potku that referenced this issue Oct 27, 2021
- the button doesn't affect optimization yet
@tpitkanen
Copy link
Member Author

tpitkanen commented Mar 22, 2022

First version is implemented, but this is not complete yet. See #261 for remaining tasks.

tpitkanen added a commit to tpitkanen/potku that referenced this issue Mar 30, 2022
- add cleanup option for recoil files in calculate_espe
tpitkanen added a commit to tpitkanen/potku that referenced this issue Mar 30, 2022
- this should be better than NSGA-II now
- opening the optimization dialog causes a brief flash now for some
  reason, probably related to the order of operations, or maybe the
  choose_optimization_method call
@tpitkanen
Copy link
Member Author

This is more complete now, but there are still some major things missing (#262).

@tpitkanen tpitkanen removed their assignment Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant