Opened 17 years ago
Closed 17 years ago
#23 closed enhancement (fixed)
printing of symbolic expressions needs improvement
| Reported by: | Stephen Siegel | Owned by: | ywei |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | symbolic | Version: | 1.0 |
| Keywords: | print symbolic parentheses | Cc: | ywei@… |
Description
The symbolic expressions, when printed, do not contain parentheses, so one cannot tell how the operations are grouped. For example:
| 0<=X0*-1+1 |
Look at the Expression classes in the model package to see one way to handle this easily. Each expression class provides two methods to return a string, one which is used whenever the expression has to occur as a subgroup inside of another expression. You can just copy what is done there.
Change History (2)
comment:1 by , 17 years ago
| Status: | new → accepted |
|---|
comment:2 by , 17 years ago
| Resolution: | → fixed |
|---|---|
| Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.

Fixed. Parenthesis added.