Skip to content

Nonlinear minimizers don't allow mixing of bounded and unbounded parameters #931

Open
@AutWint

Description

@AutWint

Fit model parameters may optionally be box constrained for nonlinear minimization (see e.g. NonlinearMinimizerBase.cs). However, a current limitation is that one has to either provide a full set of lower and/or upper bounds, or leave all parameters unbounded (in any direction).

Sometimes it makes sense for some parameters to be bounded, e.g. due to physical constraints, while it doesn't make sense for others. It would be great if it was possible to mix bounded and unbounded parameters. This could, for instance, be implemented by allowing individual bounds to be nullable, and then checking/catching the individual "null-bounds" in the ProjectToInternalParameters method.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions