We consider the problem of designing a medium so that the Dirichlet eigenfunction associated with it is highly localized. A challenge associated with this optimization is to provide mathematically wellposed formulations of the problem. We show two wellposed formulations, and propose a computational strategy based on projected gradients and trajectory continuation. Joint work with Fadil Santosa.