# Can sage compute the Minkowski sum of two cones?

The Minkowski sum of two cones C1 and C2 is

C1 + C2 = {x + y | x in C1, y in C2}

Is there a method in sage that computes C1+C2?

Can sage compute the Minkowski sum of two cones?

The Minkowski sum of two cones C1 and C2 is

C1 + C2 = {x + y | x in C1, y in C2}

Is there a method in sage that computes C1+C2?

add a comment

2

Like that

```
sage: C1=Cone(rays=[[0,1]])
sage: C2=Cone(rays=[[1,0]])
sage: C1.polyhedron()+C2.polyhedron()
A 2-dimensional polyhedron in ZZ^2 defined as the convex hull of 1 vertex and 2 rays
```

Please start posting anonymously - your entry will be published after you log in or create a new account.

Asked: ** 2016-08-14 21:44:39 +0200 **

Seen: **246 times**

Last updated: **Aug 14 '16**

Compute the centroid of a polytope

generating an array of convex polyhedrons

Equalities/Inequalities in Polyhedron()

integrate rational function over a polyhedral domain

How to compute the convex hull of a set of points in the plane?

find one interior point of a polyhedron

combinatorial equivalence for Polyhedra / isomorphism for lattices

Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.