# Revision history [back]

### linear programming

  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 factional.  That's to say I need the answer **\frac{1}{3}** not **0.3333....** , so, how can I get the answer I need ?

 2 formatting and obvious not missing in first sentence corrected. Shashank 1887 ●28 ●48 ●82

### linear programming

 Hi everyone?I 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}**  \frac{1}{3}
not **0.3333....** ,  0.3333.... ,
so, how can I get the answer I need ?

?

### How to represent the answer of linear programmingprogramming 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 ?

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

Hi everyone?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 ?