Theory and methods for problems arising in robust stability, optimization and quantization