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

Rewriten finite difference logging #283

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Commits on Nov 3, 2022

  1. Added an objective to take precalculated values of another objective.

    This new objective wraps the other objective, but uses the precalculated values to evaluate points close to the precalculated points.
    The intended usage is to quickly redo parts of an optimization, that got interrupted due to for example time limits.
    Stefan Buller committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    d2cc958 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'master' into precalculated_objective

    Stefan Buller committed Nov 3, 2022
    Configuration menu
    Copy the full SHA
    037a74b View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2022

  1. Merge branch 'master' into finite_difference_log

    Stefan Buller committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    5fd9fa0 View commit details
    Browse the repository at this point in the history
  2. Rewrote jacobian logger to be more agnostic to whether the problem is…

    … a least squares problem or generic.
    
    Updated the "general" solver in serial.
    Stefan Buller committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    c77720d View commit details
    Browse the repository at this point in the history
  3. Some small tweaks to work better with MPI (hopefully)

    Stefan Buller committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    e799bcb View commit details
    Browse the repository at this point in the history
  4. Fixed printing for big arrays

    daringli committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    e2b7083 View commit details
    Browse the repository at this point in the history
  5. Bugfix

    daringli committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    df3af0e View commit details
    Browse the repository at this point in the history
  6. Reverted jacobian to only print the derivative of the total objective.

    No longer useful for reseting the least squares optimizer, but that wasn't a good default due to the 1000s of residuals in the QS objective.
    daringli committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    1d11405 View commit details
    Browse the repository at this point in the history
  7. Added missing newline

    daringli committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    b795436 View commit details
    Browse the repository at this point in the history
  8. Added non-least-squares case

    daringli committed Dec 22, 2022
    Configuration menu
    Copy the full SHA
    4c2586e View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2023

  1. Updated jacobian logging to also support the legacy option (which is …

    …the default).
    Stefan Buller committed Jan 10, 2023
    Configuration menu
    Copy the full SHA
    2f062d0 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2023

  1. f0 is now calculated inside the finite difference object to avoid dup…

    …licate work and because calling fd.fn() in the logger resulted in the execution freezing on cobra.
    Stefan Buller committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    e84a0e1 View commit details
    Browse the repository at this point in the history
  2. Fixed linting errors.

    Stefan Buller committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    f023bc9 View commit details
    Browse the repository at this point in the history
  3. Moved some code around. Renamed 'wrapper' to decorator to conform to …

    …python nomenclature.
    Stefan Buller committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    64a0d2b View commit details
    Browse the repository at this point in the history
  4. Fixed an error where the FiniteDifference object would not update its…

    … DOFs if the underlying optimizable got updated.
    Stefan Buller committed Jan 11, 2023
    Configuration menu
    Copy the full SHA
    43ccdda View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f52f8b8 View commit details
    Browse the repository at this point in the history