UBC Undergraduate Research

Half-space Representations of Piecewise Linear-Cubic Convex Functions Hatton, Jeffrey Davin

Abstract

This thesis documents the data structure and functions pertaining to storing piecewise linear-cubic convex functions in up to two dimensions as sets of half-spaces. Building upon the preexisting PLCVC class structure (a representation using vertices), the PLCHC library includes a constructor, return function, testing function, addition function, as well as helper functions. Given two PLCVC instances, the vertex/edge/face style of representing a function yields challenges to adding both functions. Storing PLCVC functions' domains as an ordered series of half-space inequalities facilitates the task. While such an application takes advantage of the PLCHC structure, PLCHC is not an appropriate structure for all operations. Thus, a return function, toPLCVC() is included to reconstruct an equivalent vertex representation of the function. Not all PLCVC vertices are extreme points, and are therefore arbitrary within restrictions. In order to unit test the return function, a custom comparator method was developed. The purpose being to eliminate arbitrary aspects from the evaluation, as well as to compensate for MATLAB floating point error within tolerance.

Item Media

Item Citations and Data

Rights

Attribution-NonCommercial-NoDerivatives 4.0 International