display: Display

Description Usage Arguments Details Value

View source: R/entity.R

Description

Low-level function equivalent to the AMPL call

Usage

1
display(ampl, entity)

Arguments

ampl

amplpy.ampl.AMPL object

statements

Character. The display statements to be fetched. Can return more than one model entity provided they are defined over the same indexing sets (See Details.)

Details

display ds1, ..., dsn;

where ds1, ..., dsn are given as the parameter statements here.

As AMPL only returns one table, 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.

Value

data.table containing the resulting display command in tabular form.


ruaridhw/r-AMPL documentation built on May 4, 2019, 10:55 a.m.