Bug #1210

Feature #284: === Fit ===

GSLLMA minimizer sometimes doesn't respect fit parameter limits attribute

Added by pospelov over 5 years ago. Updated about 2 years ago.

Status:RejectedStart date:09 Oct 2015
Priority:LowDue date:
Assignee:-% Done:


Target version:-


In FitSpheresInHexLattice_builder.py example setting of minimizer to


leads to exception throw
RealParameterWrapper::RealParameterWrapper() -> Error. Initial value -0.848051 is out of bounds lim(0.00,)

Interesting that similar example FitSpheresInHexLattice.py works as expected

This will be hard to fix...


#1 Updated by wuttke almost 5 years ago

  • Parent task set to #284

#2 Updated by pospelov about 2 years ago

  • Status changed from Backlog to Rejected

Limited parameters are fully broken in ROOT wrapper around GSL minimizer.
Tried to repair it, but failed - ROOT minimizers code is terrible if not insane.

Currently I have disabled possibility to fit with limited parameters for GSLLMA algorithm - all parameters has to be unlimited. In this case it produces correct result.
Interestingly, it also has the smallest amount of iteration to reach minimum among competitors.

In the future, either drop GSLLMA completely,
or write own wrapper around GSL kernel.

Also available in: Atom PDF