There is a problem with knowing if the Optimize VF13ad has converged or not from the script. The Variables SolverState is always zero regardless of the Optimize Sequence has converged or not.
I attach a code where the initial conditions do not converge. I have 3 nested loops that should only be executed in the case the previous loop converges. But this fails as the first does not converge but still continues.