Commit a9b0532b6b64a56afd82e7696c3e14832dd8c1cf

Authored by Jürgen Knödlseder
1 parent 2b48fe5b

By default, do not allow log-likelihood decrease in LM optimiser.

ChangeLog
1   -2022-02-11
  1 +2022-02-14
2 2  
3 3 * Version 2.0.0 released
4 4 ========================
5 5  
  6 + By default, do not allow log-likelihood decrease in LM optimiser
6 7 Support Galactic coordinates in spatial models (#3988)
7 8 Implement CGRO clock correction (#3973)
8 9 Add support for COMPTEL pulsar analysis (#3973)
... ...
1 1 New Features and Important Changes in GammaLib 2.0.0
2 2  
3   -11 February 2022
  3 +14 February 2022
4 4  
5 5  
6 6 1. Introduction
... ...
README.md
1 1 GammaLib information
2 2 ====================
3   -* Version: 2.0.0.dev (11 February 2022)
  3 +* Version: 2.0.0.dev (14 February 2022)
4 4  
5 5 [![Build Status](https://cta-jenkins.irap.omp.eu/buildStatus/icon?job=gammalib-integrate-os)](https://cta-jenkins.irap.omp.eu/job/gammalib-integrate-os/)
6 6  
... ...
doc/source/admin/release_history/2.0.rst
1 1 .. _2.0:
2 2  
3   -GammaLib 2.0 release (11 February 2022)
  3 +GammaLib 2.0 release (14 February 2022)
4 4 =======================================
5 5  
6 6 Overview
... ... @@ -41,6 +41,7 @@ Bug fixes
41 41 Improvements
42 42 ------------
43 43  
  44 +* By default, do not allow log-likelihood decrease in LM optimiser
44 45 * [`3988 <https://cta-redmine.irap.omp.eu/issues/3988>`_] -
45 46 Support Galactic coordinates in spatial models
46 47 * Add ``GCOMObservation::tim()`` and ``GCOMObservation::oads()`` setter methods
... ...
src/opt/GOptimizerLM.cpp
1 1 /***************************************************************************
2 2 * GOptimizerLM.cpp - Levenberg Marquardt optimizer *
3 3 * ----------------------------------------------------------------------- *
4   - * copyright (C) 2009-2021 by Juergen Knoedlseder *
  4 + * copyright (C) 2009-2022 by Juergen Knoedlseder *
5 5 * ----------------------------------------------------------------------- *
6 6 * *
7 7 * This program is free software: you can redistribute it and/or modify *
... ... @@ -629,7 +629,7 @@ void GOptimizerLM::init_members(void)
629 629 m_lambda_inc = 10.0;
630 630 m_lambda_dec = 0.1;
631 631 m_eps = 5.0e-3; //!< Changed on 30/10/2014 from 1.0e-6
632   - m_accept_dec = 2.0; //!< Allow to decrease by 2.0
  632 + m_accept_dec = 0.0; //!< Do not allow to decrease
633 633 m_max_iter = 100; //!< Changed on 30/10/2014 from 1000
634 634 m_max_stall = 10;
635 635 m_max_hit = 3; //!< Maximum successive boundary hits before freeze
... ...