An Optimization Approach To A Geometric Packing Problem