Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
P(A,b)={x∣ A.x ≤ b}
我必须用这个输入创建一个多面体
但是在这样的圣人不平等中A.x + b >= 0,如何转换
A.x + b >= 0
像这样的东西:
sage: A = matrix(2,2,[1,23,31,4]) sage: b = vector([55,66]) sage: Polyhedron(ieqs=(-A).augment(b)).inequalities_list() [[-1, -23, 55], [-31, -4, 66]]