Processing math: 100%
Ask Your Question
1

Create polyhedron for given matrix A and vector b

asked 3 years ago

XLVII gravatar image

P(A,b)={x∣ A.x ≤ b}

I have to create a polyhedron with this inputs

but in sage inequalities like this

A.x + b >= 0

, how to convert

Preview: (hide)

Comments

Welcome to Ask Sage! Thank you for your question.

slelievre gravatar imageslelievre ( 3 years ago )

1 Answer

Sort by » oldest newest most voted
1

answered 3 years ago

rburing gravatar image

updated 3 years ago

AxbAxb0(A)x+b0.

So if you have (A,b) such that Axb is your polyhedron, then the pair (A,b), where A=A, is such that Ax+b0 is also your polyhedron.

Preview: (hide)
link

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: 3 years ago

Seen: 210 times

Last updated: Jan 01 '22