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