embotech / ecos

A lightweight conic solver for second-order cone programming.
GNU General Public License v3.0
468 stars 123 forks source link

Generating code with Float32 #219

Open xkhainguyen opened 7 months ago

xkhainguyen commented 7 months ago

Hi,

I am using CVXPYGEN to generate and solve problems with ECOS on microcontrollers. I wanted all the variables to be in type float (32) instead of double (64). Is it possible to do this?

Thank you very much!