Content deleted Content added
clarification and elaboration in lead |
→Definition: fixing back-and-forth confusion between the two related concepts |
||
Line 1:
In [[mathematical optimization]], '''constrained optimization''' (in some contexts called '''constraint optimization''') is the process of optimizing an objective function in the presence of [[Constraint (mathematics)|constraints]]: either ''hard constraints'' which are required to be satisfied, or ''soft constraints'' which are penalized in the objective function if, and based on the extent that, they are not satisfied. The objective function is either a [[Loss function|cost function]] which is to be minimized or a function, sometimes called a [[utility function]], which is to be maximized.
==
A general constrained optimization problem may be written as follows:
Line 11 ⟶ 7:
<math>
\begin{array}{rcll}
\
\mathrm{subject~to} &~& g_i(\mathbf{x}) = c_i &\mathrm{for~} i=1,\cdots,n \quad \rm{Equality~constraints} \\
&~& h_j(\mathbf{x}) \
\end{array}
</math>
where
In some problems, often called ''constraint optimization problems'', the objective function is actually the sum of cost functions each of which penalizes the extent (if any) to which a [[Constraint (mathematics)#Hard and soft constraints|soft constraint]] (a constraint which is preferred but not required to be satisfied) is violated.
==Solution methods==
|