A method that the user can call to stop the iterations. (it can be called in any of the functions). SLSQP will stop at the end of the next iteration.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(slsqp_solver), | intent(inout) | :: | me |
subroutine stop_iterations(me) implicit none class(slsqp_solver),intent(inout) :: me me%user_triggered_stop = .true. end subroutine stop_iterations