Planar Graph Optimization