AI engineering glossary · Calculus optimisation

What is constraint?

Constraint: A condition that candidate solutions must satisfy, such as an equation or inequality on the variables. Such conditions shrink the set of allowed answers and often change where the best answer lies.

Level: beginnerTopic: Calculus optimisation

Constraint: an example

Maximise profit subject to 2x + 3y <= 120, where x and y are units of two products and 120 is the available labour hours.

Related terms

More Calculus optimisation terms

Where you learn it

Constraint is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.