spot-toolbox / spotless

A fork of the Systems Polynomial Optimization Toolbox.
28 stars 35 forks source link

When the primal/dual is infeasible, we now return [] instead of NaN*ones #5

Closed anirudhamajumdar closed 10 years ago

anirudhamajumdar commented 10 years ago

This is to prevent Out of Memory errors on very large problems (e.g., with DSOS). Having the output be a dense vector of NaNs causes Matlab to give a OOM error.

I double checked that this does not cause any problems further down the pipeline.