This book treats two sets of mathematical problems that are closely related to each other. The first kind is structural optimization problems which asks about inner structure of an inhomogeneous body which is designed to be optimal in some sense. The description of optimal microstructures is the second topic of this book.