Hacker News new | ask | show | jobs
by imtringued 498 days ago
Do something crazy and teach kids to write their own QP solver. That will force them to learn quadratic functions, vector norms, solving linear equations using LU decomposition, dot products, vector matrix and matrix vector multiplication, convexity, Lagrangian multipliers, etc.

The quadratic programming solver can be used to calculate ordinary least squares for linear regression and controlling robot arms in real time or linear model predictive control.