Ask Your Question
0

Equalities/Inequalities in Polyhedron()

asked 2013-02-18 17:44:44 -0500

assadabbasi gravatar image

updated 2015-01-13 13:35:56 -0500

FrédéricC gravatar image

Hi,

Anyone can please tell me that what equalities/inequalities in polyhedron(eqns = [()]) represent. e.g. for the following expression

P = Polyhedron(eqns=[(0,0,1,0)]) plane2.Hrepresentation()

The result is (An equation (0, 1, 0) x + 0 == 0,). Does it mean x2 = 0 plane in 3D?

Similarly for

plane3 = Polyhedron(eqns=[(1,0,0,-1)]) plane3.Hrepresentation()

the result is (An equation (0, 0, 1) x - 1 == 0,). Does it mean x3 = 1 in 3D.

If not so, how do we interpret it?

Thanks

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
2

answered 2013-02-19 09:38:14 -0500

twch gravatar image

Yes you are completely right

eqns=[(a,b,c,d)]

means exactly

a+b*x_1+c*x_2+d*x_3=0

The same is true for inequalities where = is replaced by ">=".

You can also plot the corresponding surface in R^3 with

plane3.show()

which should make clear who to interpret the equation.

edit flag offensive delete link more

Comments

Thanks for the clarification

assadabbasi gravatar imageassadabbasi ( 2013-02-19 11:06:26 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-02-18 17:44:44 -0500

Seen: 103 times

Last updated: Feb 19 '13