Algorithm 4.
Algorithm sketch for max
| Identify the convex polytopes where fi is maximal. Each is the intersection of half-spaces. |
| Decompose each into simplices |
| Evaluate fmax at each vertex in each resulting simplex |
| Recover the ws as needed using Equation (6) |