We have applied the power of mathematical optimization to mortgage loans. Optimization methods are widely used in engineering design and to a less extent in corporate finance. Leveraging optimization to create an accessible tool for everyday life decision making is a new technology.