I've been playing with MS Solver using F# and I need to define domain as a range of ints. I learnt there's a function: Domain.IntegerRange which takes two parameters of Rational type.
In C# there's no problem using ints instead of Rationals: http://msdn.microsoft.com/en-us/library/ff826356(v=vs.93).aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1
However, in F# such an implicit conversion doesn't get accepted. How should that be implemented instead ? I've tried to create somehow Rational based on an int, but failed to do so.