Closed grumpyinca closed 1 year ago
Considering;
It is better to not block the Seek operation but instead, if after Seek finishes, an active constraint on the variable in question is violated, provide a message (pop-up?, part of the termination condition message?, Alert?) that explains to the user that the constraint is limiting further progress in the specified direction.
For example: If there is a MIN constraint established on Weight, then Seek MIN Weight runs when requested with no interruption. After the Seek operation completes, if an enabled MIN constraint on Weight is violated, words similar to "The MIN constraint on Weight is limiting further progress. You may want to relax or disable this constraint and then run Seek again." are appended to the termination condition message.
Completed update, see screen shot with ioopt = 6
Merged into master, closing
Original thinking preserved here. See below for update(s).
Consider adding code that will block Seek and produce a termination condition message in the case that there is a pre-existing constraint on the target variable in the specified direction.
For example: If there is a MIN constraint established on Weight, then Seek MIN Weight will immediately return with no changes and produce a termination condition message similar to "Seek Canceled. Remove the MIN constraint on Weight and try again.".