ECOS increase iteration limit


how can you increase the iteration limit for the ECOS solver? It seems like its stuck to 100, and returns:
Maximum number of iterations reached, recovering best iterate (19) and stopping.

I think
should work to increase max iterations to 500.

However, if ECOS hits 100 iterations, it may be that there is something bad about your model, for instance bad numerical scaling, or there being little to no relative interior with respect to the nonlinear constraints, or some other exact or approximate degeneracy.

1 Like