You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following code can be used to reproduce the problem. A and b can be found in the attachement
import numpy as np
import cvxpy as cp
with open('A.npy', 'rb') as f:
A = np.load(f)
with open('b.npy', 'rb') as f:
b = np.load(f)
c = np.array([1786.03738998, 2497.91283978, 2450.9590043, 1065.90899866,
324.45631275, 3588.97920863])
d = 15.620850726403056
m, n = A.shape
x = cp.Variable(n, nonneg=True)
obj_func = c @ x
constraints = [cp.log_sum_exp(A @ x + b) <= d]
prob = cp.Problem(cp.Minimize(obj_func), constraints)
prob.solve(solver=cp.ECOS, verbose=True)
The ECOS fails to converge on the following problem, which indicates
Combined line search failed
:Could someone take a look and see what is going on? Thanks in advance.
Environment: I'm using CVXPY 1.1.7, ECOS '2.0.7.post1', numpy 1.19.1, python 3.7.5
Following code can be used to reproduce the problem. A and b can be found in the attachement
Error message
A_b.zip
The text was updated successfully, but these errors were encountered: