Farm Planning: How Much to Grow and Rear


Features Demonstrated

The following features are demonstrated in this example:

  • problem type: linear programming

  • numeric and string index sets

  • bounds in the VAR statement

  • FIX statement

  • IMPVAR statement

  • .ub variable suffix

  • set operators UNION and DIFF

  • using a colon (:) to select members of a set

  • FINANCE function

  • range constraint

  • multiple input and output data sets

  • writing dense two-dimensional data

  • writing sparse two-dimensional data