I would like to solve a least-square optimization problem using Google Script.
Is there a way to solve such mathematical optimization problems with Google Apps Script? Are there APIs or services to connect to that solve such much advanced math problems?