octave:1> convergence Ntrials = 9 dx = 0.50000 Ncharges = 3 elapsed_cputime = 0.0073330 return_condition = 101 dx = 0.25000 Ncharges = 5 elapsed_cputime = 0.061307 return_condition = 101 dx = 0.12500 Ncharges = 9 elapsed_cputime = 0.23633 return_condition = 101 dx = 0.062500 Ncharges = 17 elapsed_cputime = 0.89558 return_condition = 101 dx = 0.031250 Ncharges = 33 elapsed_cputime = 4.0234 return_condition = 101 dx = 0.015625 Ncharges = 65 elapsed_cputime = 22.564 return_condition = 101 dx = 0.0078125 Ncharges = 129 elapsed_cputime = 159.15 return_condition = 101 dx = 0.0039062 Ncharges = 257 warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations elapsed_cputime = 1045.6 return_condition = 101 dx = 0.0019531 Ncharges = 513 warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: sqp: QP subproblem failed to converge in 200 iterations warning: division by zero warning: division by zero warning: division by zero error: __qp__: EIG: matrix contains Inf or NaN values error: called from: error: /sw/share/octave/3.6.3/m/optimization/qp.m at line 393, column 26 error: /sw/share/octave/3.6.3/m/optimization/sqp.m at line 414, column 32 error: /Users/kankel/Documents/teaching/ph567/examples_resources/octave/minimization/charged-rod/convergence.m at line 41, column 43 octave:1>