Difference: AMPLSyntax (7 vs. 8)

Revision 82008-03-18 - TWikiAdminUser

Line: 1 to 1
 
META TOPICPARENT name="AMPLGuide"
<-- Ready to Review - done - Lauren-->

The AMPL Syntax Guide

Line: 23 to 23
 The # is used for commenting, any characters on a line after the # are ignored by AMPL.

Examples

Changed:
<
<
The Whiskas Cat Food Problem
# The set of all possible ingredients for the cat food set INGREDIENTS; 
>
>
The Whiskas Cat Food Problem

# The set of all possible ingredients for the cat food set INGREDIENTS; 
  The Surfboard Production Problem
Added:
>
>
 

Changed:
<
<
param Resin {SURFBOARDS} >= 0; # Amount of resin (in kilos) needed for a board param TotalResin >= 0; # Total amount of resin available
>
>
param Supply {MATERIALS}; # The supply of each raw material

param Recipe {MATERIALS, SURFBOARDS}; # The "recipe" for making surfboards

 

Using =symbolic

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback