Try our new documentation site (beta).
Filter Content By
Version
Text Search
${sidebar_list_label} - Back
Filter by Language
VType
Type: | char |
---|---|
Modifiable: | Yes |
Variable type ('C'
for continuous, 'B'
for binary, 'I'
for integer,
'S'
for semi-continuous, or 'N'
for semi-integer). Binary variables
must be either 0 or 1. Integer variables can take any integer value
between the specified lower and upper bounds. Semi-continuous
variables can take any value between the specified lower and upper
bounds, or a value of zero. Semi-integer variables can take any
integer value between the specified lower and upper bounds, or a value
of zero.
Refer to this section for more information on variable types.
For examples of how to query or modify attributes, refer to our Attribute Examples.
![](/wp-content/plugins/hd_documentations/content/images/documentation-ampl-guide.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-cloud.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-example-tour.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-quick-start.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-reference-manuals.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/documentation-remote-services.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/quickstart-os-linux.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/quickstart-os-mac-osx.webp?x70725)
![](/wp-content/plugins/hd_documentations/content/images/quickstart-os-windows.webp?x70725)