# How to represent the answer of linear programming in Rational mode

Hi everyone:

I use COIN in sage to solve a linear programming. And I need the answer to be in fraction, but the default is not factional. That's to say I need the answer

```
\frac{1}{3}
```

not

```
`0.3333....` ,
```

so, how can I get the answer I need ?