Specy / rooc

An optimization modeling language with solvers for OR and CO problems
https://rooc.specy.app
GNU General Public License v3.0
36 stars 1 forks source link

Expression precedence issue #8

Open Specy opened 7 months ago

Specy commented 7 months ago

Some expressions are not printed out correctly:

(10 * x - 10 * y) - (300 + x + 3 * z) = 1
(10 * x) * (20 + y) <= 1

get printed as:


10 * x - 10 * y - 300 + x + 3 * z = 1
10 * x * (20 + y) <= 1