44.05.03 · optimization-control / 05-conic-semidefinite

Geometric Programming

shipped3 tiersLean: none

Anchor (Master): Boyd, Kim, Vandenberghe & Hassibi 2007 A Tutorial on Geometric Programming (Optimization and Engineering 8(1)) §4-§9; Duffin, Peterson & Zener 1967 Geometric Programming (Wiley) Ch. 1-3; Chiang 2005 Geometric Programming for Communication Systems (now Publishers) §1-§3

Intuition Beginner

Many engineering quantities multiply rather than add. The power a chip burns scales with the product of its width, its voltage squared, and its switching rate; the volume of a box is length times width times height; signal strength falls off as a product of gains and distances raised to powers. When the things you can tune enter as products of powers, ordinary linear thinking does not fit. Geometric programming is the optimization method built exactly for this multiply-and-power world.

The two building blocks have plain meanings. A monomial here is a single product term: a positive number times each variable raised to some power, like . A posynomial is a sum of such terms, all with positive coefficients, like . Posynomials are the natural language for costs, areas, powers, and delays that pile up from several multiplicative effects. A geometric program asks you to make one posynomial as small as possible while keeping other posynomials below their budgets.

Why is this special? Because of one magic trick. If you stop working with the variables themselves and instead work with their logarithms, every one of these multiply-and-power expressions straightens out. Products turn into sums, powers turn into multipliers, and the whole tangled problem becomes a bowl-shaped one — the kind with a single global lowest point and no hidden traps. So a problem that looked hopelessly nonlinear is secretly one of the friendly problems we can always solve.

That is the appeal of geometric programming: a large, practical family of design problems that look forbidding in their raw form but become reliably solvable the moment you take logarithms.

Visual Beginner

Figure: two panels showing the same problem before and after taking logarithms. On the left, in the original variables, the feasible region is a curved, lopsided patch bounded by hyperbola-like curves, and the cost contours are warped — it looks nonlinear and forbidding. On the right, after the substitution "new variable = log of old variable," the same region becomes a clean convex shape with straight-ish smooth boundaries and nested bowl-shaped cost contours, with a single distinctly marked lowest point.

   ORIGINAL VARIABLES x, y            LOG VARIABLES  u = log x, v = log y

   y |   curved, warped              v |    convex region,
     |   feasible patch                |    smooth bowl contours
     |    __                           |      .-''''-.
     |   /  \___  cost                 |     /  (min) \
     |  | curves |  (hard to read)     |    |    *     |
     |   \______/                      |     \        /
     +-------------- x                 +------'-....-'------- u
     multiply-and-power:               take logs:
     products and powers               products -> sums,
     everywhere                        powers -> multipliers

         "looks nonlinear"      ==>     "is secretly convex"

Worked example Beginner

We design a rectangular open-top storage box of cheapest material, a classic geometric program small enough to do by hand. Let the base be by and the height be , all positive lengths in meters. The box must hold at least one cubic meter: . The material cost counts the base and the four sides: cost (the base area plus the two pairs of opposite walls). We want the cost as small as possible.

Step 1. Read off the pieces. The cost is a sum of three positive product terms, so it is a posynomial. The volume rule rearranges to , also a posynomial budget. This is a geometric program.

Step 2. Use symmetry to guess. The two side-wall terms treat and the same way, so try a square base . The volume rule at the boundary gives , so .

Step 3. Reduce to one variable. Substituting, the cost becomes .

Step 4. Find the lowest point. As grows the term climbs; as shrinks the term blows up, so a single best sits in between. Testing values: at the cost is ; at it is ; at it is about . The minimum is near with cost about .

What this tells us. The cheapest box has a square base of side about m and height m. A multiply-and-power design problem that looked nonlinear had one clean best answer, and posynomials were the exact language to write it down.

Check your understanding Beginner

Formal definition Intermediate+

Throughout, the optimization variable is with each ; the domain is the positive orthant .

Definition (monomial). A monomial is a function of the form

The coefficient is positive but the exponents may be any real numbers (negative, fractional). This is the geometric-programming sense of "monomial" and differs from the algebraic sense (no nonnegative-integer-exponent restriction, single term, positive coefficient).

Definition (posynomial). A posynomial is a finite sum of monomials,

Posynomials are closed under addition, multiplication, positive scaling, and raising to a nonnegative power; a monomial is the special case , and the ratio of a posynomial by a monomial is again a posynomial.

Definition (geometric program in standard form). A geometric program (GP) is the optimization problem

where are posynomials, are monomials, and the variable ranges over [Boyd & Vandenberghe §4.5]. Inequality constraints use posynomials bounded above by , equality constraints use monomials equal to . A constraint with is brought to standard form by dividing through, ; a constraint between monomials becomes .

Definition (the log-log change of variables). Substitute , so , and replace each posynomial by the logarithm of its value. A monomial becomes

an affine function of . A posynomial becomes

a log-sum-exp of affine functions, which is convex by the convexity of log-sum-exp (44.01.01) composed with affine maps.

Definition (convex form of a GP). Applying the substitution and taking logarithms throughout, the GP becomes

This is a convex optimization problem: the objective and inequality functions are convex (log-sum-exp of affine), and the equality constraints are affine. Solving the original GP is equivalent to solving this convex program, after which recovers the design.

Counterexamples to common slips

  • A single negative coefficient breaks the posynomial structure. is not a posynomial; the term has a negative coefficient. Such expressions are signomials, and the log-log trick does not convexify them — log-sum-exp requires every coefficient positive.
  • Equality of two posynomials is not a GP constraint. A constraint with a genuine () posynomial is generally nonconvex after the substitution, because is not an affine equality. Only monomial equalities () stay affine in ; posynomial equalities must be relaxed or restructured.
  • Maximizing a posynomial is not a GP. GP minimizes a posynomial. Maximizing a posynomial, or minimizing for a posynomial , makes the objective concave-after-substitution and is outside the class.

Key theorem with proof Intermediate+

The organizing result is that the log-log substitution converts every geometric program into an equivalent convex program, so the global solvability of GP rests entirely on the convexity of log-sum-exp from 44.01.01.

Theorem (GP convexification). Let a GP be given in standard form with posynomial objective and constraints and monomial equalities , feasible over . Under the bijection between and , the transformed problem with objective , inequality constraints , and affine equality constraints is a convex optimization problem, and solves the GP if and only if (componentwise) solves the convex problem, with equal optimal values up to the monotone map .

Proof. The map , , is a bijection with inverse , both continuous and strictly monotone in each coordinate. Feasibility is preserved exactly: a monomial constraint holds iff iff (an affine equality), and a posynomial constraint holds iff iff , using that is strictly increasing on so the inequality direction is retained.

For convexity, fix any posynomial with . After substitution each term is with , so

The log-sum-exp function is convex on (44.01.01, where its Hessian with , was shown positive semidefinite by Cauchy-Schwarz). Each argument is affine in , so for the affine map . Composition of a convex function with an affine map is convex (the operation calculus of 44.01.01), so is convex. Applying this to gives a convex objective and to each a convex inequality function with the sublevel constraint defining a convex feasible set; the are affine. The transformed problem therefore minimizes a convex function over a convex set, which is a convex program.

Equivalence of solutions follows because is a feasibility-preserving bijection and is strictly increasing: minimizing over the GP-feasible set is the same as minimizing , so is a minimizer iff minimizes over the transformed feasible set, with .

Bridge. This theorem builds toward the interior-point solvers of 44.05.04 and appears again in every practical use of GP, from circuit sizing to power control. This is exactly the convexity of log-sum-exp from 44.01.01 doing all the work: the multiply-and-power structure of posynomials is the precise structure that the logarithm linearizes, and the only nonlinearity left, the sum inside the log, is the one function 44.01.01 already certified convex. The foundational reason GP is a tractable modeling class while general signomial programming is not is visible here — the proof needs every coefficient positive so that is real and the expression is a genuine log-sum-exp; a single negative coefficient destroys this and the convexity with it. Putting these together, GP generalises the linear program in the log domain (a GP whose every posynomial is a single monomial becomes an LP in , since each is then affine), and the convex form is dual to the original posynomial form through the bijection ; the convexified GP is precisely the problem class that the self-concordant-barrier machinery of 44.05.04 solves to global optimality in polynomial time.

Exercises Intermediate+

Advanced results Master

The GP dual and the degree of difficulty

Geometric programming was born with a dual, predating the convex-analytic viewpoint. For the unconstrained primal , the GP dual is the maximization, over dual weights , of the product form

derived directly from the arithmetic-geometric-mean inequality [Duffin, Peterson & Zener 1967 Ch. 3]. Weak duality is the AM-GM bound of Exercise 7; strong duality holds under the primal-feasibility (Slater) hypothesis. The constrained case attaches one block of weights per posynomial and an extra normalization per constraint. The degree of difficulty is , the number of dual variables minus the number of normalization-plus-orthogonality equations; when it is zero the orthogonality system pins uniquely and the GP is solved in closed form by linear algebra, with the optimal primal recovered from the monomial-term ratios . This dual is the modern conic dual of 44.05.01 read through the exponential cone, but its closed-form low-degree-of-difficulty cases remain the reason GP duality is taught on its own terms.

Generalized geometric programming and the modeling reach of the class

The convexity-after-logarithm property survives a substantial enlargement of the syntax. Generalized posynomials are formed from ordinary posynomials by addition, multiplication, positive powers, maximum, and composition with posynomials of posynomials; Exercise 6 shows each becomes convex in . Generalized geometric programming minimizes a generalized posynomial subject to generalized-posynomial constraints, and remains a convex problem after the substitution, hence globally solvable [Boyd, Kim, Vandenberghe & Hassibi 2007 §8]. The practical payoff is that maxima of posynomials (worst-case delays, worst-case power), fractional powers (norms, RMS quantities), and nested posynomial-of-posynomial expressions all stay inside the tractable class. Modeling tools exploit this by certifying a model as a generalized GP through a parse-tree check identical in spirit to the disciplined-convex-programming ruleset of 44.01.01, so a designer writes the multiply-and-power model directly and the convexification is automatic.

Signomial programming, condensation, and the loss of convexity

A signomial is a sum of monomial terms with coefficients of either sign, and a signomial program allows signomial objective and constraints. The class is genuinely larger and genuinely harder: after the log substitution a signomial constraint becomes a difference of log-sum-exp functions, a difference-of-convex constraint, and the problem is in general nonconvex and NP-hard. The dominant heuristic is condensation (Exercise 7): at the current iterate, replace each posynomial appearing in a denominator or on the larger side of a signomial inequality by its tight monomial AM-GM under-estimate, producing a GP whose solution becomes the next iterate. This is a convex-concave / inner-approximation scheme; each GP solve is a global step on a tightened convex surrogate, and the iteration converges to a point satisfying the KKT conditions of the signomial program though not necessarily its global optimum [Boyd, Kim, Vandenberghe & Hassibi 2007 §9]. The contrast with the GP case is the central structural fact of the subject: positive coefficients buy global solvability, mixed signs cost it.

Applications: where multiply-and-power structure is native

The reach of GP is widest precisely where physical and economic quantities combine multiplicatively. In analog and digital circuit design, transistor delays, areas, and power are monomials in device widths and lengths, so gate and op-amp sizing is a GP solved to global optimality over hundreds of devices [Hershenson, Boyd & Lee 2001]. In wireless power control, signal-to-interference constraints are posynomial (Exercise 5) and network utility maximization is a GP or, with rate-dependent interference, a signomial program attacked by condensation [Chiang 2005]. Other native domains include chemical-equilibrium and process design (the original Zener applications), structural and mechanical sizing under stress and deflection limits, information-theoretic and queueing performance bounds, and statistical maximum-likelihood for log-concave models. The common thread is that the design law arrives as products of powers, the form for which GP is not an approximation but the exact convex reformulation.

Synthesis. Geometric programming is exactly the convex optimization hiding behind multiply-and-power design laws: the log-log substitution maps posynomials to log-sum-exp of affine functions, and the central insight is that one convexity fact from 44.01.01 — that log-sum-exp is convex — globalizes the entire class. The foundational reason GP is a distinct and durable modeling category, rather than a footnote to general convex programming, is its closure algebra: monomials and posynomials are closed under the operations designers actually use, so a parse-tree check certifies convexity without a Hessian, and the convexified program feeds the self-concordant-barrier interior-point machinery of 44.05.04 that solves it at scale. Putting these together, the GP dual generalises the AM-GM inequality into a duality theory whose zero-degree-of-difficulty cases close in algebra, and it is dual to the conic exponential-cone formulation of 44.05.01, the two viewpoints meeting at the same optimum. This is exactly where the boundary of tractability sits: positive coefficients keep the transformed problem convex, while a single negative coefficient drops the model into signomial programming, where condensation replaces global solvability with a sequence of GP surrogates; the bridge is the logarithm, the one map through which posynomial algebra, log-sum-exp convexity, the AM-GM dual, and the interior-point solvers of 44.05.04 become a single story, and it appears again in circuit sizing, power control, and every engineering design whose governing law is a product of powers.

Full proof set Master

Proposition 1 (posynomials form a convex cone under the log substitution). For a fixed exponent structure, the set of functions obtained from posynomials is closed under the log-domain image of posynomial addition and positive scaling, and each such is convex.

Proof. Convexity of each is the Key theorem: with the convex log-sum-exp and affine. For the algebra, if and are posynomials then is the posynomial with the concatenated term list, and its log-domain image is , a log-sum-exp over the union of terms; positive scaling () shifts each by . Both stay log-sum-exp of affine functions, hence convex. Multiplication is again a posynomial (its log-domain image is the log-sum-exp over the product terms with exponents ), so the posynomial set is closed under addition, positive scaling, and multiplication, and the log substitution carries each into the convex cone of log-sum-exp functions.

Proposition 2 (GP weak duality via AM-GM). For the unconstrained primal and any dual-feasible (i.e. , , for all ), the dual objective lower-bounds the primal optimum: for every .

Proof. Apply the weighted AM-GM inequality (weights summing to ) to , where is the -th monomial term. The left side is . The right side is

The orthogonality conditions make every exponent vanish, so and the right side equals , independent of . Therefore for all feasible , which is GP weak duality.

Proposition 3 (zero degree of difficulty gives a closed-form solution). If the unconstrained GP has terms and the orthogonality-plus-normality system has a unique nonnegative solution , then the primal optimum equals and is attained.

Proof. The system is linear equations in the unknowns ; uniqueness of the nonnegative solution makes the dual feasible set a single point, so the dual maximization is the evaluation . By Proposition 2 this value lower-bounds the primal for every . AM-GM holds with equality iff all the are equal, i.e. for all . These ratio conditions are monomial equalities in ; taking logarithms gives a linear system in that is solvable because the exponent matrix has full row rank (its kernel is the one-dimensional normality direction already fixed). The resulting attains , so the bound is met and is the optimum.

Proposition 4 (condensation produces a monomial under-estimate tight at the chosen point). Let be a posynomial and . With weights , the monomial satisfies for all , with equality at , and .

Proof. The inequality is Proposition 2 / Exercise 7 with this weight choice. Equality at : the AM-GM equality condition requires all equal, and for every , a common value, so the bound is tight and . For the gradient match, work in the log domain where is the affine first-order term of at : indeed , matching the gradient of the condensed affine form. Equal value and equal log-domain gradient at give , so condensation is a tight, first-order-accurate monomial under-estimate — the property that makes the condensation iteration a convergent inner-approximation method.

Connections Master

  • The convex-modeling unit 44.01.01 is the direct parent: the entire tractability of geometric programming is the convexity of the log-sum-exp function proved there, applied after the bijection . Posynomial addition becomes log-sum-exp, monomials become affine maps, and the convexity-preserving operation calculus of 44.01.01 is what certifies the convex form of a GP and of every generalized GP without computing a Hessian.

  • Conic optimization 44.05.01 situates GP in the broader convex-programming landscape: the convexified GP is representable over the exponential cone, so GP joins LP, SOCP, and SDP as a named convex modeling class, and the GP dual is the conic dual of 44.05.01 read through that cone. A monomial GP collapses to an LP in the log domain, exhibiting the LP GP-in-log-form inclusion alongside the conic ladder of that unit.

  • Interior-point methods 44.05.04 are how GP is actually solved: once convexified, a GP is a smooth convex problem with log-sum-exp objective and constraints, and the self-concordant-barrier primal-dual path-following machinery of 44.05.04 returns the global optimum in polynomial time, which is the reason GP scales to circuit-sizing problems with thousands of devices.

  • The signomial extension links GP to the difference-of-convex and sequential-convex-programming circle: a signomial program is a difference-of-log-sum-exp problem solved by condensation, an inner-approximation scheme that produces a sequence of GPs and converges to a KKT point, connecting GP to the constraint-qualification and KKT theory consumed throughout the optimization-control section 44.05.01.

Historical & philosophical context Master

Geometric programming originated not in convex analysis but in engineering economics. Clarence Zener, studying the cost minimization of equipment whose terms were products of powers, observed in the early 1960s that the arithmetic-geometric-mean inequality gave a clean lower bound, and with Richard Duffin and Elmor Peterson developed this into a full duality theory in the 1967 monograph Geometric Programming: Theory and Application [Duffin, Peterson & Zener 1967]. Their formulation was dual-first: the posynomial primal was attacked through the AM-GM dual, with the degree of difficulty measuring how far the orthogonality system fell short of determining the dual weights, and zero-degree-of-difficulty problems solved in closed form. The name "geometric programming" honors the geometric mean at the center of the inequality.

The recognition that the log-log substitution turns a GP into a convex program reframed the subject within the convex-optimization theory codified by Boyd and Vandenberghe [Boyd & Vandenberghe §4.5], and the 2007 tutorial of Boyd, Kim, Vandenberghe, and Hassibi [Boyd, Kim, Vandenberghe & Hassibi 2007] consolidated the modern view: GP as a convex modeling class solved by interior-point methods, with generalized GP and the signomial/condensation heuristics as principled extensions. The applications that revived the field were technological — analog circuit sizing by Hershenson, Boyd, and Lee [Hershenson, Boyd & Lee 2001], and wireless power control and network utility maximization synthesized by Chiang [Chiang 2005] — each exploiting that delays, powers, and rates are native posynomials, so global optimization replaced the local heuristics that had dominated those design disciplines.

Bibliography Master

@book{boyd2004convex,
  author    = {Boyd, Stephen and Vandenberghe, Lieven},
  title     = {Convex Optimization},
  publisher = {Cambridge University Press},
  year      = {2004}
}

@article{boyd2007tutorial,
  author  = {Boyd, Stephen and Kim, Seung-Jean and Vandenberghe, Lieven and Hassibi, Arash},
  title   = {A Tutorial on Geometric Programming},
  journal = {Optimization and Engineering},
  volume  = {8},
  number  = {1},
  pages   = {67--127},
  year    = {2007}
}

@book{duffin1967geometric,
  author    = {Duffin, Richard J. and Peterson, Elmor L. and Zener, Clarence},
  title     = {Geometric Programming: Theory and Application},
  publisher = {Wiley},
  address   = {New York},
  year      = {1967}
}

@article{hershenson2001optimal,
  author  = {Hershenson, Maria del Mar and Boyd, Stephen P. and Lee, Thomas H.},
  title   = {Optimal Design of a {CMOS} Op-Amp via Geometric Programming},
  journal = {IEEE Transactions on Computer-Aided Design of Integrated Circuits and Systems},
  volume  = {20},
  number  = {1},
  pages   = {1--21},
  year    = {2001}
}

@article{chiang2005geometric,
  author  = {Chiang, Mung},
  title   = {Geometric Programming for Communication Systems},
  journal = {Foundations and Trends in Communications and Information Theory},
  volume  = {2},
  number  = {1--2},
  pages   = {1--154},
  year    = {2005}
}