Add option to use fractions.
comment
Use dual to solve ilp for small speedup.