Constrained Optimization

Learn what constraints are and why they’re necessary.

At this point, we can solve almost any optimization problem either using exact, approximate, or heuristic solutions. But we haven’t learned any method to deal with constraints.

Remember the general form of an optimization algorithm:

minxf(x)s.t.:xC\min_x f(x) \\ s.t.: x \in C

Here, xx can be a number, a vector, or a matrix. The second line is a constraint. It tells us that xx has to fulfill some properties.

Create a free account to view this lesson.

By signing up, you agree to Educative's Terms of Service and Privacy Policy