> For the complete documentation index, see [llms.txt](https://www.generativedesign.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://www.generativedesign.org/02-deeper-dive/02-03_optimization/02-03-01_what-is-optimization.md). Agents can also search and read this documentation through its [MCP server](https://www.generativedesign.org/~gitbook/mcp).

# What is Optimization?

![](https://1947225869-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LZMLRvaju5sqPs7pYTX%2F-LrPm1e4RtGAmBvnbyWu%2F-LrPm455eipMYle9Rhex%2Fwhatisoptimization.png?generation=1571333631277070\&alt=media)

Optimization is an inherently mathematical subject. It is about maximizing or minimizing some mathematical function to arrive at the best possible solution to a problem, and involves creating design options that are shaped by certain outcomes as they are being created.

Optimization problems arise in all kinds of fields, from aerospace engineering to architectural design. However, regardless of domain, every optimization problem has three features:

1. An objective function.&#x20;
2. Constraints.
3. Data.
