Can anyone elaborate on this linsysolve error?


I am solving a convex optimization problem which contains exponential functions in the objective function. Even though cvx finds the optimal solution, it is outputting the following warning multiple times before it is finished solving:

linsysolve: solution contains NaN or inf

What does this mean? Is the solution obtained accurate, or does this message imply otherwise?


Edit: this still shows up even with cvx_quiet(true)

Message in the command window of matlab

The search on this forum doesn’t seem to be too great, but I found this link Googling


Have you tried more than one solver?

I consider it a solver bug that it fails to go away with cvx_quiet. But Mark is right: try a different solver.