Objectives, Decision Variables, Constraints, and Feasibility › Summary

Michael BrenndoerferOctober 29, 20262 min read
Machine Learning from ScratchAll chapters
Part 14 of 15Constrained Optimization
Chapter 84Objectives, Decision Variables, Constraints, and Feasibility › Summary
Reading section 9 of 10 · Summary · 2 minSection 9 of 10 · 2 min

Section 9 of 10 · 2 min read

Objectives, Decision Variables, Constraints, and Feasibility › SummarySection view · Sections in this chapter9 / 10 ↓
Reading tools Definitions, links & notes

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Notes & comments

A constrained optimization problem has four components: a decision vector whose entries are the quantities we control, a domain that says which values are admissible, an objective that scores each decision, and constraints that partition decisions into feasible and infeasible. Written compactly, we minimize f(x)f(x) over the set F={x∈X:gi(x)≤0 for all i, hj(x)=0 for all j}\mathcal{F} = \{x \in X : g_i(x) \leq 0 \text{ for all } i,\ h_j(x) = 0 \text{ for all } j\}, and in the linear case this becomes the familiar min⁡c⊤x\min c^\top x subject to Ax≤bAx \leq b and x≥0x \geq 0. The formulation is a model of the decision, not the decision itself, and its quality depends on consistent units, coefficient provenance, faithful requirements, and a suitable solver.

Formulation translates a decision into variables, domains, an objective, and constraints. Optimization searches that model: LPs with a nonempty bounded feasible polyhedron admit an optimal vertex, mixed-integer solvers use bounds to limit the possible improvement of the incumbent objective, and nonconvex local methods provide no automatic global certificate. Validation independently recomputes objectives, residuals, and domain requirements. Relaxations and Lagrangian dual values supply bounds, while feasible decisions supply achievable values. Penalties price violations; they do not automatically enforce hard rules or integrality. The worked allocation example distinguishes a fractional LP bound, the exact enumerated integer optimum, and the solver's final gap, giving us a way to read the more specialized models that follow.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy