Mathematics · Article
Objectives, constraints and feasible solutions
Specify decisions, objectives, domains and uncertainty; prove exact reformulations and understand what a feasible candidate and valid bounds establish.
Back to MathematicsAfter reading, you can
- State decision variables, their domains, all constraints, objective units and the relevant uncertainty quantifiers.
- Distinguish feasibility, attained and unattained infima, local and global minima, strictness and uniqueness.
- Prove the conditions under which scaling, substitutions, slacks and epigraphs preserve decisions and values.
- Explain relaxation bounds, binary implications, robust constraints and distribution-dependent chance constraints.
- Compare Pareto efficiency, weighted costs, lexicographic priority and explicit tradeoff limits.
- Build conditional feasibility and objective-gap statements with the required conditioning, repair and model evidence.
Writing the decision problem
An optimization result begins with a decision problem: which quantities can change, which choices are allowed, and how their consequences are compared. A production plan, an engineering design and a fitted model can all produce an objective function, but that function does not supply missing units, constraints or preferences. The feasible set and the objective must be stated together before the meaning of an optimum can be assessed.
This lesson develops that language with complete examples. It separates a feasible point from a good one, an infimum from an attained minimum, and a local claim from a global comparison. It then proves when scaling, substitutions, slack variables and epigraphs preserve a problem. Discrete domains, uncertain coefficients and several competing costs show why a convenient algebraic change can also alter the intended decision.
The advanced sections connect formulation to sensitivity and evidence. A small residual may correspond to a large decision error, a finite penalty may still violate a hard equality, and regularization can choose a unique fit through added preference. Feasible upper values, valid lower bounds and explicit error assumptions can support a precise certificate. The following lessons develop linear programming, duality and convex optimality on this foundation.
Decisions, domains and a mathematical problem
A finite-dimensional minimization problem consists of a decision x in a declared domain X, a feasible subset F of X, and an objective f evaluated on the decisions being compared. A common presentation is minimize f(x) subject to g_i(x)<=0 and h_j(x)=0, together with x in X. Its feasible set is the intersection of those conditions. The domain can include integer, binary or categorical restrictions that are not visible in the displayed equations. Omitting such a domain changes the set over which the infimum is taken.
Separate parameters from decisions. In a production model, capacities, measured demands and cost coefficients may be supplied data, while production quantities are decisions. A forecasting rule for those inputs is another model, not an automatic constraint. If the same symbol is used both as a supplied parameter and as an adjustable variable, the resulting expression no longer says which quantities the optimizer may change. Writing the data and admissible decisions explicitly prevents an algorithm from improving an objective by altering something that was supposed to be fixed.
The feasible set answers which decisions satisfy the model; the objective orders those decisions according to the chosen criterion. Multiplying every monetary cost by a currency conversion preserves that order when the conversion is positive, whereas replacing cost by delivery time is a new preference. A mathematical optimizer can identify a minimum of the supplied criterion without establishing that the criterion captures all relevant consequences. This distinction matters in engineering, resource allocation and learning systems, where numerical accuracy and model adequacy answer different questions.
An algorithm is a method for exploring the declared problem. Its output does not define the missing feasible domain or validate the supplied data. A reproducible formulation therefore states variable units, domains, every constraint, objective meaning and the interpretation of a returned value. The following proofs analyze changes to that formulation by explicit set and order arguments. They do not assume that a solver label or a plotted candidate certifies equivalence, existence or desirability. For the related formulation and mathematical context, see [Optimization problems: definitions](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=141). The variables, their domains, the constraints and the criterion define the mathematical decision problem.
Feasibility before objective comparison
Let X be the declared decision domain and let the constraints be meaningful real-valued functions on their stated domains. Define F={x in X: g_i(x)<=0 for every i and h_j(x)=0 for every j}. A candidate is feasible only when it belongs to X and satisfies every condition. For example, satisfying a resource inequality at x=3/2 does not make that candidate feasible when X requires an integer. Constraints are combined by intersection, not by accepting an average or selecting only those that are convenient.
The objective also needs a domain. If f(x)=log(x), a nominal feasible point with x<=0 is not a valid point at which to compare real objective values. One may explicitly restrict to the effective objective domain, or use an extended-real formulation that assigns +infinity to excluded points. An implementation returning NaN is not an extra mathematical objective value. Every division, root and logarithm in a formulation must therefore retain the restrictions that make its intended interpretation defined.
For a minimization convention, define the infimum over an empty feasible set to be +infinity. This records infeasibility, not an attained finite solution. With an extended objective f: X->R union {+infinity}, its effective domain is where f is finite; a meaningful finite candidate must lie in F intersect dom(f). If that intersection is empty, there is no finite objective solution even when the displayed constraint set is nonempty. A proper extended objective is not identically +infinity and never takes -infinity; properness on the relevant feasible problem must not be presumed merely from a symbolic formula.
Feasibility and objective quality are separate tests. Two incompatible equalities can make F empty before the cost is inspected. Conversely, a feasible set can be large while the objective has no lower bound. These cases require different diagnoses and different corrections. Replacing an undefined or infeasible point by a convenient finite cost would silently alter the problem, so the formulation must expose rather than conceal those statuses. For the related formulation and mathematical context, see [Optimization problems: definitions](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=141); [Local minima and existence of solutions](https://ocw.mit.edu/courses/6-253-convex-analysis-and-optimization-spring-2012/69136e797daa75d9481c21d1f6b84a31_MIT6_253S12_lec05.pdf#page=11). Feasibility includes every expression’s domain and a finite objective value when a finite solution is claimed.
Value versus an attained minimum
For a nonempty feasible set with finite objective values at some points, write v=inf_{x in F} f(x). A minimizer is a feasible x_star with finite f(x_star)=v. The number v can be finite without any such point. For f(x)=x on F=(0, 1), every feasible value is positive and values approach zero, so v=0; no feasible x has value zero. A sequence approaching v is a minimizing sequence, not a minimizer.
If for every real M there is a feasible x with f(x)<M, then v=-infinity and the problem is unbounded below. Minimizing f(x)=x on R is an example. There is no finite point with objective -infinity. Under the empty-set convention v=+infinity instead signals infeasibility, or in an extended formulation the absence of any finite feasible value. These values encode different mathematical situations; a numerical failure message cannot identify them without further evidence.
A feasible candidate x_hat with finite cost U always proves v<=U. A separate valid lower bound L<=v then gives 0<=f(x_hat)-v<=U-L when v is finite. If the infimum is not attained, this still bounds the candidate's objective gap from the best limiting value. It does not manufacture an attained optimum. The bound also does not apply to a candidate that violates the original domain or constraints.
An epsilon-optimal candidate, for epsilon>=0, is a feasible point satisfying f(x)<=v+epsilon when that expression is meaningful. For the open-interval example, every epsilon>0 admits such points, but epsilon=0 admits none. Approximation can therefore be useful even without attainment, provided the status is stated honestly. A sequence of improving finite candidates alone neither proves a lower bound nor distinguishes a finite unattained infimum from divergence to -infinity. For the related formulation and mathematical context, see [Optimization problems: definitions](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=141). An infimum, an attained minimum, infeasibility and unboundedness have different definitions.
Relative local and global minima
Equip the finite-dimensional decision space with its usual norm. A feasible x_star is a local minimum if there exists r>0 such that f(x_star)<=f(x) for every feasible x with ||x-x_star||<r. The neighborhood is intersected with F. A global minimum satisfies the same comparison for every feasible x, without a radius restriction. Thus every global minimum is local, while a local conclusion ordinarily compares fewer decisions.
Strict local minimality replaces the comparison by f(x_star)<f(x) for every distinct feasible x sufficiently close to x_star. Strict global minimality uses that inequality for every distinct feasible x. For finite objective values, a unique global minimizer is exactly a strict global minimizer in this pointwise sense. Neither statement implies a uniform positive objective margin away from the point: values can approach the minimum arbitrarily closely along a converging sequence.
Locality depends on the feasible geometry. A point may minimize along a constraint curve while failing to minimize in the surrounding plane, because the off-curve directions are not available decisions. At a boundary, a decreasing direction outside F is likewise irrelevant to feasible local comparison. Differentiation in the ambient space is useful only when it is interpreted with those domain restrictions. General first-order constrained optimality conditions are developed later; they are not substitutes for this definition.
Strict local minima need not be global or unique among local minima. A constant objective on an interval makes every point both global and local, but none strict. An isolated feasible point satisfies the strict local inequality vacuously because no distinct feasible point occurs in a sufficiently small neighborhood. These examples show why any claim of a local, strict, unique or global optimum must name the exact property instead of treating the words as interchangeable. For the related formulation and mathematical context, see [Optimization problems: definitions](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=141); [Local minima and existence of solutions](https://ocw.mit.edu/courses/6-253-convex-analysis-and-optimization-spring-2012/69136e797daa75d9481c21d1f6b84a31_MIT6_253S12_lec05.pdf#page=11). Local neighborhoods are relative to the feasible set, and strictness is a separate property.
Isolated decisions and misleading local certificates
Suppose x_star is isolated in F: there is r>0 for which F intersect B(x_star, r)={x_star}. For any objective finite at x_star, the only feasible comparison in that ball is x_star itself, so the local-minimum inequality holds. The strict local definition also holds, because its comparisons require a distinct feasible point and there are none. This is a logical consequence of relative neighborhoods, not a quality estimate on the objective value.
Every point of a finite feasible set is isolated. If F={0, 2}, f(0)=5 and f(2)=1, both points are strict local minima by choosing radius less than 2, yet only 2 is a global minimum. The difference of four objective units is invisible to a neighborhood that contains no competing decision. A local certificate on a discrete domain can therefore be mathematically valid and practically uninformative about global quality.
For lattice decisions one often defines a separate neighborhood graph, such as changing one coordinate by one unit. A local search optimum relative to that graph is a different concept from a local minimum in the inherited Euclidean topology. Its usefulness depends on which moves the graph permits. Neither definition automatically compares every feasible integer assignment, and a failure to find an improving neighbor is not a proof that a distant feasible point is worse.
This does not make local reasoning useless. It identifies precisely the comparison it provides. To obtain a global objective certificate one needs an exhaustive argument, a valid lower bound, additional structural theory or another justified method. The formulation should distinguish the discrete domain, an algorithm's move neighborhood and the mathematical feasible-set topology so that a solver's local status is not silently promoted to global optimality. For the related formulation and mathematical context, see [Optimization problems: definitions](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=141). The isolated-point argument here shows why discrete local minimality alone can give no global comparison.
Compact feasible sets and existence
Let F be nonempty and compact in R^n and let f: F->R be continuous. First f is bounded below: if not, choose x_k in F with f(x_k)<=-k. Compactness gives a convergent subsequence with limit x_bar in F, and continuity would make its f-values converge to the finite number f(x_bar), contradicting divergence to -infinity. Hence v=inf_F f is a finite real number.
Choose a minimizing sequence x_k with f(x_k)<=v+1/k. A compact subsequence tends to x_star in F. Continuity gives f(x_star)=lim f(x_k)=v, so x_star is a global minimizer. In finite dimensions a closed and bounded feasible set is compact, but nonemptiness remains necessary. The proof supplies existence; it does not give a computational algorithm or a rate for finding x_star.
Each hypothesis has a role. On the bounded but nonclosed interval (0, 1), f(x)=x has no minimizer. On the closed unbounded set [0, infinity), f(x)=exp(-x) has finite infimum zero that is not attained. On compact [0, 1], define f(0)=1 and f(x)=x for x>0; discontinuity at zero again gives unattained infimum zero. These counterexamples do not contradict the theorem because they remove different required hypotheses.
Continuous x² increases on the nonnegative interval, giving the left-limit infimum. Compactness applies to the closed interval and to finite sets. An isolated feasible point is automatically relatively locally minimal because a small enough neighborhood contains no other feasible decision.
| Quantity | Exact result |
|---|---|
| Feasible set | (0,1] |
| Infimum | 0 |
| Global argmin | No global minimizer |
| Infimum attained | No |
| Existence fact | Not compact because 0 is a missing limit point |
| Relative local minima | None |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| domain | open-lower-interval |
| left | 0 |
| right | 1 |
Uniqueness requires more information. A constant function on a compact interval attains its minimum everywhere, and an objective with two equal wells may attain it at two distinct points. The theorem also assumes real objective values on F; extended values need a lower-semicontinuity version rather than an unqualified appeal to continuity. Existence, uniqueness and numerical conditioning should therefore remain separate conclusions in a formulation. For the related formulation and mathematical context, see [Local minima and existence of solutions](https://ocw.mit.edu/courses/6-253-convex-analysis-and-optimization-spring-2012/69136e797daa75d9481c21d1f6b84a31_MIT6_253S12_lec05.pdf#page=11). The compact-set existence proof retains nonemptiness, continuity and finite-dimensional compactness.
Closed level sets and coercive existence
A useful extension permits f to take +infinity but not -infinity. Let F be closed, let f restricted to F be lower semicontinuous, and assume there is a finite alpha for which K={x in F: f(x)<=alpha} is nonempty and compact. Lower semicontinuity means f(x)<=liminf f(x_k) whenever feasible x_k tends to x. It allows some upward jumps in nearby values but excludes an isolated value above its limiting competitors. The finite sublevel assumption guarantees at least one finite feasible candidate.
The infimum over K is finite below. Otherwise a sequence in K with values tending to -infinity would have a convergent subsequence in K, and lower semicontinuity would force its limit to have value -infinity, which is excluded. A minimizing sequence for f on K then has a convergent subsequence; lower semicontinuity shows that its limit achieves the infimum. Values outside K exceed alpha, while the achieved value on K is at most alpha. The same point therefore minimizes over all F.
Coercivity gives a common sufficient way to obtain such a K. Suppose f(x) tends to +infinity along feasible points whose norm tends to infinity, and suppose f has a finite feasible value. Its sublevel at that value is bounded by coercivity and closed by lower semicontinuity together with closed F, hence compact in finite dimension. The preceding argument supplies attainment. A continuous coercive real function on a nonempty closed feasible set is an important special case.
The conditions are relative to the actual domain. A symbolic quadratic term does not establish coercivity on a space with an unpenalized escaping direction, and an objective finite somewhere outside F does not provide a finite feasible point. Compactness of one suitable finite sublevel is sufficient even when F itself is unbounded. This is an existence argument only; it neither certifies uniqueness nor proves that a particular numerical iteration reaches the minimizer. For the related formulation and mathematical context, see [Local minima and existence of solutions](https://ocw.mit.edu/courses/6-253-convex-analysis-and-optimization-spring-2012/69136e797daa75d9481c21d1f6b84a31_MIT6_253S12_lec05.pdf#page=11). One nonempty finite compact sublevel suffices by the direct argument above, with properness and lower semicontinuity stated explicitly.
What existence hypotheses do not say
Sufficient existence conditions should not be mistaken for necessary ones. The continuous function f(x)=x^2/(1+x^2) on all of R attains its unique minimum zero at x=0, although its feasible set is not compact and f is not coercive: f tends to 1 at infinity rather than +infinity. A problem can therefore possess a well-defined optimum even when one convenient existence theorem does not apply.
Conversely, bounded feasible extent alone is insufficient. For F=(0, 1), the objective x has infimum zero without attainment, because the missing endpoint is exactly where the limiting value occurs. Closedness alone also does not suffice: exp(-x) on [0, infinity) approaches zero only along an escaping sequence. A finite lower bound is an objective-value fact and does not force a minimizing sequence to have a feasible limit.
Compactness and continuity do not establish uniqueness or a robust gap. On [-1, 1], the constant objective zero has an entire interval of minima. Even a unique minimizer can have arbitrarily flat growth, as x^4 near zero illustrates. A small objective gap then need not imply a correspondingly small decision error without a separate growth inequality. Existence and error conditioning use different assumptions.
The practical conclusion is to identify the actual route to each claim. A compact sublevel can establish attainment; a separate structural argument may establish uniqueness; a quantitative growth or inverse bound may control sensitivity. Failure of one sufficient condition is a reason to inspect another argument, not an automatic declaration of infeasibility or nonexistence. A reported optimum should preserve which of those claims has been proved and which remains unestablished. For the related formulation and mathematical context, see [Local minima and existence of solutions](https://ocw.mit.edu/courses/6-253-convex-analysis-and-optimization-spring-2012/69136e797daa75d9481c21d1f6b84a31_MIT6_253S12_lec05.pdf#page=11); [Avoiding ill-posed problems](https://docs.mosek.com/modeling-cookbook/practical.html#avoiding-ill-posed-problems). Existence, uniqueness and conditioning require their own evidence; failure of one sufficient condition is inconclusive.
Changing the objective without changing the decisions
Let f be finite on the feasible set F and let phi be strictly increasing on its actual range f(F). For any feasible x and y, f(x)<f(y) implies phi(f(x))<phi(f(y)), and the converse follows from strict increase and the total order on real values. Equal objective values also remain equal. Thus the two objectives induce exactly the same ordering of feasible decisions, not merely a similar shape near one candidate.
It follows that x_star minimizes f if and only if it minimizes phi composed with f. The same relative-neighborhood argument preserves local minima and their strictness. This statement does not require an attained minimum to exist in advance; if one problem has no minimizer, the other has none either under these hypotheses. A formula for the transformed infimum can need additional care when an unattained boundary value lies outside the range or phi is not continuous there, so preservation of argmin should not be enlarged into an unsupported limit formula.
A non-strict increasing transformation can add minimizers. On F=[0, 1], f(x)=x has the sole minimizer zero, while phi(t)=max(0, t-1/2) makes every x in [0, 1/2] optimal. A decreasing transformation reverses comparisons. A transformation also has to be defined: log(f(x)) is an equivalent real-valued objective only when all compared f-values are positive. Excluding a zero-cost optimum to make the logarithm evaluable would alter the domain and the problem.
Order equivalence does not preserve every analytical or numerical property. Squaring a nonnegative norm preserves its minimizing decisions but changes curvature, derivative magnitudes and units. A transformation may remove differentiability or change convexity. One should therefore state which property is being transported: the exact feasible ordering and argmin here, rather than an unchanged convergence rate, sensitivity measure or algorithmic behavior. For the related formulation and mathematical context, see [Equivalent optimization problems](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=144). Identical minimizing decisions require strict increase on the actual objective range and a defined transformation.
Maximization, signs and additive constants
For a finite objective f on F, maximizing f is exactly minimizing -f because f(x)>=f(y) if and only if -f(x)<=-f(y). If the maximum is attained, the same decisions attain the minimum of the negative objective. Supremum and infimum values are negatives under the corresponding extended-real conventions, while nonattainment remains nonattainment. Reversing the objective sign without reversing the intended optimization direction would instead seek the opposite preference.
For any a>0 and real b, f_new(x)=a*f(x)+b preserves comparisons and all global minimizers. If the infimum is finite, its value changes to a*v+b. A currency conversion is a positive scaling, and subtracting a fixed baseline is an additive constant; neither changes the exact decision. A negative a reverses the ordering, and a=0 makes every feasible decision tie, so those cases are not minimization equivalences of the same kind.
The constants must be independent of the decision. Replacing b by a variable-dependent cost is a new objective term, and dividing by a denominator that depends on x can change the ranking even if that denominator stays positive. For instance, minimizing total cost and minimizing cost per delivered unit are different models when the delivered amount is adjustable. The word normalization is not by itself a proof that such a change preserves minimizers.
Objective values and tolerances retain their units. Scaling dollars to cents multiplies an absolute optimality gap by 100. A fixed solver tolerance with the same numerical value then expresses a different requirement. Adding quantities with different physical dimensions requires conversion or preference weights that give the terms compatible objective units. Exact argmin invariance does not justify ignoring those units in a reported certificate. For the related formulation and mathematical context, see [Optimization problems: definitions](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=141); [Equivalent optimization problems](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=144). A positive constant scale preserves order, while a decision-dependent normalization can change the objective.
Variable coordinates and dimensional consistency
Let x=T(z)=D*z+c be an invertible affine change of coordinates, with nonsingular D. Define F_z={z: T(z) is in F} and f_z(z)=f(T(z)). Every feasible x corresponds to exactly one feasible z=T^(-1)(x), and the two objective values are identical. Therefore the feasible-value sets, infima and attained minimizers correspond exactly. Invertibility is what supplies both coverage and a unique coordinate representation.
All constraints must be transformed with the same substitution. An equality h(x)=0 becomes h(D*z+c)=0; an inequality is treated likewise, and the original domain X becomes T^(-1)(X). If an integer variable is rescaled, the resulting allowed grid must also be rescaled. Replacing that transformed grid by all integers or all real numbers without justification would change the domain even though the algebraic expressions were substituted correctly.
Physical units distinguish coordinate values from physical quantities. If x is a length with numerical value in metres and z=100*x is its numerical value in centimetres, a term k*x^2 becomes (k/10000)*z^2 in the same cost unit. Offsets must have the same physical dimension as the quantity they shift. A sum such as distance plus energy has no fixed physical meaning until conversion or preference weights assign compatible objective units.
Coordinate changes can improve numerical conditioning by making typical magnitudes comparable, but exact equivalence alone does not prove improved computation. Distances, derivative norms and absolute tolerances change with D. A step of one coordinate unit or a residual of one unit can mean something very different before and after scaling. Any sensitivity or numerical-feasibility statement must therefore specify its coordinates and metric in addition to the transported mathematical problem. For the related formulation and mathematical context, see [Equivalent optimization problems](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=144); [Scaling optimization models](https://docs.mosek.com/modeling-cookbook/practical.html#scaling). A coordinate substitution must transport the complete domain, units, constraints and objective consistently.
Scaling constraints and interpreting residuals
For a constant s>0, the inequality g(x)<=0 is equivalent to s*g(x)<=0 because multiplication preserves the order on real numbers. If s<0 the equivalent inequality is s*g(x)>=0, not <=0. If s=0, the displayed inequality becomes 0<=0 and discards the original restriction. An equality h(x)=0 is preserved by any nonzero scalar, but a zero multiplier again erases information.
The numerical residual changes under a valid positive scaling. At a fixed candidate, the positive violation max(g(x), 0) is multiplied by s, although the exact feasible set stays the same. A tolerance max(g(x), 0)<=epsilon and the numerically identical tolerance on s*g therefore allow different violations unless epsilon is scaled too. An apparently smaller raw residual can be produced simply by choosing a smaller s; it is not evidence of a closer decision.
One can divide constraints by stated positive reference scales to form dimensionless residuals. For example, a capacity violation in tonnes and an equality error in currency cannot be compared as raw numbers without a convention. The chosen scale should state what physical or numerical discrepancy one unit represents. Such a convention helps interpretation but still does not prove a bound on distance to the feasible set or on objective quality.
Pointwise exact equivalence is thus simpler than numerical certification. The domain of each function must remain defined, signs must be retained, and an approximate statement must carry its scaling rule. Later sensitivity arguments can relate residuals to decision errors when an actual inverse or error bound is known. No such universal bound follows merely from rewriting an equivalent inequality with different coefficients. For the related formulation and mathematical context, see [Equivalent optimization problems](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=144); [Scaling optimization models](https://docs.mosek.com/modeling-cookbook/practical.html#scaling). Exact feasible-set scaling and approximate residual tolerances obey different comparison rules.
Eliminating equalities without losing branches
Suppose an equality-constrained feasible set admits a parameterization x=T(z) whose image is exactly that set, after any remaining constraints are imposed on z. Minimizing f(T(z)) then has the same attainable objective values as minimizing f(x) over the original set, since every original decision is represented and every parameter maps to a valid decision. Injectivity is not necessary for values or for mapping minimizers forward, although redundant parameters can make uniqueness in z differ from uniqueness in x.
The proof of equivalence requires both directions. If the image omits feasible x-values, the reduced problem is a restriction and can lose a better optimum. If it includes points violating the original equality, it is a relaxation and may give an unrealistically low value. Solving one equation algebraically is not enough until exceptional denominators, square-root signs and parameter bounds have been checked against the complete original set.
For xy=0 on [-1, 1]^2, dividing by x to obtain y=0 assumes x is nonzero and loses the entire branch x=0 with arbitrary allowed y. The point (0, 1) is an explicit lost decision. For y^2=x with 0<=x<=4, the parameterization (x, y)=(t^2, t), -2<=t<=2 covers both branches, whereas y=sqrt(x) alone omits all negative y. Neither omitted branch can be discarded merely because one algebraic expression is easier to evaluate.
Because x² is nonnegative, a negative right-hand side is inconsistent. For positive a, taking the nonnegative square root alone loses the negative branch. At a=0 the two algebraic signs give the same feasible point. The original objective is evaluated only on the surviving decisions.
| Quantity | Exact result |
|---|---|
| Feasible x | -2, 2 |
| Values of c x in the listed order | -6, 6 |
| Global minimizing x | -2 |
| Minimum objective | -6 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| a | 4 |
| c | 3 |
A correct reduction can simplify a problem and make equality feasibility exact in its coordinates. It can also introduce nonlinear constraints or redundant representations, so algorithmic difficulty need not decrease. Any practical substitution should preserve its map, inverse or coverage argument, all transformed domains and the rule for returning a decision to original units. That evidence establishes an equivalent formulation without presuming a particular numerical method. For the related formulation and mathematical context, see [Equivalent optimization problems](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=144). A reduced parameterization must cover every original feasible branch and introduce no false decision.
Slack variables and their domain
Let g be real-valued on the intended decision domain. The inequality g(x)<=0 is equivalent to the existence of a slack s>=0 satisfying g(x)+s=0. In the forward direction choose s=-g(x), which is nonnegative. In the reverse direction the equality gives g(x)=-s<=0. In fact the slack is unique for each feasible x, so this particular augmentation has a simple one-to-one correspondence with original feasible decisions.
If the objective remains f(x), independent of s, this correspondence preserves all attainable costs, infima and minimizers. Multiple inequalities can be treated with separate componentwise nonnegative slacks. The slack has the same unit as g. If a dimensionless standard form is desired, the constraint must first be scaled consistently rather than adding a unitless variable to a dimensional expression.
Dropping the sign requirement destroys the reverse implication. For x<=1, the correct equality is x+s=1 with s>=0. If s is unrestricted, the infeasible original point x=2 can be accompanied by s=-1 and satisfy the equality. A strict inequality x<1 would instead require s>0; replacing it by nonnegative slack includes the endpoint and can change attainment.
Adding a cost or penalty on s is another change. It may encode a preference for unused capacity or for constraint violation, but it is no longer simply the original objective written with an auxiliary variable. Feasibility slacks that remain nonnegative differ from artificial violation variables permitted to absorb infeasibility. Each auxiliary variable therefore needs a declared domain and an explicit statement of whether it represents the same feasible problem or a softened one. For the related formulation and mathematical context, see [Equivalent optimization problems](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=144). The slack sign and the unchanged objective are essential to this equivalence.
An epigraph for a maximum of costs
Let f_1, ..., f_m be finite real costs on the same feasible domain F, with m>=1, and define phi(x)=max_j f_j(x). Introduce t and constraints f_j(x)<=t for every j, then minimize t over x in F. For any fixed x the smallest allowed t is exactly phi(x). This observation establishes the epigraph formulation point by point, without assuming convexity of the individual functions.
Every feasible pair (x, t) has t>=phi(x), so the epigraph infimum cannot be lower than inf_F phi. Conversely, for every original feasible x the pair (x, phi(x)) is epigraph-feasible with the same cost. Taking infima in that direction gives the reverse inequality. The optimal values are therefore identical, including the possibility of an unbounded value or an unattained finite infimum under the stated conventions.
If x_star attains the original finite minimum, (x_star, phi(x_star)) attains the epigraph minimum. If a pair (x_star, t_star) is an epigraph minimum, it must have t_star=phi(x_star); otherwise reducing t to phi(x_star) keeps feasibility and strictly improves the objective. Its x-coordinate is consequently an original minimizer. This gives the exact minimizer correspondence and shows that an auxiliary t does not fix a pre-existing nonattainment problem.
The constraint t must have the same unit as all costs f_j, or those costs must first be converted into a compatible common criterion. Minimizing the worst of several quantities with different units implicitly chooses scales or preferences. Replacing the objective t by a zero coefficient, allowing only some of the epigraph inequalities, or changing the underlying domain invalidates the preceding pointwise argument. The equivalence belongs to the full stated formulation. For the related formulation and mathematical context, see [Equivalent optimization problems](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=144). The epigraph proof compares values at each fixed decision and retains the original attainment status.
Absolute values and positive epigraph weights
For a real residual r(x), the two inequalities t>=r(x) and t>=-r(x) are equivalent to t>=|r(x)|. With a positive weight w>0, minimizing w*t for fixed x therefore selects t=|r(x)|. For several residuals and strictly positive weights, minimizing sum_i w_i*t_i subject to all two-sided inequalities has the same value at each x as sum_i w_i*|r_i(x)|. This proves exact value and decision equivalence before any algorithm is selected.
At a finite optimum every positively weighted t_i must be tight. If one exceeded its absolute residual, decreasing only that t_i would preserve feasibility and strictly improve the objective. Thus optimal auxiliary variables have their intended interpretation under these hypotheses. If the residuals are affine and the remaining domain and constraints are linear, the displayed inequalities and objective form a linear programming formulation, whose duality and algorithms are treated in the next lesson.
A zero weight does not require the corresponding auxiliary variable to be tight. It may remain arbitrarily above its residual without changing the cost. The projected x-problem still matches the original objective with that zero term, but claiming every t_i equals an absolute value would be false. With a negative weight and no upper bound on t_i, the epigraph formulation is unbounded below by increasing t_i, even when the original negative-absolute-value problem on a bounded x-domain has a finite optimum.
The objective weights also carry meaning and units. A weight can convert a residual unit into a common cost or express an explicit preference, but it should not be introduced merely to make numerical coefficients similar without acknowledging the changed criterion. Two-sided constraints represent absolute magnitude exactly; a penalty, missing sign bound or altered weight can instead define another model. The pointwise fixed-x argument is a direct way to check which case applies. For the related formulation and mathematical context, see [Equivalent optimization problems](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=144). Positive auxiliary weights force tightness; zero and negative weights need their stated qualifications.
Norms, squares and data fitting
A norm is nonnegative, and the map t->t^2 is strictly increasing on [0, infinity). Therefore minimizing ||r(x)|| over a fixed feasible set has exactly the same minimizers as minimizing ||r(x)||^2, for the same residual map and the same norm. A nonattained optimum remains nonattained. The equivalence is an order argument; it does not require differentiating the norm or assuming that r is linear.
Changing the norm is a different operation. For fitting one number x to observations 0, 0, 3, the absolute residual sum 2*|x|+|x-3| is minimized at the median x=0. The squared Euclidean residual sum 2*x^2+(x-3)^2=3*(x-1)^2+6 is minimized at x=1. Squaring the Euclidean norm preserves its own minimizer, but replacing an L1 criterion by an L2 criterion need not. The residual weighting and the treatment of outliers express modeling choices.
A residual must be defined before its norm is meaningful. Components with different units need explicit conversion or weighting to enter a common norm. A weight interpreted as an inverse noise scale also carries assumptions about the data model; its numerical convenience does not establish that interpretation. In an inverse problem, different decisions can produce the same residual, so minimizing the residual does not automatically establish unique parameter identification.
Squaring changes objective units from residual units to their square and changes the meaning of an absolute objective gap. It can remove a square root and simplify derivatives, but it can also alter curvature and numerical conditioning. Any additional regularizer must have a compatible coefficient if the original fit is replaced by its square. The exact argmin statement applies only when the complete objective is transformed consistently, not when one term of a weighted sum is altered in isolation. For the related formulation and mathematical context, see [Equivalent optimization problems](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=144). Squaring preserves the order of the same nonnegative norm, while changing norms or relative weights can change the fit.
A relaxation is a bound, not an integer decision
Let F be the original feasible set and R a relaxation with F contained in R, and keep the same objective f. Every original feasible value is also available in the relaxed problem, so inf_R f<=inf_F f. For minimization, the relaxation therefore supplies a lower bound on the original optimal value. For maximization the corresponding inequality is reversed. This set-inclusion proof does not require convexity or an attained optimum.
For example, minimize x subject to x>=3/2 and x integer. The original feasible values begin at 2, so its optimum is 2. Dropping integrality gives a real feasible ray starting at 3/2 and optimum 3/2, a valid lower bound with gap 1/2. The relaxed optimizer is not itself an original decision. Rounding it is another operation that must preserve all original constraints; with coupled constraints, rounding coordinates independently can destroy feasibility.
If a relaxed global optimizer happens to satisfy every original constraint and domain restriction, it is an original global optimizer: its cost is both a lower bound and an achieved feasible upper bound. In contrast, the cost of an arbitrary feasible relaxed candidate is generally an upper bound for the relaxed infimum, not a proved lower bound for the original one. A valid lower bound needs an exact relaxation optimum or a separate certified bound for it; a solver's returned candidate alone does not provide that argument.
The continuous region adds possible decisions to the integer region, giving an upper bound for maximization. Fill the higher value-per-resource item up to one and then spend any available resource on the lower-ratio item. Separately enumerate the four binary choices to verify the actual integer optimizer.
| Quantity | Exact result |
|---|---|
| Feasible binary decisions | (0,0), (0,1), (1,0) |
| Optimal binary decision / value | (0,1) / 4 |
| Optimal continuous decision / value | (1, 1/3) / 13/3 |
| Fractional bound minus binary optimum | 1/3 |
| Relaxed optimizer admissible as binary | No |
| Value per resource | (3/2, 4/3) |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| p | [3,4] |
| w | [2,3] |
| W | 3 |
A feasible relaxation does not prove original feasibility, and an unbounded relaxation does not necessarily prove the original problem unbounded. If the relaxation is infeasible, set inclusion does imply that the original set is empty. These one-way implications should be retained when interpreting computational statuses. The later linear and integer optimization lessons develop stronger bounds and algorithms; the formulation principle here is the exact inclusion and its direction. For the related formulation and mathematical context, see [Integer modeling](https://docs.mosek.com/modeling-cookbook/mio.html#integer-modeling); [Optimization problems: definitions](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=141). A relaxation gives its bound through set inclusion, and a relaxed candidate still needs its original domain check.
Logical implications and a valid big M
Let x lie in a known domain X and let z be binary. The implication z=1=>g(x)<=0 places no restriction from g when z=0. Suppose there is a finite M>=max(0, sup_{x in X} g(x)). Then g(x)<=M*(1-z), together with the original domain and binary restriction, is an exact representation. At z=1 it imposes g(x)<=0; at z=0 it imposes only g(x)<=M, already true throughout X.
Both branches are needed in the proof. If M is smaller than a possible g-value on the inactive branch, the formulation removes valid original decisions with z=0. If sup_X g is infinite, no finite M of this form can make the inactive inequality redundant on all X. Additional valid bounds or another logical formulation are then needed. A phrase such as sufficiently large does not establish the missing finite bound.
Replacing the binary restriction by 0<=z<=1 gives a continuous relaxation. For nonnegative M values, increasing M enlarges or preserves that relaxed feasible set because 1-z>=0. Thus a larger valid M can weaken a minimization lower bound while leaving the binary feasible decisions unchanged. Its effect on actual numerical conditioning still depends on the other scales and representation, so the set argument alone is not a quantitative floating-point analysis.
M has the same unit as g, since z is dimensionless. It should be obtained from the actual variable domain, not from an unbounded mathematical expression whose observed sample values happen to be small. Indicator constraints supported by a solver may use another representation internally, but their intended logical semantics still need the same clear domain and branch meaning. An exact formulation and a useful relaxation are related but distinct requirements. For the related formulation and mathematical context, see [Indicator constraints](https://docs.mosek.com/modeling-cookbook/mio.html#indicator-constraints); [Scaling optimization models](https://docs.mosek.com/modeling-cookbook/practical.html#scaling). The inactive branch needs a proved finite bound; a large numerical constant is not that proof.
A complete big-M example
Take 0<=x<=5 and z in {0, 1}, with the intended implication z=1=>x<=2. Write g(x)=x-2. Its largest value on the stated domain is 3, attained at x=5, so M=3 is a valid finite bound. The inequality x<=2+3*(1-z) imposes x<=2 when z=1 and x<=5 when z=0. The latter is exactly the already declared upper bound.
With M=2, the inactive branch instead imposes x<=4. The original decision (x, z)=(5, 0) satisfies the implication because its antecedent is false, but it violates that smaller-M inequality. Thus the undersized formulation is not equivalent. This failure is established by an explicit point rather than by a solver outcome.
With M=100, both binary branches remain correct, but the relaxation is weaker. At x=5 the inequality becomes 5<=2+100*(1-z), so it permits z<=97/100. In particular (5, 1/2) is relaxed-feasible. For M=3 at the same x it gives z<=0, so that fractional point is excluded. This demonstrates a difference between relaxed sets without changing any valid original binary point.
The number 3 follows from the actual bounds and has the same unit as x. If the upper bound changes, it must be recalculated. The example does not assert that every smallest valid M produces an ideal relaxation or that a larger M always causes a numerical failure. It proves the exact branch equivalence, the invalid truncation at M=2 and one concrete weakening of the continuous relaxation at M=100. For the related formulation and mathematical context, see [Indicator constraints](https://docs.mosek.com/modeling-cookbook/mio.html#indicator-constraints). The exact bound in this example follows from the declared interval, with the fractional relaxation checked separately.
Uncertain parameters and robust feasibility
A robust inequality has a quantifier: choose x so that g(x, delta)<=0 for every delta in a stated uncertainty set U. It is not the constraint at a single nominal delta, nor a condition checked only on a few sampled scenarios unless those samples exhaust U or another proof covers it. The decision is chosen before the uncertain parameter is revealed. A policy x(delta) that may adapt after revelation defines a different decision problem.
For independent interval bounds |delta_i|<=rho_i with rho_i>=0, suppose g(x, delta)=g0(x)+sum_i delta_i*a_i(x). At any fixed x, each summand is at most rho_i*|a_i(x)|. Equality in all summands can be achieved simultaneously by choosing delta_i=rho_i*sign(a_i(x)), with any allowed sign at zero. Therefore sup_U g=g0(x)+sum_i rho_i*|a_i(x)|, giving an exact robust counterpart for this box.
If x components are nonnegative and uncertainty enters as uncertain positive resource coefficients, the worst resource use often occurs at each coefficient's upper endpoint. Without nonnegativity that shortcut can fail; the absolute-value formula retains the sign correctly. Correlated uncertainty or a budget limiting simultaneous perturbations is not the same box, so summing all independent worst deviations may be conservative for that different set rather than exact.
For fixed x, ax+offset is affine in a. A positive slope maximizes at the upper endpoint, a negative slope at the lower endpoint, and slope zero gives a constant. Nominal feasibility uses one selected coefficient; robust feasibility requires the inequality throughout the interval.
| Quantity | Exact result |
|---|---|
| Nominal coefficient | 2 |
| Nominal left side | 4 |
| Nominal status | Feasible |
| Worst coefficient or tie | 3 |
| Worst left side | 6 |
| Robust status | Infeasible |
| Uncertainty support maxₐ(a·x) | 6 |
| Added fixed offset | 0 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| lo | 1 |
| hi | 3 |
| x | 2 |
| offset | 0 |
| b | 5 |
Robust feasibility is conditional on the uncertainty set actually containing the relevant possibilities. It gives no probability by itself and does not establish that the set was estimated accurately. Units remain attached to the coefficient perturbations and decision quantities so that every term has the constraint's unit. Robust objective costs and adjustable robust decisions need their own definitions; the displayed worst-case affine inequality proves only the specified fixed-decision box result. For the related formulation and mathematical context, see [Robust and random constraints](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=171). The robust quantifier is universal, and the box support formula above is derived for that specific uncertainty set.
Nominal, worst-case and expected costs
A nominal objective uses one specified parameter theta0: minimize f(x, theta0). A worst-case objective minimizes sup_{theta in U} f(x, theta). An expected objective minimizes E[f(x, Theta)] under an actual probability law, assuming the expectation is defined in the intended sense. These are different functions of x and need not rank decisions in the same way. The uncertainty set does not by itself determine a probability law or a distinguished nominal point.
For a fixed x and integrable cost under a law supported in U, inf_U f(x, theta)<=E[f(x, Theta)]<=sup_U f(x, theta). This bounds values at that decision; it does not make the minimizing decisions coincide. If the feasible set is shared, minimizing the worst-case objective has value at least the minimum expected value under those assumptions. Comparing numerical values still requires the same cost units and consistent feasibility conditions.
As a concrete distinction, let action A cost 0 or 10 with equal probabilities, while action B always costs 6. Expected cost selects A because 5<6, but worst-case cost selects B because 6<10. A nominal evaluation at the zero-cost state also selects A; a nominal evaluation at the high-cost state selects B. None of these calculations proves that a particular preference is universally correct without stating how uncertainty and risk are to be valued.
For an affine random coefficient, expectation can sometimes be moved through a finite linear expression under integrability, but a nonlinear maximum or reciprocal generally requires its own calculation. Replacing uncertain constraints by constraints at expected data is yet another change and can fail to control violations. A formulation should therefore name the criterion, parameter information and probability assumptions explicitly rather than use uncertainty as a single interchangeable label. For the related formulation and mathematical context, see [Robust and random constraints](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=171). A nominal parameter, a supported probability law and a worst-case set define different criteria.
Chance constraints require a probability model
A chance constraint P(g(x, Theta)<=0)>=1-alpha, with 0<=alpha<=1, is defined under a specified probability distribution for Theta. For finitely many scenarios theta_j with probabilities p_j>=0 summing to one, it becomes sum_j p_j*1_{g(x, theta_j)<=0}>=1-alpha. The indicator includes equality under the stated non-strict constraint. A list of scenarios without their weights does not supply the probability statement.
Robust feasibility asks for the inequality at every allowed scenario. It implies the chance constraint for any probability supported on that set, but the converse can fail when a small-probability scenario may be violated. For a finite set of strictly positive-probability scenarios and alpha=0, probability one requires every scenario, so the two coincide there. With zero-probability scenarios or more general spaces, a probability-one statement can ignore events that a literal universal quantifier still includes.
For example, capacity is 4 with probability 3/4 and 8 with probability 1/4, and x>=0 must satisfy P(x<=C)>=4/5. Every x<=4 succeeds with probability one. For 4<x<=8 the success probability is only 1/4, and for x>8 it is zero. Thus the feasible set is [0, 4]. The expected capacity is 5, but using x<=5 would allow a decision whose actual success probability is only 1/4, far below the required 4/5.
The conclusion depends on the stated distribution and event, not on a sample's apparent frequency or an uncertainty-set midpoint. Statistical estimation of the probabilities and dependence between several constraints need separate evidence. Requiring a chance level for each individual constraint also does not automatically give the same level for their joint satisfaction. A chance constraint is therefore a precise probabilistic modeling choice, not a softened universal guarantee whose confidence can be assumed. For the related formulation and mathematical context, see [Robust and random constraints](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=171). A chance constraint requires the actual distribution and event, including equality and dependence conventions.
The Pareto order
For a vector cost f(x)=(f1(x), ..., fm(x)) to be minimized, say a feasible y dominates x when f_j(y)<=f_j(x) for every j and at least one inequality is strict. A feasible x is Pareto efficient if no feasible y dominates it. This order compares cost vectors component by component. It does not declare two incomparable vectors equal, nor select a single best tradeoff among them.
For example, cost pairs (0, 2) and (2, 0) are incomparable because each improves one coordinate while worsening the other. Both can be efficient even though a preference for one coordinate would select only one. A pair (1, 3) is dominated by (0, 2), so it is inefficient regardless of any strictly increasing preference in both coordinates. The component units can differ because the comparison is coordinatewise; adding those coordinates would require additional weights or conversions.
On a finite nonempty feasible set with finite costs, at least one efficient point exists. Starting at any point, move to a dominating point whenever one exists. Strict dominance cannot cycle: along a chain no coordinate increases, and at least one decreases at each move, so returning to the same cost vector is impossible. A finite set forces the chain to terminate at an efficient point. On an infinite set efficiency need not be attained; for costs (x, x) with x in (0, 1), every point is dominated by x/2.
Weak efficiency uses a different exclusion, namely that no other decision strictly improves every coordinate, and is a weaker property than the Pareto definition above. Equal cost vectors at different decisions also require care when speaking of unique choices. A multiobjective formulation should state its order and any later preference rule explicitly, keeping efficiency separate from scalar optimality and from the empirical adequacy of the individual cost models. For the related formulation and mathematical context, see [Pareto values and scalarization](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=191). Efficiency compares costs componentwise and generally leaves a set of incomparable choices.
Positive weighted sums and unsupported efficient points
Let all weights w_j be strictly positive, and let x_star globally minimize sum_j w_j*f_j(x) over the original feasible set. If a feasible y dominated x_star, every weighted cost difference would be nonpositive and at least one would be strictly negative. Their finite sum would be negative, contradicting global minimality. Thus every such weighted-sum minimizer is Pareto efficient. A merely local weighted optimum does not provide the same global dominance exclusion.
The reverse statement fails without additional structure. Consider the three attainable cost pairs A=(0, 2), B=(1, 3/2), C=(2, 0). No pair dominates another, so all three are efficient. To make B minimize a strictly positive weighted sum would require w1+(3/2)*w2<=2*w2 and w1+(3/2)*w2<=2*w1. These imply w1<=w2/2 and w1>=3*w2/2, impossible for w2>0. The efficient point B is unsupported by those weighted sums.
The endpoints can be selected: w1=2, w2=1 gives A cost 2, B cost 7/2 and C cost 4, while w1=1, w2=2 gives C cost 2 and both other costs 4. This proves that the failure at B is not the absence of any useful scalarization. It reflects the nonconvex attainable cost geometry. More general supporting results require their own hypotheses and are not inferred here from a picture or a finite sample of weights.
Each point improves one objective and worsens the other relative to the remaining points, so none dominates another. For scalarization compare the two affine weight inequalities that make B no larger than A and C. An ε-constraint restricts the first component explicitly and can select unsupported Pareto points.
| Quantity | Exact result |
|---|---|
| Pareto-efficient pairs | A, B, C |
| Weights λ for B to minimize | Empty |
| Ties | A and C tie at λ=1/2, with value 2. B then has value 5/2. |
| ε-constraint choice | With f₁≤2, minimize f₂ and choose B with f₂=3. |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| points | [[0,4],[2,3],[4,0]] |
Zero weights weaken the efficiency guarantee. With pairs (0, 1) and (0, 2), minimizing the first coordinate alone can return the dominated second pair because both tie at zero. Negative weights can actively reward a worse cost coordinate. Weights also convert units and encode preferences, so they should be explicit rather than presented as a neutral consequence of the data. A weighted sum is one decision rule, not a complete representation of every possible efficient tradeoff. For the related formulation and mathematical context, see [Pareto values and scalarization](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=191). Strictly positive scalarization certifies efficiency, while nonconvex efficient points can remain unsupported.
Lexicographic and epsilon-constraint choices
Lexicographic minimization gives an ordered priority list. First minimize f1 over F and retain the decisions attaining its minimum v1. Then minimize f2 over that retained set, and continue through the declared objectives. When every stage attains a finite minimum, any final decision is lexicographically optimal. If F is compact and all costs are continuous, each successive minimum set is nonempty and compact, so this finite construction is justified.
The attainment condition matters. If the first cost is x on (0, 1), its infimum zero is unattained and there is no exact first-stage minimum set for the next objective. An epsilon-priority convention could still be defined, but it is another rule. Likewise, a finite large weight is not universally equivalent to exact lexicographic priority on a continuous domain. On [0, 1], costs f1=x and f2=-sqrt(x) select x=0 lexicographically, whereas M*x-sqrt(x) has a positive minimizer for every finite M>0.
An epsilon-constraint formulation minimizes f1 subject to the original constraints and f_j<=epsilon_j for j>=2. If x_star is Pareto efficient, choosing epsilon_j=f_j(x_star) makes x_star a global minimizer of that constrained f1 problem: a strictly better f1 with all other costs no worse would dominate it. This establishes a way an efficient decision can be represented, without asserting uniqueness or that every arbitrary choice of epsilon is feasible or attained.
Conversely, an arbitrary optimizer of the epsilon problem can remain dominated by a decision with the same first cost and smaller secondary costs. A complete lexicographic tie-break among the remaining costs removes that possibility when its stages attain. Preferences, bounds and tie conventions therefore belong to the formulation. Neither a scalar weight nor a priority rule should be treated as a fact supplied automatically by scientific measurements. For the related formulation and mathematical context, see [Pareto values and scalarization](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=191). The priority and epsilon-constraint arguments here retain attainment and tie conditions as explicit preferences.
Approximate objective value and an available certificate
For minimization with finite infimum v, a verified feasible incumbent x_hat of cost U gives v<=U. A valid lower bound L<=v yields the certificate 0<=U-v<=U-L. The right side is an upper bound on the incumbent's objective gap, not necessarily the exact gap. A lower bound may come from a proved relaxation optimum, a dual argument or another valid inequality, but it must be justified independently of the incumbent's existence.
If U=L, the feasible incumbent is globally optimal and its existence supplies attainment. If U>L, the certificate can still be useful even when the true infimum is not attained. An infeasible point cannot serve as the incumbent merely because its objective is low. Similarly, a numerical objective at an uncertified relaxed candidate is not automatically a lower bound for the original problem. The direction and provenance of each inequality matter.
A small objective gap does not generally imply small distance to an optimal decision. For f(x)=x^2/(1+x^4) on R, the sole zero and global minimizer is x=0, yet f(x) tends to zero as |x| tends to infinity. Arbitrarily distant candidates can therefore have arbitrarily small positive gaps. A quantitative decision-error conclusion needs a separate growth or conditioning bound and, when relevant, a convention for multiple minimizers.
The certificate belongs to the chosen model and objective units. A relative gap requires an explicitly selected denominator and needs care near zero or under added objective constants. Translating a model gap into a physical performance gap needs an independent comparison between the modeled and actual objectives on the same feasible decisions. The gap arithmetic does not verify data quality, feasibility under an altered model or the user's preference for that objective. For the related formulation and mathematical context, see [Optimization problems: definitions](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=141); [The quality of a solution](https://docs.mosek.com/modeling-cookbook/practical.html#the-quality-of-a-solution). A verified feasible upper value and a valid lower bound certify a modeled gap, with their directions intact.
Numerical feasibility in scaled coordinates
For inequality residuals g_i and equality residuals h_j, choose stated positive reference scales s_i and t_j with their respective units. A dimensionless numerical violation measure can be max_i max(g_i(x), 0)/s_i together with max_j |h_j(x)|/t_j. For an empty constraint family, take its maximum violation to be 0. A tolerance tau then states that those scaled violations are at most tau. Unless tau=0 and the evaluations are exact, this is approximate feasibility rather than the exact conditions g_i<=0 and h_j=0.
Scaling a constraint and its reference scale by the same positive factor preserves that numerical criterion; scaling only its formula does not. Integer or binary membership also needs a declared check. A value near an integer can be rounded, but the rounded decision must then satisfy all original coupled constraints and have its objective reevaluated. Near-integrality alone is not a repair certificate.
Function-evaluation error can be incorporated if an actual bound is available. If the computed inequality value is g_tilde and |g-g_tilde|<=eta, then g_tilde<=-eta certifies g<=0. A computed equality value near zero with an error interval containing zero does not certify that this particular point has exact h=0. An exact parameterization, symbolic relation or separate existence argument may establish a different stronger statement, but a floating tolerance by itself does not.
The violation norm does not automatically bound distance to F. Constraint conditioning and geometry determine that relation, as the following linear and nonlinear examples show. A solver status can therefore be reported as feasible within the declared numerical tolerance while exact feasibility remains a separate mathematical assertion. Preserving the units, reference scales and evaluation bounds makes that distinction meaningful instead of turning a small displayed number into an unsupported universal guarantee. For the related formulation and mathematical context, see [The quality of a solution](https://docs.mosek.com/modeling-cookbook/practical.html#the-quality-of-a-solution); [Scaling optimization models](https://docs.mosek.com/modeling-cookbook/practical.html#scaling). Numerical tolerance is an approximate statement in specified coordinates, units and evaluation accuracy.
Conditioning of equality feasibility
For epsilon nonzero, the equality epsilon*x=1 has the unique feasible point x_star=1/epsilon. At a candidate x_hat its signed residual is r=epsilon*x_hat-1. Rearrangement gives x_hat-x_star=r/epsilon, so the exact distance is |r|/|epsilon|. The residual-to-decision conversion is controlled by the inverse coefficient, not by the residual alone.
With epsilon=10^(-6) and x_hat=999999, the exact point is 1000000. The residual is 999999/1000000-1=-10^(-6), yet the decision error is 1. Multiplying the equation by 10^6 makes its residual magnitude numerically 1 without changing the feasible point. This illustrates both conditioning and residual scaling, and shows why an absolute feasibility tolerance needs declared units and normalization.
A consistent linear system with full column rank has an analogous quantitative bound. If A*x_star=b and the smallest singular value is sigma_min>0, then ||A*(x_hat-x_star)||>=sigma_min*||x_hat-x_star||, giving decision error at most ||A*x_hat-b||/sigma_min. This uses actual rank, consistency and a singular-value bound in the chosen norms. With a nullspace, the distance is to a feasible affine set rather than necessarily to one unique decision.
Without consistency even the target set can be empty, so a residual cannot certify a nearby feasible point merely by being small. Without a positive inverse bound, the conversion factor can become arbitrarily large. The example is therefore a reason to retain conditioning evidence, not a rule that every equality is poorly behaved. Later numerical methods can improve coordinate scaling, but they cannot erase the original physical sensitivity by renaming the variables. For the related formulation and mathematical context, see [Avoiding ill-posed problems](https://docs.mosek.com/modeling-cookbook/practical.html#avoiding-ill-posed-problems). A residual-to-distance estimate needs the actual inverse or singular-value bound in the declared norm.
Nonlinear residuals and distance
Consider the inequality x^2<=0 on R. Its feasible set is exactly {0}. The positive residual at a candidate x is r=x^2, while Euclidean distance to F is d=|x|=sqrt(r). Thus residual and distance are related, but by a square root rather than by the same numerical scale. At x=10^(-3), the residual is 10^(-6) and the distance is 10^(-3).
No fixed finite constant C can give d<=C*r for every sufficiently small nonzero x, because d/r=1/|x| tends to infinity as x tends to zero. A small nonlinear residual therefore does not establish a universal linear error bound. The zero derivative of x^2 at the feasible point explains the degeneracy, but the explicit ratio already proves the failure without appealing to a general theorem.
Compare x^2<=a^2 with a>0. Outside its feasible interval, d=|x|-a and r=x^2-a^2=d*(|x|+a), so d<=r/(2*a). A linear residual bound now exists, with a constant depending on the nondegenerate parameter a. As a decreases to zero that constant diverges, consistent with the previous example. The actual constraint geometry, not merely the presence of a polynomial formula, determines the estimate.
Residual and distance can also have different physical dimensions: if x is a length, x^2 is an area, so a linear conversion constant must carry inverse-length units. Numerical comparisons require reference units even in a simple example. An appropriate nonlinear error bound can be valuable when proved, but one should not assume a linear one from a solver's small constraint residual or from a finite set of successful trial points. For the related formulation and mathematical context, see [Avoiding ill-posed problems](https://docs.mosek.com/modeling-cookbook/practical.html#avoiding-ill-posed-problems). The explicit nonlinear example has a square-root error relation rather than a universal linear one.
Distance bounds and Lipschitz objectives
Suppose a candidate x_hat and an actual feasible repair z satisfy ||z-x_hat||<=delta, and suppose f is L-Lipschitz on a set containing both points: |f(y)-f(x)|<=L*||y-x|| for the relevant comparisons. Then f(z)<=f(x_hat)+L*delta follows immediately. This bounds the objective cost of that repair in the declared norm. It requires both the repair distance and the objective regularity bound.
If a valid lower bound B<=v for the original feasible minimization problem is also known, the repaired candidate has gap f(z)-v<=f(x_hat)+L*delta-B. The point z, not the infeasible x_hat, supplies the feasible upper bound. If only an exact distance-to-set bound is available, a nearest-point existence result or an explicit approximately nearest repair is needed to realize the corresponding delta. The next proof gives the standard finite-dimensional closed-set existence statement.
A small constraint residual alone supplies neither delta nor L. The preceding equality and quadratic examples show how the residual-to-distance factor can be large or nonlinear. A Lipschitz constant can also fail to be uniform on an unbounded region or near a singular objective expression. A derivative bound implies a Lipschitz bound along suitable connecting segments, but the relevant domain and segment conditions must be checked rather than presumed.
Repair can change integer assignments, active constraints and the physical interpretation of a decision. A feasible point closest in Euclidean coordinates need not minimize repair cost in another metric. The conditional bound remains useful because it identifies the exact missing ingredients: a feasible repaired decision, a verified distance, an applicable objective bound and a valid lower certificate. Combining them does not verify the ingredients or authorize a different feasible model. For the related formulation and mathematical context, see [The quality of a solution](https://docs.mosek.com/modeling-cookbook/practical.html#the-quality-of-a-solution). The repair-cost inequality is conditional on an actual feasible repair, a distance bound and an applicable Lipschitz constant.
Projection as a repair problem
Let F be nonempty and closed in finite-dimensional Euclidean space and fix x_hat. Choose any z0 in F and let R=||z0-x_hat||. A sequence approaching the infimum distance can be restricted to F intersect the closed ball of radius R+1 about x_hat. This set is closed and bounded, hence compact. A convergent subsequence has its limit in F, and continuity of distance shows that the limit attains the smallest distance. F itself need not be bounded.
The nearest point need not be unique. For F={-1, 1} and x_hat=0, both feasible points have distance 1 and there are no others. A repair rule that chooses only one is adding a tie convention. Nonconvexity does not force nonuniqueness at every candidate, but it prevents a universal uniqueness assertion based only on closedness.
For comparison, if F is convex and p, q were distinct nearest points at distance d, their midpoint would be feasible and its squared distance would be d^2-||p-q||^2/4 by the parallelogram identity. This is strictly below d^2, a contradiction. Thus closed nonempty convex sets have a unique Euclidean nearest point. The identity proves this particular uniqueness property without assuming the broader optimization theory developed in the following lessons.
Closedness and nonemptiness matter. For F=(0, 1) and x_hat=0 the infimum distance is zero but no feasible point attains it; for empty F there is no repair. Computing a nearest point on a complicated nonconvex or discrete set can itself require a difficult optimization problem. A projection-based repair is therefore a mathematically specified task, not an automatic consequence of having a nearly feasible numerical candidate. For the related formulation and mathematical context, see [Local minima and existence of solutions](https://ocw.mit.edu/courses/6-253-convex-analysis-and-optimization-spring-2012/69136e797daa75d9481c21d1f6b84a31_MIT6_253S12_lec05.pdf#page=11). The nearest-point proof above uses finite-dimensional closed-set compactness; uniqueness needs a separate condition.
Penalty objectives are a changed problem
A penalty adds a cost for violating a condition instead of imposing that condition exactly. Consider minimizing (x-1)^2 subject to x=0. The only feasible point is zero, with cost 1. Replace the equality by the finite quadratic penalty J_lambda(x)=(x-1)^2+lambda*x^2, lambda>0, on all R. This is a different feasible domain and a different objective, so equivalence requires proof rather than being a consequence of the word penalty.
Complete the square: J_lambda(x)=(1+lambda)*(x-1/(1+lambda))^2+lambda/(1+lambda). Its unique minimizer is x_lambda=1/(1+lambda), which is nonzero for every finite positive lambda. The equality violation has magnitude 1/(1+lambda). The penalized optimal value lambda/(1+lambda) is strictly below the hard-constrained cost 1 because the penalized problem permits a small violation to improve the original fit.
As lambda tends to infinity, x_lambda tends to zero and its original cost tends to 1. This limiting behavior does not make any particular finite lambda exactly feasible. A stopping rule based on a finite equality tolerance is an approximate statement whose relation to the chosen weight must be checked. For a general problem, convergence of penalized minimizers also needs assumptions about existence, boundedness and limiting feasibility; this explicit example does not establish a universal theorem.
The penalty coefficient has units that make lambda*h(x)^2 compatible with the original objective, and rescaling h changes its numerical meaning. Large weights can also alter derivative scales and numerical behavior, but an exact formulation argument is separate from an algorithmic condition estimate. Hard constraints, soft penalties and explicit violation budgets encode different requirements and should remain distinct in a reported decision. For the related formulation and mathematical context, see [Scaling optimization models](https://docs.mosek.com/modeling-cookbook/practical.html#scaling). The finite quadratic penalty is a changed objective and does not make the equality exact in this example.
A one-dimensional exact-penalty threshold
For the same hard equality x=0, consider instead J_lambda(x)=(x-1)^2+lambda*|x| with lambda>=0. On x<=0 this is x^2-(2+lambda)*x+1; its derivative 2*x-2-lambda is strictly negative, so its minimum on that half-line is at zero. On x>=0 it is x^2+(lambda-2)*x+1, whose minimizing point on the half-line is max(0, 1-lambda/2). Both pieces agree at zero.
For 0<=lambda<2, the positive point x_lambda=1-lambda/2 has value lambda-lambda^2/4, which is below 1, and is the unique global minimizer. For lambda>=2, both half-lines are minimized at zero, so zero is the unique global minimizer. At lambda=2 the right piece is x^2+1 and has no flat interval; equality at the threshold still gives only zero. Thus this penalty is exact for the hard-constrained solution precisely when lambda>=2.
The contrast with the quadratic penalty is a proved property of this problem. It does not show that every absolute penalty is exact at weight 2, or even that a finite exact weight exists without further assumptions. If the equality is written beta*x=0 with beta nonzero, the term becomes lambda*|beta|*|x| and the threshold is lambda*|beta|>=2. Equivalent hard equations can therefore correspond to different numerical penalty weights.
Shift to u=x−b. The unique minimizer of (u−(a−b))²+μ|u| equals sign(a−b) max(|a−b|−μ/2,0). This follows from one-sided derivatives and the subgradient interval at zero. Feasibility starts at equality μ=2|a−b|. For μ at or above the threshold, the unique optimizer and optimal value agree with the constrained problem. The penalty formulation still has its own objective and domain R.
| Quantity | Exact result |
|---|---|
| Constraint minimizer x=b | 1 |
| Penalty weight / threshold | 2 / 4 |
| Penalized minimizer | 2 |
| Feasible for equality | No |
| Original objective at constrained decision | 4 |
| Original objective at penalized decision | 1 |
| Penalized optimal value | 3 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| a | 3 |
| b | 1 |
| mu | 2 |
The example also separates equivalence of minimizing decisions from equality of objectives everywhere. The penalized function remains defined at infeasible points and has a different shape from the hard problem even above the exact threshold. A numerical algorithm must still find its global minimizer and evaluate feasibility under the original condition. The later theory of penalties and constrained methods supplies additional general hypotheses; the piecewise argument here establishes only the stated exact example. For the related formulation and mathematical context, see [Scaling optimization models](https://docs.mosek.com/modeling-cookbook/practical.html#scaling). The piecewise proof establishes this particular absolute-penalty threshold, with its normalization retained.
Regularization and an identification choice
A single exact observation x1+x2=1 cannot distinguish every pair of parameters on that line. The unregularized squared residual (x1+x2-1)^2 is zero at all such pairs, so the observation does not identify a unique decision. Adding a preference such as the smallest Euclidean norm can select one pair, but that selection uses information beyond equality of the observed prediction.
For lambda>0 consider J=(x1+x2-1)^2+lambda*(x1^2+x2^2). Put s=x1+x2 and d=x1-x2, so x1^2+x2^2=(s^2+d^2)/2. Then J=(s-1)^2+(lambda/2)*s^2+(lambda/2)*d^2. The d term is uniquely minimized at zero, and completing the square in s gives s=2/(2+lambda). Thus x1=x2=1/(2+lambda) is the unique regularized minimizer.
Its predicted sum is 2/(2+lambda), strictly below the observed value 1. A finite ridge weight trades residual fit against parameter size rather than imposing the observation as a hard equality. If one instead minimizes x1^2+x2^2 subject to x1+x2=1, the identity above gives s=1, d=0 and the pair (1/2, 1/2), which fits exactly. These two formulations should not be described as the same operation merely because both favor small norms.
A unique regularized optimum is not proof that the physical parameters have been identified from the observation. The penalty expresses a prior, preference or modeling assumption whose appropriateness needs separate justification. Its units must make the fit and parameter terms comparable, and its weight can affect bias and sensitivity. Regularization is useful precisely when its added structure is stated, rather than mistaken for information supplied by the original data alone. For the related formulation and mathematical context, see [Equivalent optimization problems](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=144); [Scaling optimization models](https://docs.mosek.com/modeling-cookbook/practical.html#scaling). A unique regularized decision can reflect an added preference rather than information identified by the data.
Formulation errors and data uncertainty
An optimizer solves the equations and ordering it is given. If a capacity inequality has the wrong direction, a variable domain omits integrality or a cost omits an external consequence, even a proved global optimum can be unsuitable for the intended application. Numerical exactness and empirical adequacy are different claims. Units, parameter meaning and the process used to obtain the data therefore remain part of checking a formulation.
A simple uniform objective comparison gives one controlled transfer. Suppose the modeled cost f and a physical cost F_phys are finite on the same feasible set and satisfy |F_phys(x)-f(x)|<=eta there. Taking infima in the two pointwise inequalities gives |inf F_phys-inf f|<=eta when these infima are finite. For a feasible candidate with modeled gap at most gamma, its physical gap is at most gamma+2*eta, because both the candidate's value and the best achievable value can shift.
Constraint perturbations do not automatically have that stability. The constraint x^2+epsilon<=0 has feasible set {0} at epsilon=0, no feasible point for any epsilon>0, and an interval for epsilon<0. Arbitrarily small data changes can therefore alter feasibility qualitatively. A uniform objective bound on an unchanged set cannot cover this different feasible-set effect. Margins, robust constraints or a separate sensitivity argument are needed for such a claim.
Finite validation examples can reveal a modeling error, but passing them does not establish every quantified assumption. A scientifically useful report identifies which constraints and costs are specified, which data uncertainties are bounded, and which comparison theorem is applicable. It should not promote a modeled objective gap into robustness, safety or preference satisfaction without the corresponding evidence. For the related formulation and mathematical context, see [Avoiding ill-posed problems](https://docs.mosek.com/modeling-cookbook/practical.html#avoiding-ill-posed-problems); [The quality of a solution](https://docs.mosek.com/modeling-cookbook/practical.html#the-quality-of-a-solution). Objective comparison on one feasible set does not cover an unproved change to the physical constraints.
Checking a proposed formulation end to end
A precise equivalence check can be stated as a map between two formulations. Let the original feasible set be F and the encoded feasible set be G, with a decision map T: G->F. Require that every encoded feasible point maps to an original feasible point and that every original feasible point has at least one encoded preimage. Require also f_encoded(y)=a*f_original(T(y))+b for a fixed a>0 and constant b. These are explicit coverage and cost-order conditions.
Under those hypotheses the encoded attainable costs are exactly the positive affine image of the original attainable costs. Their infima correspond, and every encoded minimizer maps to an original minimizer; every original minimizer has minimizing encoded representatives. Injectivity affects parameter uniqueness but is unnecessary for this value argument. This exact-cost framework covers coordinate substitutions and exact slack additions. Epigraph constructions use the separate pointwise bound and tight-representative argument proved earlier, since feasible auxiliary costs can exceed the original cost.
In an application, trace those conditions through domains, branch choices, units and uncertainty quantifiers. A slack without its sign, a binary variable silently relaxed or a logarithm applied outside its domain breaks a specific direction of the coverage argument. An objective with changed relative weights breaks the cost-order condition. Naming the failed condition explains the problem more precisely than treating a numerical disagreement as an unexplained solver issue.
A finite collection of trial points can disprove equivalence by one counterexample, but cannot generally prove a universal set correspondence. Algebraic arguments, certified bounds or exhaustive enumeration of an actually finite domain supply the missing quantifiers. After formulation equivalence is established, existence, algorithmic convergence, numerical accuracy and physical validation still require their own appropriate reasoning. Checking them separately preserves the meaning of every certificate. For the related formulation and mathematical context, see [Equivalent optimization problems](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=144). Two-way feasible coverage and the stated cost map prove equivalence; numerical samples alone generally cannot.
A conditional decision-quality statement
A decision-quality certificate is conditional on a chosen feasible model. Suppose a candidate is verified feasible, its true modeled cost is at most U and a valid lower bound on the modeled infimum is L. Then its modeled gap is at most U-L. This conclusion needs no optimizer to be attained elsewhere, but it does require finite bounds and the original feasibility of this candidate. It does not certify a different domain or a changed objective.
If objective evaluations are themselves bounded approximations, let the computed candidate cost be U_tilde with absolute error at most delta_U, and let a computed lower certificate L_tilde overstate a valid lower bound by at most delta_L. Then U=U_tilde+delta_U and L=L_tilde-delta_L are safe bounds, giving gap at most U_tilde-L_tilde+delta_U+delta_L. Arithmetic error budgets belong in the same objective units and must be justified, rather than assumed because a program printed many digits.
If a candidate instead requires repair, an actual feasible repair and a Lipschitz-distance bound can enlarge the upper bound by the proved repair cost. If the physical objective differs uniformly by at most eta on that same feasible set, its gap can additionally be bounded by the modeled gap plus 2*eta. A different physical feasible set, missing tail of scenarios or unverified probability law is outside this deduction. No sum of supplied error terms establishes that the terms or the shared domain assumptions are true.
This is the appropriate scope of an optimization formulation: specify what is compared, prove which reformulations preserve it, and state exactly what a feasible candidate and valid bounds establish. Robustness, empirical accuracy and preference satisfaction can be added when their assumptions and evidence are present. Preserving these distinctions makes a result useful without reducing a rich decision problem to an unsupported claim that an exact numerical minimum is automatically the right real-world action. For the related formulation and mathematical context, see [The quality of a solution](https://docs.mosek.com/modeling-cookbook/practical.html#the-quality-of-a-solution); [Optimization problems: definitions](https://www.stanford.edu/~boyd/cvxbook/bv_cvxbook.pdf#page=141). A decision certificate retains its feasibility, bound, evaluation and model assumptions.
Compare which decisions are feasible, which objectives are attained, and when a relaxation or penalty changes the problem.
An infimum need not be attained
The left endpoint is excluded
Continuous x² increases on the nonnegative interval, giving the left-limit infimum. Compactness applies to the closed interval and to finite sets. An isolated feasible point is automatically relatively locally minimal because a small enough neighborhood contains no other feasible decision.
| Quantity | Exact result |
|---|---|
| Feasible set | (0,1] |
| Infimum | 0 |
| Global argmin | No global minimizer |
| Infimum attained | No |
| Existence fact | Not compact because 0 is a missing limit point |
| Relative local minima | None |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| domain | open-lower-interval |
| left | 0 |
| right | 1 |
Eliminating an equality must retain each signed branch
Two real signs must be considered
Because x² is nonnegative, a negative right-hand side is inconsistent. For positive a, taking the nonnegative square root alone loses the negative branch. At a=0 the two algebraic signs give the same feasible point. The original objective is evaluated only on the surviving decisions.
| Quantity | Exact result |
|---|---|
| Feasible x | -2, 2 |
| Values of c x in the listed order | -6, 6 |
| Global minimizing x | -2 |
| Minimum objective | -6 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| a | 4 |
| c | 3 |
A continuous relaxation supplies an upper bound
A modest fractional bound
The continuous region adds possible decisions to the integer region, giving an upper bound for maximization. Fill the higher value-per-resource item up to one and then spend any available resource on the lower-ratio item. Separately enumerate the four binary choices to verify the actual integer optimizer.
| Quantity | Exact result |
|---|---|
| Feasible binary decisions | (0,0), (0,1), (1,0) |
| Optimal binary decision / value | (0,1) / 4 |
| Optimal continuous decision / value | (1, 1/3) / 13/3 |
| Fractional bound minus binary optimum | 1/3 |
| Relaxed optimizer admissible as binary | No |
| Value per resource | (3/2, 4/3) |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| p | [3,4] |
| w | [2,3] |
| W | 3 |
The adversarial endpoint depends on the sign of the decision
Positive decision: upper endpoint
For fixed x, ax+offset is affine in a. A positive slope maximizes at the upper endpoint, a negative slope at the lower endpoint, and slope zero gives a constant. Nominal feasibility uses one selected coefficient; robust feasibility requires the inequality throughout the interval.
| Quantity | Exact result |
|---|---|
| Nominal coefficient | 2 |
| Nominal left side | 4 |
| Nominal status | Feasible |
| Worst coefficient or tie | 3 |
| Worst left side | 6 |
| Robust status | Infeasible |
| Uncertainty support maxₐ(a·x) | 6 |
| Added fixed offset | 0 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| lo | 1 |
| hi | 3 |
| x | 2 |
| offset | 0 |
| b | 5 |
An efficient objective pair can be unsupported by a weighted sum
An unsupported efficient point
Each point improves one objective and worsens the other relative to the remaining points, so none dominates another. For scalarization compare the two affine weight inequalities that make B no larger than A and C. An ε-constraint restricts the first component explicitly and can select unsupported Pareto points.
| Quantity | Exact result |
|---|---|
| Pareto-efficient pairs | A, B, C |
| Weights λ for B to minimize | Empty |
| Ties | A and C tie at λ=1/2, with value 2. B then has value 5/2. |
| ε-constraint choice | With f₁≤2, minimize f₂ and choose B with f₂=3. |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| points | [[0,4],[2,3],[4,0]] |
An equality penalty has a calculable threshold
The penalty is below threshold
Shift to u=x−b. The unique minimizer of (u−(a−b))²+μ|u| equals sign(a−b) max(|a−b|−μ/2,0). This follows from one-sided derivatives and the subgradient interval at zero. Feasibility starts at equality μ=2|a−b|. For μ at or above the threshold, the unique optimizer and optimal value agree with the constrained problem. The penalty formulation still has its own objective and domain R.
| Quantity | Exact result |
|---|---|
| Constraint minimizer x=b | 1 |
| Penalty weight / threshold | 2 / 4 |
| Penalized minimizer | 2 |
| Feasible for equality | No |
| Original objective at constrained decision | 4 |
| Original objective at penalized decision | 1 |
| Penalized optimal value | 3 |
Exact inputs and supporting calculations
| Parameter | Value |
|---|---|
| a | 3 |
| b | 1 |
| mu | 2 |
Worked examples
A resource allocation formulation
Choose nonnegative real quantities x, y with resource 2x+y<=8 and demand x+y>=3. Formulate minimization of cost 3x+2y, determine the feasible polygon and solve it by explicit reasoning.
- The real nonnegative decisions are x and y. The feasible set is the first-quadrant intersection of 2x+y<=8 with x+y>=3; the objective is the specified linear cost 3x+2y. The demand is a lower bound, so replacing its direction by <= would create a different problem allowing zero production. Each resource and cost coefficient must carry the unit needed for its sum.
- On the y-axis the allowed endpoints are (0, 3) and (0, 8). On the x-axis they are (3, 0) and (4, 0). The two oblique boundary lines intersect at x=5, y=-2, which lies outside the nonnegative domain and supplies no extra vertex. Thus the feasible polygon has exactly the four stated vertices, with the axis and line segments joining them.
- For every feasible point, 3x+2y=2(x+y)+x>=6+x>=6. Equality requires x=0 and x+y=3, so y=3. This point also satisfies 2x+y=3<=8. Therefore (0, 3) is the unique global minimizer with cost 6, proved directly without relying on a numerical vertex search.
- The set is nonempty, closed and bounded, so continuity also guarantees attainment. That existence theorem alone would not identify the unique point; the explicit inequality supplies optimality and equality conditions. A candidate with a smaller displayed cost would necessarily violate at least one original condition or use a different objective.
Minimize 3x+2y subject to x, y>=0, 2x+y<=8, x+y>=3. Vertices (0, 3), (0, 8), (4, 0), (3, 0); unique optimum (0, 3), cost 6.
An unattained design target
Minimize f(x)=x over the open feasible interval (0, 1). Determine the infimum, minimizers and status of any positive feasible candidate.
- For every feasible x in (0, 1), f(x)=x is positive, so 0 is a lower bound. The sequence x_n=1/(n+1) lies in the feasible interval and has objective tending to 0. These two facts establish the exact infimum v=0.
- No feasible point has objective 0, because x=0 is excluded. The infimum is therefore not attained and the minimizer set is empty. The feasible set is nonempty and the cost is bounded below, so this is neither infeasibility nor unboundedness below.
- Every feasible candidate x_hat can be improved by x_hat/2, which remains in (0, 1) and has half its cost. Its objective gap from the infimum is exactly x_hat. For any epsilon>0 one may choose a positive feasible x<=min(epsilon, 1/2), so useful approximate optima exist although an exact optimum does not.
- The missing endpoint is the decisive existence issue. A continuous objective on the closed interval [0, 1] would instead attain its unique minimum at 0, but adding that endpoint changes the feasible domain. A finite numerical result very close to zero should therefore be described as feasible and approximately optimal, not as a proof that the original open-interval problem attained its infimum.
Infimum 0, not attained; there is no minimizer. Every positive feasible candidate has strictly positive objective gap and can be improved.
A coercive objective on an unbounded set
Minimize x^2+y^2 subject to x+y=4 in R^2. Prove existence and determine the unique solution without assuming the feasible set is bounded.
- The feasible set F={(x, y): x+y=4} is a nonempty closed line and is unbounded. The objective x^2+y^2 grows to infinity along any sequence whose Euclidean norm diverges, so it is coercive. Its finite sublevels intersected with F are compact, which supplies existence even though F itself is not bounded.
- Eliminate the equality with y=4-x, which covers every feasible pair with x in R. The objective becomes x^2+(4-x)^2=2*(x-2)^2+8. This identity is valid throughout the full parameter domain and introduces no lost branch or denominator restriction.
- The square is nonnegative and vanishes only at x=2, so the unique minimum is 8 at x=2, y=2. One can also use x^2+y^2=((x+y)^2+(x-y)^2)/2=8+(x-y)^2/2 on F. Both forms identify the same equality condition.
- Existence, uniqueness and the actual value have distinct evidence here: coercivity plus closedness gives attainment, and the square identity gives the unique optimizer. The example does not assert that every objective on an unbounded closed line attains a minimum. Its particular growth along escaping feasible decisions is essential to that existence argument.
Unique minimizer (2, 2), cost 8. The closed unbounded feasible line has compact finite objective sublevels.
An epigraph for competing costs
Minimize max(x+1, 3-x) over 0<=x<=3. Give an equivalent epigraph formulation and determine its minimizing x, t.
- For every x in [0, 3], the cost is the larger of x+1 and 3-x. Introduce a real auxiliary t with t>=x+1 and t>=3-x, and minimize t while retaining 0<=x<=3. At a fixed x, the smallest allowed t is exactly the maximum, so this is the exact epigraph formulation.
- The maximum is at least the average of its two arguments, which is [(x+1)+(3-x)]/2=2. Equality in that bound requires the two arguments to coincide. Solve x+1=3-x to obtain x=1, which lies in the feasible interval.
- At x=1 both arguments equal 2, so t=2 is feasible and attains the global lower bound. If the maximum were 2 at another x, both arguments would be at most 2, forcing x<=1 and x>=1 simultaneously. Thus x=1, t=2 is the unique epigraph optimum and the unique original decision.
- The auxiliary variable does not add a physical decision or remove the underlying interval restrictions. It expresses the worst of two commensurate modeled costs. A weighted average of the two lines would be another criterion and need not select the same x; the equivalence relies specifically on the maximum and all its epigraph inequalities.
Minimize t subject to 0<=x<=3, t>=x+1, t>=3-x. Unique optimum x=1, t=2.
An absolute residual formulation
Minimize abs(x-1)+2*abs(x-4) on R. Give its linear epigraph inequalities and derive all minimizers.
- Introduce t1>=x-1, t1>=1-x and t2>=x-4, t2>=4-x. These inequalities say t1>=|x-1| and t2>=|x-4|. Minimize t1+2*t2 with x unrestricted real. Both weights are positive, so every optimal auxiliary value is tight and the formulation has the same minimizing decisions as the original absolute-value sum.
- For x<=1, the original objective is (1-x)+2*(4-x)=9-3x. For 1<=x<=4, it is (x-1)+2*(4-x)=7-x. For x>=4, it is (x-1)+2*(x-4)=3x-9. The expressions agree at each boundary and explicitly cover the whole real domain.
- The objective decreases on both intervals below 4 and increases above 4. Hence its unique global minimizer is x=4. Its value is |4-1|+2*|4-4|=3, and the auxiliary variables are t1=3, t2=0. This is a weighted absolute-residual choice, not an ordinary unweighted average of 1 and 4.
- The larger weight at 4 changes the preferred fit; it is part of the model and must not be dropped as a numerical convenience. All minimizers have been determined by the complete piecewise argument. The linear epigraph can later be solved with linear programming tools, but no solver result is needed to establish this exact example.
Minimize t1+2t2 with t1>=x-1, t1>=1-x, t2>=x-4, t2>=4-x. Unique x=4, t1=3, t2=0, cost 3.
A binary implication with actual bounds
For 0<=x<=5 and z in {0, 1}, encode z=1=>x<=2. Compare valid M=3, invalid M=2 and the relaxation using M=100 at x=5.
- On 0<=x<=5, the maximum of x-2 is 3. Therefore the implication z=1=>x<=2 is encoded exactly by x<=2+3*(1-z), with z binary and the original x bounds retained. At z=1 this is x<=2, and at z=0 it is the already known x<=5.
- Using M=2 would instead impose x<=4 when z=0. The point (5, 0) is allowed by the original implication but excluded by that inequality, so M=2 is invalid as a full reformulation. A test only on active-branch points would miss this error.
- For the continuous relaxation 0<=z<=1 at x=5, the M=100 inequality gives 3<=100*(1-z), or z<=97/100. Thus fractional points such as z=1/2 are allowed. With M=3 at the same x it gives 3<=3*(1-z), forcing z=0. Both values are valid for binary decisions, but the larger one weakens the relaxation.
- The finite bound 3 comes from the actual domain, not from a generic large-number rule. A different upper bound on x would change the derivation. The example proves branch equivalence and one relaxation difference; it does not by itself quantify floating-point conditioning or assert that every smallest valid M yields the strongest possible formulation.
Exact binary formulation x<=2+3(1-z). M=2 cuts (5, 0). At x=5, the M=100 relaxation allows z<=97/100, whereas M=3 forces z=0.
A box-robust production constraint
Let x1, x2>=0 and uncertain coefficients c1 in [2, 3], c2 in [1, 2]. Derive robust feasibility of c1*x1+c2*x2<=10 for every allowed coefficient and compare it with the midpoint constraint.
- The robust quantifier requires c1*x1+c2*x2<=10 for every coefficient pair in the specified box. Because x1, x2>=0, increasing either coefficient cannot reduce resource use. The worst allowed pair is therefore (c1, c2)=(3, 2), and robust feasibility is exactly 3*x1+2*x2<=10 with nonnegativity retained.
- This also follows from midpoint-plus-radius form: c1=5/2+delta1 and c2=3/2+delta2, with |delta1|, |delta2|<=1/2. The worst perturbation is (|x1|+|x2|)/2. Nonnegative decisions reduce the sum to (5/2)x1+(3/2)x2+(x1+x2)/2=3x1+2x2.
- The midpoint constraint alone is (5/2)x1+(3/2)x2<=10. At (4, 0) it holds with equality, but the worst-case resource use is 12>10. Thus the midpoint-feasible set is strictly larger and does not certify the required universal condition.
- The result assumes both upper coefficients may occur together, as allowed by the box. A correlated uncertainty set could have another exact counterpart. No probability level follows from this robust condition, and the bounds on coefficients still need their own data justification before they can support a physical guarantee.
Robust counterpart 3x1+2x2<=10 with x1, x2>=0. The midpoint constraint (5/2)x1+(3/2)x2<=10 is weaker; point (4, 0) passes it and violates the robust condition.
A finite chance constraint
A capacity C equals 4 with probability 3/4 and 8 with probability 1/4. Choose real production x>=0 with probability (x<=C)>=4/5. Determine the feasible x set and compare robust and expected-capacity interpretations.
- The event is x<=C, including equality. For 0<=x<=4 it occurs in both capacity scenarios and has probability 1. For 4<x<=8 it occurs only in the C=8 scenario and has probability 1/4. For x>8 it has probability 0. These three ranges exhaust the nonnegative decision domain.
- The required probability is 4/5. Only the first range has success probability at least 4/5, so the feasible set is [0, 4]. Its endpoint 4 is included because equality succeeds also in the lower-capacity scenario. The point 8 does not satisfy the required level even though it is one possible capacity.
- Robust feasibility over both stated capacities also gives x<=4, so it happens to agree with this chance constraint. That agreement is particular to the probabilities and threshold. It does not establish a general equivalence between robust and chance constraints.
- Expected capacity is (3/4)*4+(1/4)*8=5. Replacing the chance condition by x<=5 would allow x=5, whose actual success probability is only 1/4. Averaging the uncertain capacity therefore changes the model and fails the required reliability statement in this explicit example.
Feasible x set [0, 4]; robust feasibility agrees in this example. Expected capacity 5 would allow x=5 with success probability only 1/4, not the required 4/5.
Three efficient cost pairs
Consider attainable costs A=(0, 2), B=(1, 3/2), C=(2, 0). Find Pareto-efficient points and prove whether each can minimize a strictly positive weighted sum.
- Compare the three cost pairs componentwise. A has the smallest first cost but the largest second, C has the opposite extremes, and B lies between them in both coordinates. No pair is no worse in every coordinate than another, so A, B and C are all Pareto efficient.
- For strictly positive weights w1, w2, the weighted costs are 2*w2 for A, w1+(3/2)*w2 for B, and 2*w1 for C. If B were a minimizer, it would need w1+(3/2)*w2<=2*w2 and w1+(3/2)*w2<=2*w1. Those inequalities imply w1<=w2/2 and w1>=3*w2/2.
- Since w2>0, the two bounds are incompatible. Thus B is efficient but unsupported by any strictly positive weighted sum, including ties. A can be selected with weights (2, 1), and C with (1, 2), as direct substitution confirms. Failure of the converse at B is therefore a concrete nonconvex tradeoff phenomenon.
- The example does not select one universal preferred point. A preference rule, priority list or epsilon constraint can choose among efficient decisions, with its own meaning. Positive scalarization proves efficiency of its global minimizers, but exploring finitely many or even all such weights cannot retrieve this particular efficient B.
All three points are Pareto efficient. A and C can minimize positive weighted sums; B cannot, because it would require w1<=w2/2 and w1>=3w2/2 simultaneously.
A small residual with a large decision error
For equality epsilon*x=1 with epsilon=10^(-6), a candidate is xhat=999999. Compute its residual and distance to the exact feasible x, and explain the conditioning factor.
- The equality is epsilon*x=1 with epsilon=1/1000000, so its unique exact feasible decision is x_star=1000000. The candidate is x_hat=999999, which differs from it by -1. Thus its Euclidean distance to the feasible set is exactly 1.
- Its signed residual is epsilon*x_hat-1=999999/1000000-1=-1/1000000=-10^(-6). The residual magnitude is much smaller than the decision error because the equation coefficient attenuates changes in x by a factor 10^(-6).
- The exact relation is x_hat-x_star=r/epsilon. Multiplying the residual magnitude by the inverse coefficient 10^6 returns the distance 1. This is the relevant conditioning factor in these coordinates; it is not established by a tolerance label alone.
- Multiplying the entire equality by 10^6 leaves the feasible point unchanged but turns the residual into -1. A numerical feasibility report must therefore retain its scaling and units. The example demonstrates a precise residual-to-distance conversion under a known nonzero coefficient, not a universal conversion valid for all constraints.
Exact feasible point 1000000; candidate residual -10^(-6), distance 1. The residual-to-distance factor is 1/epsilon=10^6.
A finite penalty is not a hard equality
Compare minimizing (x-1)^2 subject to x=0 with its quadratic penalty (x-1)^2+lambda*x^2 for lambda>0. Derive penalized minimizer, violation and limiting behavior.
- The hard equality x=0 leaves only one feasible decision, with original cost (0-1)^2=1. The quadratic-penalty problem instead permits every real x and uses J=(x-1)^2+lambda*x^2, lambda>0. It may trade violation against the original fit, so it is not an equivalent formulation unless separately proved so.
- Expanding and completing the square gives J=(1+lambda)*(x-1/(1+lambda))^2+lambda/(1+lambda). The positive quadratic coefficient proves that x_lambda=1/(1+lambda) is the unique global penalized minimizer, with penalized optimal value lambda/(1+lambda).
- Its equality violation is |x_lambda|=1/(1+lambda)>0 for every finite lambda. Its original unpenalized cost is lambda^2/(1+lambda)^2. As lambda tends to infinity, the decision tends to 0 and the original cost tends to 1, but no finite positive weight reaches exact equality in this example.
- The distinction concerns the actual minimizing decision, not a failure of numerical precision. A tolerance could make a chosen finite solution acceptable as approximately feasible, but that would be a separate specified requirement. The coefficient also carries the unit needed to compare squared constraint violation with the objective.
Hard optimum x=0, cost 1. Penalized minimizer 1/(1+lambda), violation 1/(1+lambda), penalized value lambda/(1+lambda); only the infinite-weight limit reaches 0.
A conditional optimality gap
For the stated minimization model, a verified feasible candidate has cost 12, a valid relaxation lower bound is 23/2, and an independent model-error comparison is at most 1/5 in objective value for every feasible decision. State the certified model gap and a conservative physical-objective gap, with the needed shared-feasibility assumption.
- Let v be the model infimum. The valid lower bound 23/2 and verified feasible candidate cost 12 imply 23/2<=v<=12. Therefore the candidate's model objective gap is at most 12-23/2=1/2. The actual gap might be smaller; the relaxation bound was not stated to be tight.
- Assume the physical objective and model objective differ by at most 1/5 at every decision in the same feasible set. Then the physical candidate cost is at most 12+1/5=61/5. The physical infimum is at least 23/2-1/5=113/10, by taking the infimum in the uniform comparison.
- Subtracting those safe bounds gives physical gap at most 61/5-113/10=9/10. Equivalently, the model gap 1/2 acquires two comparison allowances of 1/5, one for the candidate and one for the unknown best value. Adding only one allowance would leave one side of the comparison uncontrolled.
- The conclusion requires identical feasible decisions, or another explicit argument transferring feasibility and bounds. A physical constraint shift is not covered by an objective-only comparison. The uniform 1/5 estimate and the lower bound also need their own evidence; the gap arithmetic does not validate either assumption or make this objective the only desirable criterion.
Certified model gap at most 1/2. With identical feasible decisions and uniform physical/model cost error 1/5, the physical gap is at most 1/2+2/5=9/10.
Try it yourself
Compare minimize x subject to x>=1, x<=0 with minimize x over all real x. State feasible sets and extended-real infima.
Show the answer and reasoning
The first feasible set is empty and its infimum is +infinity; the second is R with infimum equal to negative infinity. Neither has a finite minimizer.
The first constraints require x>=1 and x<=0 simultaneously. No real number satisfies both, so the feasible set is empty. Under the stated minimization convention, inf over that empty set is +infinity. The objective formula alone does not change this feasibility status. For the second problem every real x is feasible. Given any proposed finite lower bound M, choose x<M to get f(x)<M. Hence the objective is unbounded below and its infimum is negative infinity. This problem is feasible but has no finite global minimizer. The two infinite values encode different failures of a finite optimum: the first has no admissible decision, while the second has arbitrarily improving admissible decisions. Neither infinity is an attained finite objective at an allowed real x. A numerical process stopping without a candidate would not by itself distinguish them. A correction must therefore address the relevant model feature. Relaxing contradictory constraints could restore feasibility in the first problem; adding an appropriate lower restriction or a different objective could bound the second. Those would be new formulations rather than conclusions of a solver's failure status.
On the finite feasible set {0, 2}, let f(0)=5 and f(2)=1. Classify both points as local/global/strict/unique minima using relative neighborhoods.
Show the answer and reasoning
Both points are strict local minima in the relative topology; 2 is the unique strict global minimizer, and 0 is not global.
The feasible set contains only 0 and 2. Around either point choose a radius less than 2, so its relative feasible neighborhood contains only that point. The local-minimum inequality is then true for both points, regardless of their two different cost values. The strict local inequality compares only distinct nearby feasible points. There are none in either selected neighborhood, so it is also true for both points. This is the precise vacuous strict-local property of isolated feasible decisions, not a claim of a positive global objective advantage. Globally compare the two costs: f(2)=1<5=f(0). Thus 2 is the unique global minimizer and is strict globally. The point 0 is not global because the feasible point 2 improves its objective by 4 units. Both local classifications remain true despite this global difference. Replacing the relative topology by an algorithmic move graph would require a new neighborhood definition. The example shows why a local optimum on a discrete set needs a stated interpretation. It cannot be promoted to global optimality merely because the local comparison is strict.
For feasible x>=0 and f(x)=exp(-x), determine infimum and attainment; identify which compact-level hypothesis fails.
Show the answer and reasoning
Infimum 0, not attained; every nonempty finite sublevel is unbounded, so the compact-sublevel existence hypothesis fails.
For every x>=0, the cost exp(-x) is strictly positive. The sequence x_n=n is feasible and has cost tending to 0, so the infimum is 0. No finite feasible x has objective 0, and therefore the infimum is not attained. For 0<alpha<1, the finite sublevel exp(-x)<=alpha is x>=-log(alpha). For alpha>=1 it is the whole feasible ray [0, infinity). Both are unbounded. At alpha<=0 the sublevel is empty. Thus there is no nonempty compact finite sublevel to which the existence theorem applies. The feasible set is closed, but it is not bounded, and the objective is not coercive along its escaping feasible sequence. Closedness alone does not force a minimizing sequence to have a convergent feasible subsequence. The missing compactness is visible directly in every possible finite nonempty sublevel. This is a feasible, bounded-below problem with an unattained infimum, not an infeasible or unbounded-below one. Approximate candidates can have arbitrarily small costs while moving arbitrarily far out on the ray. A finite low objective is therefore not an attained minimum or a bounded-decision certificate.
On [-1, 1], minimize f(x)=0. Explain why compact existence does not imply a unique or strict minimizer.
Show the answer and reasoning
Every point of [-1, 1] is a global and local minimum; none is strict and the minimizer is not unique.
The feasible set [-1, 1] is nonempty and compact, and f is continuous with value 0 everywhere. Its infimum is 0 and every feasible point attains that value, so the minimizer set is the entire interval. Every global minimizer is also a local minimum in the relative topology. Here every point therefore has both properties. Endpoint neighborhoods are one-sided after intersection with the feasible set, but they still contain distinct feasible points with the same objective. No point is strict locally or globally. Any sufficiently small relative neighborhood contains another point, and its equal cost 0 does not satisfy a strict inequality. Uniqueness also fails because at least two distinct feasible points attain the minimum. Compactness and continuity establish existence, not uniqueness or a quantitative growth margin. A tie-breaking preference would be an additional criterion. The example keeps those separate conclusions explicit rather than using the existence theorem to infer more than it proves.
On feasible values x in [0, 1], compare minimizers of f(x)=x and of phi(f(x)) with phi(t)=max(0, t-1/2).
Show the answer and reasoning
Original argmin {0}; transformed argmin [0, 1/2]. Non-strict increase preserves ordering weakly but can create tied minima.
On [0, 1], the original cost f(x)=x has its unique minimum 0 at x=0. The transformation phi(t)=max(0, t-1/2) is nondecreasing but not strictly increasing, because it is constant on [0, 1/2]. The composed cost is 0 for every x in [0, 1/2] and is x-1/2>0 for x>1/2. Consequently its minimizer set is exactly [0, 1/2], larger than the original singleton {0}. No original minimum is lost in this example, but additional ties are created. The strict-order equivalence used for strictly increasing transformations fails on the plateau: distinct original values can become equal after transformation. The transformation is defined throughout the range, so this change is caused by non-strict monotonicity rather than a domain error. It demonstrates why preserving minimizers requires the precise hypothesis, not merely an informal statement that a transformed objective increases with the old one.
For a distance variable x measured in metres and cost f(x)=2*x^2 in joules with the coefficient carrying J/m^2, change to z=100*x measured numerically in centimetres. Derive the equivalent cost coefficient.
Show the answer and reasoning
f=z^2/5000 joules for numerical z in centimetres; the coefficient is 1/5000 J/cm^2, with the original physical energy preserved.
Distinguish the physical length from its numerical coordinates. If x is its numerical value in metres and z its numerical value in centimetres, then z=100*x and x=z/100. Substitute this same relation in the objective and every other occurrence of the variable. The energy becomes f=2*(z/100)^2 joules=(1/5000)*z^2 joules. Equivalently, the physical coefficient 2 J/m^2 converts to (1/5000) J/cm^2 because one square metre is 10000 square centimetres. For a check of interpretation, a physical length of one metre has x=1 and z=100. The original formula gives 2 joules, and the transformed formula gives 10000/5000=2 joules. Keeping the coefficient numerically 2 after replacing x by z would multiply the modeled energy by 10000. The coordinate conversion preserves the decision and its cost when the coefficient and domain are transformed consistently. It does not justify leaving numerical step sizes or absolute tolerances unchanged: one coordinate unit now represents a different physical length. The units make the required scaling visible.
For xy=0 on [-1, 1]^2, explain why dividing by x to assert y=0 loses feasible decisions; give an explicit lost point.
Show the answer and reasoning
The feasible set is the union of the two coordinate-axis segments; division by x loses, for example, (0, 1).
The equation xy=0 over real numbers means x=0 or y=0. Within [-1, 1]^2 the full feasible set is therefore the vertical axis segment x=0 and the horizontal axis segment y=0, including their common origin. Dividing the equation by x is valid only after assuming x is nonzero. It then gives y=0 on that restricted branch. Treating y=0 as the whole solution set discards valid points on x=0 with nonzero y. For example, (0, 1) satisfies the original equation and both box bounds, but does not satisfy y=0. It is an explicit counterexample to full coverage of the proposed reduced formulation. A single such point is sufficient to disprove equivalence. A correct reduction can retain both branches explicitly or use another representation whose image is their union. An objective may favor either branch, so discarding one without comparing it can lose the global optimum. Algebraic elimination needs its exceptional-domain argument as well as its regular-case formula.
For x<=1, write the slack equality and show with a concrete point why unrestricted slack is not equivalent.
Show the answer and reasoning
Correct equality x+s=1 with s>=0. Unrestricted slack wrongly admits x=2, s=-1.
The inequality x<=1 is equivalent to x+s=1 with s>=0. If x<=1, choose s=1-x, which is nonnegative. Conversely, that equality with a nonnegative s gives x=1-s<=1. The slack is uniquely determined at each feasible x. If s is unrestricted, the equality can be solved as s=1-x for every real x. It therefore imposes no restriction at all on x, which is a strictly larger domain than the original feasible half-line. The concrete point x=2, s=-1 satisfies x+s=1 but violates x<=1. This verifies that the missing sign condition, not a numerical issue, causes the inequivalence. Keeping a correct objective cannot restore the original feasible set by itself. The slack has the same unit as x and the constant 1 under the chosen reference units. Adding a separate cost on s or allowing it to absorb violations would define another preference or soft constraint. For an exact slack reformulation, both its sign and the unchanged original objective must be retained.
For y^2=x and 0<=x<=4, parameterize the full feasible set and show why y=sqrt(x) alone omits a branch.
Show the answer and reasoning
Full parameterization (x, y)=(t^2, t), -2<=t<=2; positive square root alone omits, for example, (1, -1).
The constraint y^2=x with 0<=x<=4 implies |y|<=2. Set t=y and define (x, y)=(t^2, t), with -2<=t<=2. Every such parameter gives an allowed x and satisfies the equality. Conversely, every original feasible pair has t=y in [-2, 2] and x=t^2, so it is represented by that map. Both coverage directions hold, and t is uniquely recovered as y. This is a full parameterization rather than a choice of only one branch. The formula y=sqrt(x) restricts y to be nonnegative. It omits, for example, (x, y)=(1, -1), which satisfies the original equality and bounds. The negative branch y=-sqrt(x) must also be retained if x is used as parameter. The branches meet at (0, 0), but that meeting does not make their other points redundant. An objective depending on the sign of y can distinguish them. A branch restriction is valid only when it is an original domain condition or has a separate proof preserving the intended optimum.
Minimize x subject to x>=3/2 and x integer. Compare the exact optimum with the continuous relaxation.
Show the answer and reasoning
Integer optimum x=2, value 2; continuous relaxation optimum 3/2, value 3/2; objective gap 1/2.
For an integer x satisfying x>=3/2, the smallest allowed value is 2. It is feasible and every other feasible integer is at least 2, so the original minimization has the unique optimum x=2 with value 2. Dropping integrality enlarges the feasible set to the real ray [3/2, infinity). Its minimum is attained at 3/2, with value 3/2. Set inclusion gives the correct lower-bound direction for minimization. The relaxation gap is 2-3/2=1/2. Its optimizer 3/2 is not an allowed original decision. Rounding upward gives the correct optimizer in this one-variable example, but that successful repair is a property of the simple ray and should not be generalized to coupled integer constraints. The exact bound and the feasible candidate happen to be easy to prove here. A numerical relaxed candidate without a global certificate would not automatically provide the same lower bound. The comparison retains both the original domain and the proof of each value.
For real x and uncertainty delta in [-1/5, 1/5], derive the robust counterpart of (2+delta)*x<=3, including the sign of x.
Show the answer and reasoning
Robust counterpart 2x+|x|/5<=3; its feasible set simplifies to x<=15/11. For negative x, the worst coefficient is 9/5 rather than 11/5.
For a fixed real x, the largest value of delta*x over |delta|<=1/5 is |x|/5. Therefore the robust inequality is exactly 2*x+|x|/5<=3. The maximizing delta is 1/5 for positive x and -1/5 for negative x; at zero either endpoint gives the same value. For x>=0, this becomes (11/5)*x<=3, or x<=15/11. For x<0, it becomes (9/5)*x<=3, which is automatically true because the left side is negative. Combining the two branches gives the feasible set (-infinity, 15/11]. The sign distinction is still important even though the final feasible set has a simple upper endpoint. At x=-1, the true worst resource expression is -9/5, not -11/5. Using only the coefficient upper endpoint does not give the correct pointwise supremum on the negative branch. The counterpart is exact for the stated full interval of uncertainty and a decision chosen before delta is known. It has no probability interpretation by itself. Changing the uncertainty set or allowing an adaptive decision would require another quantified formulation.
In minimizing t1+0*t2 subject to t1>=abs(x), t2>=abs(x-1), explain why an optimum need not have t2=abs(x-1).
Show the answer and reasoning
All optima have x=0, t1=0, t2>=1; for example t2=2 is optimal but exceeds abs(x-1)=1.
The constraints imply t1>=|x|>=0 and t2>=|x-1|. Since the objective is t1 alone, it is bounded below by 0. Set x=0 and t1=0 to attain that bound, which then requires only t2>=1. Conversely, any optimum must have t1=0. The inequality t1>=|x| then forces x=0, and the second residual inequalities reduce to t2>=1. Thus the entire optimum set is x=0, t1=0, t2 in [1, infinity). For example, (x, t1, t2)=(0, 0, 2) is optimal but has t2=2>|x-1|=1. The zero objective coefficient makes this slackness irrelevant to cost. A positive coefficient would make reducing t2 a strict improvement and force tightness at an optimum. The projected x-problem is still the original weighted objective |x|+0*|x-1|, but the auxiliary interpretation is weaker. Therefore an exact epigraph formulation with nonnegative weights need not make every unused auxiliary variable equal to its modeled absolute residual.
For two feasible cost pairs (0, 1) and (0, 2), minimize the first cost only. Explain why a returned optimizer can be dominated.
Show the answer and reasoning
Both pairs minimize the first cost 0, but (0, 2) is dominated by (0, 1); a zero secondary weight permits a dominated return.
The first coordinate is 0 for both feasible cost pairs, so minimizing only that coordinate gives both pairs as global optimizers of the scalar criterion. This corresponds to weights (1, 0), not strictly positive weights. The pair (0, 1) is no worse in the first coordinate and strictly better in the second than (0, 2). It therefore dominates (0, 2) under the stated Pareto definition. Returning the latter is scalar-optimal but Pareto inefficient. The usual positive-weight proof fails because the strict improvement occurs entirely in a zero-weight coordinate. Its weighted cost contribution remains zero, so there is no strict decrease in the scalar objective to contradict optimality. A positive secondary weight or a secondary tie-break would select the dominating pair in this example, but each is an additional preference rule. The zero-weight scalar optimum should not be reported as automatically efficient in every originally listed cost.
For cost pairs (0, 100) and (1, 0), compare lexicographic priority of the first cost with minimizing their sum.
Show the answer and reasoning
First-cost lexicographic priority selects (0, 100); minimizing the sum selects (1, 0).
Lexicographic priority of the first cost compares that coordinate before considering the second. Since 0<1, it selects (0, 100); the second-coordinate disadvantage is irrelevant after a strict first-coordinate preference is found. The ordinary sum instead assigns 100 to (0, 100) and 1 to (1, 0), so it selects (1, 0). Summing assumes a commensurate conversion and equal numerical weights, which is a different preference from exact priority. For this finite two-point set, a weighted sum M*f1+f2 selects the lexicographic choice when M>100 and ties at M=100. That threshold relies on these specific costs and their finite first-coordinate gap; it is not a universal finite weight for continuous problems. Neither selection follows from feasibility alone or from a theorem that one tradeoff is intrinsically correct. The formulation must state which rule is intended. Units and the meaning of the two costs are needed before their unweighted sum can be interpreted physically.
For feasible set {x: x^2<=0} and candidate x=10^(-3), compute positive constraint residual and Euclidean distance. Explain why distance is not bounded by that residual with unit constant.
Show the answer and reasoning
Positive residual 10^(-6), distance 10^(-3); the distance/residual ratio is 1000, so the unit linear bound fails.
The inequality x^2<=0 has the sole feasible point 0. At x=10^(-3), the positive violation is max(x^2, 0)=10^(-6). The Euclidean distance to the feasible set is |x|=10^(-3). The proposed unit linear distance bound would say 10^(-3)<=10^(-6), which is false. The exact relation is distance=sqrt(residual), and the ratio distance/residual is 10^3=1000 at this candidate. For arbitrary small nonzero x, the ratio is 1/|x| and has no finite uniform bound near zero. Thus no fixed linear constant works throughout a neighborhood, although the square-root error relation is exact. A small residual remains useful only with its correct conversion. If x has a physical length unit, the residual has length squared, so any linear conversion coefficient would also need units. The example is stated in reference coordinates; its conclusion is geometric degeneracy rather than a numerical-roundoff failure.
For feasible set {-1, 1} and candidate 0, find every Euclidean nearest feasible point and distance; explain nonuniqueness.
Show the answer and reasoning
Nearest feasible points are -1 and 1, both at distance 1; the repair is nonunique.
The two feasible candidates are -1 and 1. Their distances from the proposed point 0 are both 1. Since the feasible set contains no other point, the minimum distance is 1 and both candidates attain it. The set is finite, hence closed and compact, so existence of nearest repairs is unsurprising. It is nonconvex, so the general closed-set existence result does not imply a unique projection. A repair rule selecting a sign is adding a tie convention. Averaging the two nearest points gives 0, but 0 is not in the original feasible set. It belongs to the convex hull [-1, 1], which is a different relaxed domain. Averaging feasible decisions therefore need not preserve a nonconvex constraint. An objective or a physical preference could choose between the two repairs, but that would solve a more specified task than Euclidean nearest distance alone. The example preserves the distinction between repair existence, repair uniqueness and preference among equally near feasible points.
Find all minimizers of (x-1)^2+lambda*abs(x) for lambda>=0 and identify the threshold for agreement with the hard constraint x=0.
Show the answer and reasoning
Unique minimizer x=max(0, 1-lambda/2) for lambda>=0; it agrees with the hard constraint exactly when lambda>=2.
For x<=0, the objective is x^2-(2+lambda)*x+1. Its derivative 2x-2-lambda is negative for every lambda>=0, so its minimum on that half-line is at 0. For x>=0, the objective is x^2+(lambda-2)*x+1 and has unconstrained minimizer 1-lambda/2. If 0<=lambda<2, the latter point is positive and has objective lambda-lambda^2/4<1. It is therefore the unique global minimizer. If lambda>=2, the right-half-line minimum is at 0, matching the left-half-line minimum, so 0 is the unique global minimizer. The compact formula is x_star=max(0, 1-lambda/2). At the threshold lambda=2, the right expression becomes x^2+1 and has only one minimum; there is no interval of minimizers. At lambda=0 the original unconstrained fit is minimized at 1, as the same formula gives. The hard constraint x=0 is matched exactly when lambda>=2. This is an exact piecewise proof for this objective and normalization, not a general universal penalty weight. Rescaling the constraint or the fit changes the numerical threshold.
For lambda>0, minimize (x1+x2-1)^2+lambda*(x1^2+x2^2). Derive the unique minimizer and compare its predicted sum with the exact observation 1.
Show the answer and reasoning
Unique minimizer x1=x2=1/(2+lambda); predicted sum 2/(2+lambda)<1, so finite regularization trades fit for size.
Introduce s=x1+x2 and d=x1-x2, an invertible linear coordinate change. The objective is (s-1)^2+(lambda/2)*(s^2+d^2). With lambda>0, the d term is uniquely minimized at d=0. The remaining scalar quadratic is (1+lambda/2)*s^2-2s+1, whose unique minimizer is s=1/(1+lambda/2)=2/(2+lambda). Inverting the coordinates gives x1=x2=s/2=1/(2+lambda). Positive coefficients in both squares establish global uniqueness. Its predicted observation is s=2/(2+lambda)<1, with residual s-1=-lambda/(2+lambda). The optimum value is lambda/(2+lambda), obtained by substitution or completing the square. The regularizer therefore accepts a nonzero data mismatch at every finite positive lambda. Without regularization, all pairs with x1+x2=1 fit exactly and the single observation does not identify their separate values. The positive penalty selects a unique pair through an added preference for small norm; that uniqueness is not evidence that the data alone determine the physical parameters. Hard exact fitting with minimum-norm tie-break would instead give (1/2, 1/2).
What to carry forward
- A complete problem states the adjustable quantities, allowed choices and criterion separately.
- A finite infimum need not be attained, and compact existence does not prove uniqueness.
- Equivalent formulations preserve the required domains, branches, quantifiers and cost ordering.
- A relaxation supplies a bound through set inclusion; its optimizer may violate the original discrete domain.
- Robust, expected and chance-constrained models express different assumptions about uncertainty.
- Pareto efficiency does not supply one universal preference or guarantee recovery by positive weighted sums.
- Residuals, penalties and regularization require their own interpretation and quantitative assumptions.
- A certified objective gap belongs to the verified feasible model and its valid bounds.
References
Sources for the concepts and teaching approaches in this article.
Stephen Boyd and Lieven Vandenberghe4 sources
- Optimization problems: definitionsStephen Boyd and Lieven VandenberghePrimary · PDF
- Equivalent optimization problemsStephen Boyd and Lieven VandenberghePrimary · PDF
- Robust and random constraintsStephen Boyd and Lieven VandenberghePrimary · PDF
- Pareto values and scalarizationStephen Boyd and Lieven VandenberghePrimary · PDF
- Local minima and existence of solutionsDimitri P. BertsekasPrimary · PDF