convexengineering / gpkit

Geometric programming for engineers
http://gpkit.readthedocs.org
MIT License
206 stars 40 forks source link

All-NaN axis encountered in var_table when using SolutionArray.savetxt() #1474

Closed pgkirsch closed 4 years ago

pgkirsch commented 4 years ago
In [4]: sol.savetxt("test")                                                                                                             
/Users/philippe.kirschen/Documents/Optimization/gpkit/gpkit/solution_array.py:691: RuntimeWarning: All-NaN axis encountered
  if np.nanmax(np.abs(v)) > minval:

More information provided in private repo.

bqpd commented 4 years ago

This is working as intended! But I should capture those warnings.