cossan-working-group / OpenCossan

OpenCossan is an open and free toolbox for uncertainty quantification and management.
https://cossan.co.uk
50 stars 18 forks source link

Refactor optimization toolbox #23

Closed FriesischScott closed 4 years ago

FriesischScott commented 4 years ago

I have ported the updated/improved optimization toolbox from the stable version to the development version. I reworked most of it. It now uses Matlab's memoize function to cache model evaluations (up to 1000 by default) and records the evaluations of Model, ObjectiveFunction and Constraint in the new singleton class OptimizationRecorder (not too sure about the name). The results are then added to the optimum once the optimization terminates.

Except for RBO and RobustDesign all the algorithms work and the respective tutorials in CossanObjects have been updated.

I made quite some changes but the interface and the general approach stayed the same.

Thoughts?

Closes #9

codecov[bot] commented 4 years ago

Codecov Report

Merging #23 into development will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@             Coverage Diff              @@
##           development      #23   +/-   ##
============================================
  Coverage        12.02%   12.02%           
============================================
  Files              703      703           
  Lines            31480    31480           
============================================
  Hits              3784     3784           
  Misses           27696    27696

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 6907f79...4821f84. Read the comment docs.