logoalt Hacker News

fouronnes3last Saturday at 7:21 AM2 repliesview on HN

You can do it and it is explained, actually. Use # as a prefix to indicate a constant, e.g.: #50 will be a constant and not a variable.

In the future I'd like to support more user input constraints, in particular domain constraints for variables. So you could tell the solver that this cell must remain in some interval, and it would respect that interval instead of assigning any real value.


Replies

nkrisclast Saturday at 4:24 PM

IMO constant should be the default and variables should be annotated.