liuq / QuadProgpp

A C++ library for Quadratic Programming which implements the Goldfarb-Idnani active-set dual method.
MIT License
285 stars 88 forks source link

Optimal Solution Found Exit #21

Closed Jcw17 closed 3 years ago

Jcw17 commented 3 years ago

Seldom coming across ss >= 0.0 's exit judgement is not satisfied. And ss is about -e-13 about. and could not converge anymore. For anyone who has strucked in the loop for that, Change ss >= threshould (any number can satisfy your need, like -1e-6) would work.

santoshj1989 commented 3 years ago

This was quite helpful, you've nailed the exact location where I had an issue. Thanks!