1
$\begingroup$

I have been surprised that Mathematica cannot solve a linear program. Specifically, I have tried to solve the following problem:

Minimize[{x, 
    x >= 0.41 m + 1.12 n + .15 p - .9 e - .5 T && 
    x >=  2.35 n + 1.35 p - 2 e && x >= 2.35 n - 2 e - 2 T - .35 p}, p]

Is there some way to solve problems of this sort?

$\endgroup$
3
  • 2
    $\begingroup$ Try exact values not numeric. $\endgroup$ – Mariusz Iwaniuk Feb 4 at 10:40
  • $\begingroup$ That worked, thanks! Is there a way to convert all the numbers automatically? $\endgroup$ – user2316602 Feb 4 at 11:48
  • 2
    $\begingroup$ Use Rationalize $\endgroup$ – Cesareo Feb 4 at 12:22