ECOS Numerical problem

382 views
Skip to first unread message

TARUN GUPTA

unread,
Jun 8, 2017, 2:40:23 PM6/8/17
to cvxpy
I have a convex objective function (log-likelihood) and linear constraints. However using cvxpy is giving :

"combined backtracking failed 0 0 90 0 sigma 1 Combined line search failed, recovering best iterate (9) and stopping. NUMERICAL PROBLEMS". 

May I know what is the source of this error ? How to resolve this ?

Any help will be appreciated.

tar

unread,
Jun 8, 2017, 2:57:05 PM6/8/17
to cvxpy
I am using ECOS within CVXPY.

Steven Diamond

unread,
Jun 11, 2017, 6:26:20 PM6/11/17
to cvxpy
Make sure your problem is well scaled (meaning the ratio of the largest absolute value number in the data to the smallest non-zero absolute value is reasonable, say below 10^6). If that doesn't fix it, use a commercial grade solver like MOSEK.
Reply all
Reply to author
Forward
0 new messages