Mathematics, Machine Learning, Reinforcement Learning, Optimization.
context of duality, this is called the primal. For example, in Machine Learning, one can imagine f as the performance metric and gi & hj could be constraints on recall or loss. The Lagrangian, denoted by L is a function comprised of a linear combination of the objective function and the constraints