gr=Polyhedron(ieqs=[(10,-1,0),(-12,0,1)]) p1=gr.plot() x_0, x_1 = var('x_0 x_1') lin=solve([70==6x_0+18x_1],x_1) p2=plot(lin, (x,8,14)) p1+p2
|   | 1 |  initial version  | 
gr=Polyhedron(ieqs=[(10,-1,0),(-12,0,1)]) p1=gr.plot() x_0, x_1 = var('x_0 x_1') lin=solve([70==6x_0+18x_1],x_1) p2=plot(lin, (x,8,14)) p1+p2
I wonder why the Variable 'x_0' not found
 gr=Polyhedron(ieqs=[(10,-1,0),(-12,0,1)])
p1=gr.plot()
x_0, x_1 = var('x_0 x_1')
lin=solve([70==6x_0+18x_1],x_1)
lin=solve([70==6*x_0+18*x_1],x_1)
p2=plot(lin, (x,8,14))
p1+p2p1+p2
 Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.
 
                
                Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.