Ask Your Question
1

Equalities/Inequalities in Polyhedron()

asked 2013-02-19 00:44:44 +0100

assadabbasi gravatar image

updated 2015-01-13 20:35:56 +0100

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
3

answered 2013-02-19 16:38:14 +0100

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 18:06:26 +0100 )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-19 00:44:44 +0100

Seen: 448 times

Last updated: Feb 19 '13