Ask Your Question
1

How to find the vertices a a polyhedron define by inequalities ,

asked 2019-10-02 19:02:40 +0200

Cyrille gravatar image

updated 2019-10-02 19:04:39 +0200

I would like to know if there is a way to obtain the v-representation of a polyhedron from its definition by inequalities like

${x \geq 0, y \geq 0, y + x \leq 10}$

I find the opposite in the documentation. (If possible in higher dimension, because i can always solve for the solution.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2019-10-02 19:38:08 +0200

tmonteil gravatar image

To get some autonomy, you can get informations on the Polyhedron constructor as:

sage: Polyhedron?

See in particular the ieqs parameter.

Once your polyhedron is defined, and assigned to the name, say P, you can use Tab completion:

sage: P.<TAB_COMPLETION>

to see all the methods available. You will see that there is a vertices method.

edit flag offensive delete link more

Comments

1

It is also possible to get the full V-representation using the Vrepresentation method.

jipilab gravatar imagejipilab ( 2019-10-26 00:19:36 +0200 )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

1 follower

Stats

Asked: 2019-10-02 19:02:40 +0200

Seen: 84 times

Last updated: Oct 02 '19