oxfordcontrol / Clarabel.cpp

Clarabel.cpp: C/C++ interface to the Clarabel Interior-point solver for convex conic optimisation problems.
Apache License 2.0
32 stars 10 forks source link

Add macros for floating-point types in C #10

Closed gaviny82 closed 1 year ago

gaviny82 commented 1 year ago

Users can choose a specific version using specific functions with a _f32 or _f64 suffix or use the macros which are mapped to either float or double depending on whether CLARABEL_USE_FLOAT is defined.