thegrumpys / odop

Open Design Optimization Platform (ODOP) - Coil spring design app; mechanical springs; compression spring, extension spring, torsion spring
https://www.springdesignsoftware.org
MIT License
4 stars 5 forks source link

Improve Search / Seek response to non-finite objective value #871

Closed grumpyinca closed 7 months ago

grumpyinca commented 8 months ago

An experiment with blocking Search & Seek when the Objective Value (OBJ) was not finite was coded but later removed when it was discovered that a small modification to Pattern Search allows appropriate results when the Objective Value is infinity. The modification is described in the next comment.

1fifoto commented 8 months ago

Changed patsh from '<' to '<=' to allow s_psi to be infinity. Make sure to check both +infinity and -infinity cases. See patsh line 62 & line 95.

grumpyinca commented 8 months ago

Added code to provide a warning pop-up if the objective value is not finite when a Search is requested.

image
grumpyinca commented 8 months ago

Added context specific Help for the button in the pop-up described above. It is in client\docs\Help\errors.md. The file selected to contain the content is a change that required changes in the link(s) referring to that file.

Related changes and improvements in other documentation files are included.

grumpyinca commented 7 months ago

Merged to master; pushed to remote. Closing.