The objective function defines the values to be maximized or minimized during optimization. This function might depend on analysis results, geometric values or combinations of those.