Use package-relative imports for tests.
Uses cvxopt to solve linear programming.
Skips linear programming test unless cvxopt is installed.