Get the data corresponding to the display statements. The statements can
be AMPL expressions, or entities. It captures the equivalent of the
command:
where ds1, ..., dsn
are the statements
with which the function is called.
As only one DataFrame is returned, the operation will fail if the results
of the display statements cannot be indexed over the same set. As a
result, any attempt to get data from more than one set, or to get data
for multiple parameters with a different number of indexing sets will
fail.
- Parameters
statements (list) – The display statements to be fetched.
- Returns
DataFrame capturing the output of the display command in tabular form.
- Return type
DataFrame
- Raises
Error – if the AMPL visualization command does not succeed for one of the reasons listed above.