Gets the expression of an entity of the model (set, parameter, variable, constant)
object |
an optimSMS object |
entity |
One of the character strings "sets", "vars", "pars", "consts" |
getid |
Item identifier |
setSubEq |
Equation id for a set substitution (see details) |
... |
Open to specific-entity options |
For parameters and variables, if we want to substitue the
representation of some index, we first create an equation
whose only left side term is the set identifier we want
to substitute, and whose right side terms is the
expression to substite with (e.g., change âtâ by
ât-1â)
For sets, add argument SET = TRUE to get the
representation of the set, not the index (e.g. in LaTeX
using mathcal typography).
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.