Curve Fitting: Fitting a Curve to a Set of Data Points


Features Demonstrated

The following features are demonstrated in this example:

  • problem types: linear programming (polynomial regression with $L_1$ and $L_\infty $ norms)

  • numeric index set

  • IMPVAR statement

  • PROBLEM and USE PROBLEM statements

  • multiple objectives

  • using a variable suffix (such as .sol) in the declaration of a numeric parameter

  • ABS function

  • MAX aggregation operator

  • SGPLOT procedure