Forum Discussion
FICO
15 years agoCommunity Manager
Compile Error: Constant Expression Expected
Compile Error: Constant Expression Expected
I'm having an issue compiling a generated instance of a ruleset template. It actually only seems to occur once I've created a rule inside the instance. When I try to compile I always get this error.
Error: Constant expression expected
Clicking on the error pulls up the rule inside the ruleset instance, but doesn't highlight anything as being the problem. I've tried tons of things to narrow it down, everything from the rule being a simple...
if(true) then { return; }
... to not even having any SRL in the rule.
I have a feeling it may be the rule name, but I've changed it to something completely random to garauntee uniqueness, but I still get the same error. Has anyone here ran into this error?
Best Regards
Matt
1 Reply
- FICOCommunity Manager
I found the problem. I forgot to place single quotes around my date values... /facepalm
Best Regards
Matt
Related Content
Related Content
How to debug E-108: Logical expression expected here for If statement.
I am trying to minimize the absolute difference between some value dependent on "g" and some constant. I have attached some partial code that I would like to fix. The thing is that I just don't under...5 years agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum6 unread comments6 unread11Views0likes6CommentsIssue building a nonlinear expressions with Xpress python package
Hello, I was building a nonlinear expression but came across a strange behavior. I am trying to produce (1 / (a + b) ) but all that I am getting is (1 / a + b ). Below is a minimal example that s...1 year agoPlace FICO® Xpress Optimization ForumFICO® Xpress Optimization Forum2 unread comments2 unread9Views0likes2Comments