A program is the model written out as plain R lists: every variable,
expression and constraint, in the form that encode() turns into the
bytes sent to the service. solve() makes this conversion itself, so you
only need as_program() to look at exactly what a model sends, or to work
with the program() functions directly.
Arguments
- m
A
model().
Value
A program().