Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

asked 4 years ago

Cyrille gravatar image

Klee-minty D=56 vertices

According to wikipedia (but this is well known), A klee-Minty cube in D-dimension is defined by

x15

4x1+x225

8x1+4x2+x3125

$16 x_1 + 8 x_2 + 4 x_3 + x_4 \leq 625\$

32x1+16x2+8x3+4x4+x53125

2Dx1+2D1x2+2D2x3++4xD1+xD5D

x10

x20

x30

x40

x50

This poloyhedron has 2D vertices. How can I find them. I have tried the following code

A= matrix(QQ, 10,5,[0,0,0,0,-1, 0,0,0,-1,-4, 0,0,-1,-4,-8, 0,-1,-4,-8,-16, -1,-4,-8,-16,-32,
                   1,0,0,0,0, 0,1,0,0,0, 0,0,1,0,0, 0,0,0,1,0, 0,0,0,0,1])
show(LatexExpr(r"\text{A = }"),A)
b=vector(QQ,[5,254,125,625,3125,0,0,0,0,0])
show(LatexExpr(r"\text{b = }"),b)
c=vector(QQ,[2^4,2^3,2^2,2^1,2^0])
show(LatexExpr(r"\text{c = }"),c)
AA=matrix(list(list([b])+list(transpose(A))))
show(transpose(AA))
pol = Polyhedron(ieqs = AA)
pol.Hrepresentation()

But I am far away from the account and some of the vertices are in the negative part of the hyperplan (which is impossible). Need some help to decipher my mistake. Thanks

Klee-minty D=56 vertices

According to wikipedia (but this is well known), A klee-Minty cube in D-dimension is defined by

x15

4x1+x225

8x1+4x2+x3125

$16 x_1 + 8 x_2 + 4 x_3 + x_4 \leq 625\$

32x1+16x2+8x3+4x4+x53125

2Dx1+2D1x2+2D2x3++4xD1+xD5D

x10

x20

x30

x40

x50

This poloyhedron polyhedron has 2D vertices. How can I find them. I have tried the following code for D=5 --- that is 32 vertices.

A= matrix(QQ, 10,5,[0,0,0,0,-1, 0,0,0,-1,-4, 0,0,-1,-4,-8, 0,-1,-4,-8,-16, -1,-4,-8,-16,-32,
                   1,0,0,0,0, 0,1,0,0,0, 0,0,1,0,0, 0,0,0,1,0, 0,0,0,0,1])
show(LatexExpr(r"\text{A = }"),A)
b=vector(QQ,[5,254,125,625,3125,0,0,0,0,0])
show(LatexExpr(r"\text{b = }"),b)
c=vector(QQ,[2^4,2^3,2^2,2^1,2^0])
show(LatexExpr(r"\text{c = }"),c)
AA=matrix(list(list([b])+list(transpose(A))))
show(transpose(AA))
pol = Polyhedron(ieqs = AA)
pol.Hrepresentation()

But I am far away from the account and some of the vertices are in the negative part of the hyperplan (which is impossible). Need some help to decipher my mistake. Thanksmistake(s). Thanks.

Klee-minty D=56 vertices

According to wikipedia Wikipedia (but this is well known), A klee-Minty Klee-Minty cube in D-dimension D dimensions is defined by by

x15

4x1+x225

8x1+4x2+x3125

$16 x_1 + 8 x_2 + 4 x_3 + x_4 \leq 625\$625$

32x1+16x2+8x3+4x4+x53125

2Dx1+2D1x2+2D2x3++4xD1+xD5D

x10

x20

x30

x40

x50

This polyhedron has 2D vertices. How can I find them. them?

I have tried the following code for D=5 D=5 --- that is 32 vertices. vertices.

A= A = matrix(QQ, 10,5,[0,0,0,0,-1, 0,0,0,-1,-4, 0,0,-1,-4,-8, 0,-1,-4,-8,-16, -1,-4,-8,-16,-32,
                   1,0,0,0,0, 0,1,0,0,0, 0,0,1,0,0, 0,0,0,1,0, 0,0,0,0,1])
10, 5,
           [0, 0, 0, 0, -1,
            0, 0, 0, -1, -4,
            0, 0, -1, -4, -8,
            0, -1, -4, -8, -16,
            -1, -4, -8, -16, -32,
            1, 0, 0, 0, 0,
            0, 1, 0, 0, 0,
            0, 0, 1, 0, 0,
            0, 0, 0, 1, 0,
            0, 0, 0, 0, 1])
show(LatexExpr(r"\text{A = }"),A)
b=vector(QQ,[5,254,125,625,3125,0,0,0,0,0])
}"), A)
b = vector(QQ, [5, 254, 125, 625, 3125, 0, 0, 0, 0, 0])
show(LatexExpr(r"\text{b = }"),b)
c=vector(QQ,[2^4,2^3,2^2,2^1,2^0])
}"), b)
c = vector(QQ, [2^4, 2^3, 2^2, 2^1, 2^0])
show(LatexExpr(r"\text{c = }"),c)
AA=matrix(list(list([b])+list(transpose(A))))
}"), c)
AA = matrix(list(list([b]) + list(transpose(A))))
show(transpose(AA))
pol = Polyhedron(ieqs = AA)
Polyhedron(ieqs=AA)
pol.Hrepresentation()

But I am far away from the account and some of the vertices vertices are in the negative part of the hyperplan hyperplane (which is impossible). impossible). Need some help to decipher my mistake(s). Thanks.

Klee-minty D=56 vertices

According to Wikipedia (but this is well known), A Klee-Minty cube in D dimensions is defined by

x15

4x1+x225

8x1+4x2+x3125

16x1+8x2+4x3+x4625

32x1+16x2+8x3+4x4+x53125

2Dx1+2D1x2+2D2x3++4xD1+xD5D

x10

x20

x30

x40

x50

This polyhedron has 2D vertices. How can I find them?

I have tried the following code for D=5 --- that is 32 vertices.

A = matrix(QQ, 10, 5,
           [0, 0, 0, 0, -1,
            0, 0, 0, -1, -4,
            0, 0, -1, -4, -8,
            0, -1, -4, -8, -16,
            -1, -4, -8, -16, -32,
            1, 0, 0, 0, 0,
            0, 1, 0, 0, 0,
            0, 0, 1, 0, 0,
            0, 0, 0, 1, 0,
            0, 0, 0, 0, 1])
show(LatexExpr(r"\text{A = }"), A)
b = vector(QQ, [5, 254, 125, 625, 3125, 0, 0, 0, 0, 0])
show(LatexExpr(r"\text{b = }"), b)
c = vector(QQ, [2^4, 2^3, 2^2, 2^1, 2^0])
show(LatexExpr(r"\text{c = }"), c)
AA = matrix(list(list([b]) + list(transpose(A))))
show(transpose(AA))
pol = Polyhedron(ieqs=AA)
pol.Hrepresentation()

But I am far away from the account and some of the vertices are in the negative part of the hyperplane (which is impossible). Need some help to decipher my mistake(s). Thanks.