Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revisionBoth sides next revision | ||
user_guide:ilp_and_hilbertbases [2019/01/25 09:27] – ↷ Page moved from tutorial:ilp_and_hilbertbases to user_guide:ilp_and_hilbertbases oroehrig | user_guide:ilp_and_hilbertbases [2019/01/25 09:35] – ↷ Links adapted because of a move operation oroehrig | ||
---|---|---|---|
Line 45: | Line 45: | ||
Now let us proceed with a somewhat more interesting example: The convex hull of 20 randomly chosen points on the 2-dimensional sphere. | Now let us proceed with a somewhat more interesting example: The convex hull of 20 randomly chosen points on the 2-dimensional sphere. | ||
- | {{ :tutorial: | + | {{ user_guide: |
< | < | ||
polytope > $rs = rand_sphere(3, | polytope > $rs = rand_sphere(3, | ||
Line 59: | Line 59: | ||
To this end, we have to multiply every coordinate (except for the homogenising 1 in the beginning) of every vertex by lamda. Then we can create a new polytope by specifying its vertices. | To this end, we have to multiply every coordinate (except for the homogenising 1 in the beginning) of every vertex by lamda. Then we can create a new polytope by specifying its vertices. | ||
- | {{ :tutorial: | + | {{ user_guide: |
< | < | ||
polytope > $lambda=2; | polytope > $lambda=2; | ||
Line 82: | Line 82: | ||
Now will construct the integer hull of '' | Now will construct the integer hull of '' | ||
- | {{ :tutorial: | + | {{ user_guide: |
< | < | ||
polytope > $integer_hull=new Polytope< | polytope > $integer_hull=new Polytope< | ||
Line 92: | Line 92: | ||
Note that if we give '' | Note that if we give '' | ||
- | If you specify '' | + | If you specify '' |
==== Linear Programming ==== | ==== Linear Programming ==== | ||
Line 106: | Line 106: | ||
polytope > $ilp=new Polytope< | polytope > $ilp=new Polytope< | ||
</ | </ | ||
- | {{ :tutorial: | + | {{ user_guide: |
- | {{ :tutorial: | + | {{ user_guide: |
And now we can perform some computations: | And now we can perform some computations: |