Skip to content

Optimizers working on fixed bore profiles can move bore points #99

@edwardkort

Description

@edwardkort

In the NAF study, there are optimizers that work on fixed bore profiles: Grouped-hole position & size, and Hole size and position. However, because they also change bore length, there is the potential to modify existing non-terminal fixed bore points. Two scenarios are problematic:

  1. the bore-length constraints are too broad, encompassing bore points outside of the final solution
  2. the final solution encroaches upon an existing non-terminal bore point.

The current implementation, when a bore point is encroached, moves the bore point a small amount. In the course of an optimization, this bore point may be moved quite a bit - resulting in a very different bore profile.

We commented, in the relevant source code, that this might be a problem - but didn't provide a solution. I propose the following:

  1. Add a length-optimization type (there are already several) for use in fixed-bore-profile optimizers
  2. Check whether a bore point is encroached (code is already there in order to incrementally move the bore point)
  3. Throw the appropriate exception (to be written) if a bore point is encroached
  4. Display an informational exception method indicating that the user should either tighten up the length constraint (scenario 1) or delete the bottom bore point in the input instrument file (scenario 2).

I don't see a way to do the above programmatically, since the two scenarios are indistinguishable during the optimization iterations. But input is welcome.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions