Skip to content

Use consistent form in inequality constraint equations #3564

@jonmaddock

Description

@jonmaddock

Following an investigation into upper limit constraint behaviour, I'm proposing to change the form of the upper limit inequality constraints from:
$$c_{max} = 1 - \frac{x_{max}}{x}$$
to
$$c_{max} = \frac{x}{x_{max}} - 1$$
This means that lower and upper limit constraints are violated proportionately (e.g. linearly), and the constraint values for upper limit constraints are now much simpler to interpret. It also removes a discontinuity in upper limit constraints when the constrained parameter ($x$) passes through 0.

Metadata

Metadata

Assignees

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