Completely positive cone Created 2026-10-06 Updated 2026-10-07
The convex cone of completely positive matrices:
It is a closed convex cone and the dual cone of the copositive cone under the Frobenius inner product. The finite-sum definition imposes no closure by fiat; closedness of the completely positive cone supplies that fact.
Conic dual problem Created 2026-10-06 Updated 2026-10-14
A conic dual problem searches for a lower bound on a conic optimization problem. A feasible point exhibits an attainable cost; a feasible dual variable explains why every allowed decision costs at least a specified amount. If the two costs agree, the pair certifies a global minimum without relying on how the points were found.
Fix a real matrix , vectors , , and a closed convex cone . With unrestricted , use the convention
where the dual cone is . The conic dual problem uses because it must turn every allowed slack variable into a nonnegative dot product. Taking gives componentwise linear inequalities; taking a second-order cone gives a Euclidean norm constraint. A self-dual cone has , but this equality does not guarantee a feasible point or strong duality.
The Lagrangian supplies a short derivation. For ,
Its infimum over unrestricted is when , and otherwise. Maximizing the resulting Lagrange dual function gives the stated conic dual problem. The minus sign matches the convention .
Conic optimization 2026-10-06
Optimization of a linear function subject to affine constraints and membership in a closed convex cone. Choosing the positive semidefinite cone gives semidefinite programming; other choices include copositive optimization and completely positive optimization. Dual cones produce scalar-product bounds on feasible objectives.
Conic primal-dual gap 2026-10-14
For a feasible point and a feasible dual variable , weak duality follows from one identity:
The inequality is the defining property of the dual cone. Every feasible pair therefore encloses the optimal objective function value:
Both optima are finite when such a pair exists. Consequently,
These are absolute cost bounds, rather than bounds on distance to an optimizing vector. Zero gap certifies both optima immediately. A small positive gap bounds the remaining improvement even if no strong duality theorem has been invoked.
For the nonnegative-orthant optimality certificate example, is feasible and costs . Pairing it with gives , so its cost exceeds the optimum by at most . Here the optimum is known to be , and the bound is exact. Pairing the same with the weaker certificate gives : a valid but less informative guarantee.
The identity assumes exact primal and dual feasibility. With a dual linear-system residual , it becomes
The second term has no guaranteed sign. Checking only a small linear-system residual and the cone dot product is insufficient when is large; a separate bound follows from the Cauchy-Schwarz inequality. Approximate cone membership likewise needs a quantified correction before claiming a certificate.
For an exact arithmetic example, minimize subject to . The point is optimal. A proposed multiplier is nonnegative and gives zero cone dot product because the slack is zero, but violates by . Its purported lower bound is , exceeding the optimum. The missing term explains the failure.
Under the nonnegative-pairing convention for the dual cone, follows from . Conversely, if , separation from a closed convex cone gives a separating nonnegative on all generators and negative on . That is a copositive matrix, so . This proves the displayed equality using closedness of the completely positive cone.
Farkas' lemma Created 2026-10-07 Updated 2026-10-14
For a real matrix and a vector , exactly one of the following systems has a solution:
The linear inequalities here are componentwise. In the first system is nonnegative; in the second system is unrestricted in sign. The second system is a certificate that the first has no feasible point. This nonnegative-equations alternative is developed in Boyd and Vandenberghe, Convex Optimization slides, §5.34.
Build the target, or separate it. Write the columns of as . Then is a conic combination: its coefficients must be nonnegative, but need not sum to one. The obtainable targets form the finitely generated cone
A solution explains how to build from those columns. A certificate instead defines a linear functional . The condition says that its dot product with every generating column is nonnegative, and hence with every point of . But places the target strictly on the other side of the hyperplane . Thus belongs to the dual cone of and rules out every allowed conic combination at once.
A certificate that can be checked by eye. Take the identity matrix
Here is the nonnegative orthant. The equation forces , violating . The certificate gives
The linear functional simply reads the first coordinate: all allowed column combinations have a nonnegative first coordinate, while has first coordinate . For comparison, the target is obtained with .
Figure 1.
Nonnegative column combinations lie in a cone, while a Farkas certificate separates the target
. For , the shaded nonnegative orthant is the conic hull of the two columns. The hyperplane for is the vertical axis; lies strictly on its negative side. The obtainable target illustrates the other alternative. Details.
Why this is useful and striking. A successful search can exhibit one feasible point; an unsuccessful search alone cannot explain why every candidate fails. Farkas' lemma guarantees an equally concrete witness of impossibility for this finite linear problem. Once is supplied, verification needs only matrix multiplication, sign tests and one dot product. The same idea gives a Farkas certificate for linear inequalities and underlies linear programming duality.
Brief geometric proof. The two systems cannot both hold, because they would imply
For existence of a certificate when , closedness of finitely generated cones makes a closed convex cone, so separation from a closed convex cone supplies and for every . Testing each column gives . Concretely, let be the Euclidean projection onto a convex set of onto and set . The projection inequality gives for . Testing and gives , whence . In the example, and . Alternatively, the Fenchel-Moreau theorem applied to the cone's indicator functional proves the same separation through its polar cone.
An original historical source is Julius Farkas's [ref]. The linked archival record verifies the author, title and publication details.
For a logarithmically homogeneous barrier on a proper cone, the convex conjugate with reversed argument defines a barrier on the interior dual cone. The inverse gradient relation makes equivalent to . This gives a joint primal-dual central path without assuming the barrier is identical on a self-dual cone.
Write for the dual cone, , and for the affine toric variety. This is the variety denoted in the source; the subscripts there refer to the cone of exponents, whereas refers to the cone in .
For a face of a polyhedral cone , define . If is in the relative interior of , nonnegativity on shows that a functional in vanishes on exactly when it vanishes on all of . Hence is a face of . Conversely a face of gives . Every polyhedral face is exposed: the supporting functionals for its containing facets can be added, since they are nonnegative. If , then , so
The same argument applied to proves , using the closed-cone identity . That identity follows from separation of a point outside a closed convex cone. Finally, enlarging makes its annihilator smaller. Thus these maps are inverse order-reversing bijections, proving face duality for polyhedral cones even when is not full-dimensional.
For the given integral exposing functional , we claim
One inclusion is immediate since vanishes on . For the other, let be nonnegative on and test it on finitely many generating rays of . Where vanishes, those rays belong to , so is already nonnegative. On every other ray is positive, so choosing a sufficiently large integer makes nonnegative on all the rays. This proves the claim. The corresponding semigroup algebra identity is
Thus the face chart is an open subvariety.
For a face , the span of monomials with is an ideal: if with , the face property forces both into . Its quotient is , defining the closed subvariety . If , this subvariety lies in .
Conversely, at a point , the exponents with form a semigroup face: a product is nonzero exactly when both factors are. These exponents are precisely the point of the toric lattices of a face of . To see the geometric assertion, choose finitely many monoid generators by the Gordan lemma. The nonzero generators span a cone. If that cone were not a face, a rational nonnegative relation would express a sum of its generators using an omitted generator with a positive coefficient. Clearing denominators and evaluating the corresponding monomials would equate a nonzero product to zero. Conversely, any point of the toric lattice in their cone has a positive integral multiple expressible using them, so its monomial must also be nonzero. This proves the monomial support face of a toric point assertion. If , then and every monomial outside vanishes at , placing in . Therefore, as reduced closed subvarieties,
The assertion concerns the closed set with its reduced structure; a monomial's principal zero subscheme can have multiplicities.
For the intersection assertion, choose integral exposing functionals for . Both are nonnegative on , so . Localization then gives
This uses the dual of the intersection, as printed in the PDF; the TeX's perpendicular symbol in that position is not the correct transcription.
For a general toric fan, the points with a fixed monomial support face form a torus orbit. The nonzero evaluations extend to a character of the lattice generated by that face, and restriction from the ambient algebraic torus is surjective over . Thus the affine calculation yields the orbit-cone correspondence: contains exactly the orbits for faces . The orbit associated to has character lattice , so it is the source's . The same monomial ideal calculation, chart by chart, shows that its closure is
Indeed, inside a chart containing , the closure has exponent face , and its smaller support faces correspond exactly to cones containing .
Fix , as required for its affine chart. If is not contained in , none of the larger cones can be contained in , so is disjoint from . Conversely every orbit outside has a cone not contained in , and it lies in . Consequently the global complement is exactly
Write , , and . The semigroup algebra has basis , , with . The vertex assumption means that is strongly convex, so its dual cone has full dimension. By the Gordan lemma, is finitely generated: choose integral toric cone generators and subtract integer parts of their nonnegative coefficients; the remainder lies in a bounded parallelepiped with only finitely many lattice points. This argument also applies when has lineality space, by including generators in both directions there.
Choose an integral interior point . For every , both and belong to for all sufficiently large integers . Thus . Inverting all monomial generators of gives the group algebra , which becomes after a basis of is chosen. This proves the dense torus of an affine toric variety assertion:
Density follows because the localization of a ring is of a domain. The algebra map from to defines the extended algebraic torus action; on it is ordinary multiplication.
For a face of a polyhedral cone , set . The convex face property ensures that this is an ideal, and quotienting leaves . Hence is a closed subvariety of . Its open algebraic torus consists of points where precisely the monomials with exponent in are nonzero.
To see that these algebraic tori exhaust the points, let be a point of and put . Multiplicativity gives if and only if both . Thus is a semigroup face. It is for a unique polyhedral convex face : among a finite generating set of , take the toric cone spanned by generators nonzero at . A relation expressing a sum with a generator outside this toric cone as a combination of generators inside would, after clearing rational denominators, contradict the displayed multiplicativity property. Therefore the toric cone is a convex face. Conversely, if lies in that convex face, a positive multiple of is an integral sum of those generators, so is nonzero as well. This also proves uniqueness.
The point lies in exactly when its convex face is all of . Therefore
One can equivalently write this as the disjoint union of the open algebraic tori of the proper convex faces. For , the same description shows that exactly when is not in the convex face supporting . On every with the monomial vanishes identically. Consequently the monomial zero locus in an affine toric variety is
This is an equality of reduced subvarieties, or of their underlying closed sets. The principal subscheme itself may have multiplicity, as already shows on .
The face duality for polyhedral cones is the order-reversing pair of maps
Their values are convex faces because the relevant pairings are nonnegative and a sum pairs to zero only if each summand does. More explicitly, finitely many nonnegative exposing functionals can be summed to expose the indicated intersection. For a convex face , choose exposing it: . Then , so , while the reverse inclusion is immediate. Apply the same argument to a convex face of , using , to prove the other composite is the identity. Inclusion reversal follows directly from annihilators. This proves the bijection, not just the existence of the maps.
For , write and . An exposing functional for is strictly positive on every toric ray outside . Small perturbations of within preserve those finitely many strict inequalities, so has nonempty relative interior in and spans it. Therefore generates , by the interior-point argument used above within that subspace. Thus the open algebraic torus of is . Here uses the lattice in the whole annihilator, rather than the toric cone semigroup. The sublattice is a saturated sublattice of and consequently a direct summand; restriction is surjective. The extended algebraic torus action is multiplication on this open algebraic torus and hence transitive. All other monomials vanish there. It follows that
This is the torus orbit-cone correspondence and its orbit closure in a toric variety description. Under convex face duality, .
Finally, choose integral exposing . Localizing at gives : for , adding a sufficiently large multiple of makes it nonnegative on every toric ray of outside , while preserving nonnegativity on . Hence is the usual affine open chart inside . An orbit belongs to it exactly when . The requested complement of an affine toric face chart is therefore
All sets on the right are closed, and if is not contained in , neither is any convex face containing . This justifies replacing the excluded orbits by their whole closures.
First suppose has full dimension in . Form the toric cone over it in and the graded semigroup algebra
where degree zero contains only . The lattice semigroup is finitely generated by the Gordan lemma. The projective toric variety of a lattice polytope is . Using all lattice points in all dilates avoids any assumption that the degree-one lattice points generate the ring.
For each vertex of , the degree-zero part after inverting is
Indeed its exponents are with . Conversely, every lattice point of the tangent toric cone has this form for sufficiently large integral . These charts cover the Proj construction: each point of a dilate is a rational convex combination of vertices, so some power of its monomial is a product of vertex monomials. Their dual cones are the vertex toric cones of the inward normal fan of a polytope. The normal toric fan is complete because every linear functional on attains its minimum on a convex face. This describes as a complete toric variety. Translating by gives the graded isomorphism , so containing the origin is unnecessary. If is not full-dimensional, translate a lattice vertex to zero and use ; the construction is then complete of dimension .
For the simplex in question put . Its inequalities are and , so its inward normal toric rays are and . Here the in the dual space denote the standard dual basis. Apply the real linear map . It carries these toric rays and their convex face incidences to the standard simplex fan, with toric rays . The transported lattice is
With , the primitive vectors of this toric fan in are and . The latter is primitive because requires each to be integral, whose smallest positive solution is . Their unique primitive relation is
Thus mutual coprimality beyond the displayed common gcd condition is not needed.
For a general complete toric variety, introduce one variable for each toric ray. Its toric homogeneous coordinate ring, or Cox ring, is
The toric divisor class sequence is , where the first map is . Thus the graded piece has basis the monomials with and . For an invariant divisor , monomials in degree correspond to algebraic torus characters through . This also identifies that graded piece with the global sections of .
In our example , and its map to sends to . The quotient is therefore , via . In particular and , giving the explicit graded isomorphism
The target has the grading inherited from ordinary total degree in . Its displayed generators are algebraically independent, which proves injectivity as well as surjectivity onto that subring.
To obtain the quotient, the toric irrelevant ideal is generated by . Here each maximal toric cone omits exactly one toric ray, so it is , and the open set is . The diagonalizable algebraic group with algebraic torus character group is . Its action on the Cox coordinates is dictated by their degrees, namely
Here the name the independent Cox coordinates; the graded-subring realization above does not change their weights. More concretely, the quotient chart where has coordinate ring , the invariant ring for this action. These charts glue to and to the specified toric fan charts. Positive weights make each orbit closed inside the punctured affine space, and in characteristic zero the finite stabilizers cause no failure of this geometric quotient. This is the weighted projective space construction.
Use the nonnegative-pairing dual cone . The Lagrangian is for . Its infimum over unrestricted is finite exactly when . Therefore the conic dual problem is
The final equality uses the self-dual cone assumption.
For the canonical self-concordant barrier, use its logarithmically homogeneous barrier normalization
At parameter , the primal barrier problem is
Write , the Legendre dual cone barrier. The matching dual barrier problem is
Defining the dual barrier this way is valid generally; self-duality of the cone alone does not assert that an arbitrarily selected barrier equals its Legendre dual.
The joint central path characterization is
The primal stationarity equation is , exactly the dual feasibility equation after defining . For the dual relation, logarithmic homogeneity gives , so . Thus dual stationarity is , giving the same primal equation. At these points,
Newton step. At a chosen target parameter , define
Linearizing the three equality conditions gives the central-path Newton system
Eliminating the slack and dual directions yields
The barrier Hessian is positive definite. Full column rank of therefore makes positive definite and the reduced solve unique. Use a damped step with and remaining interior; a full Newton step need not do so.
At an exact point with parameter , choosing gives and , the usual predictor towards the next path point. Infinitesimally,
The path definition presupposes interior feasibility and attainment of the barrier problems; strict primal-dual feasibility is a standard sufficient setting. The printed full-rank condition by itself is insufficient. For example , , and give the sole primal feasible point , with no interior slack at all, despite full column rank. Rank guarantees the Newton solve at an interior point, not existence of the central path.
For in the dual cone , copositivity of gives . An upper-bounding Lagrangian for the maximization is therefore
Its supremum over unrestricted is finite precisely when . Minimizing that upper bound gives the conic program
This is completely positive optimization, not simply semidefinite programming: is the completely positive cone.
There is also a direct equality certificate. Every feasible , , has . Its objective is a weighted average of the nonnegative-sphere Rayleigh quotients, hence is at least . For a minimizing unit vector from part (g), is feasible and has objective . Thus attains the dual and both values agree, without relying on unverified regularity assumptions.
For , membership in the dual cone is equivalent to
The Hilbert basis of a rational cone is . Therefore the coordinate ring of an affine toric variety is
Write . The inequalities defining the dual cone are
Thus
Its Hilbert basis of a rational cone is
Indeed, after subtracting copies of one reduces to or , and the remaining point is generated by and . The coordinate ring of an affine toric variety is therefore
Putting , , and gives the alternative presentation
Self-dual cone Created 2026-10-07 Updated 2026-10-14
A self-dual cone equals its dual cone under the specified inner product. The nonnegative orthant, second-order cone and positive semidefinite cone are standard examples. Self-duality of a set alone does not establish primal or dual feasibility.
For in the second-order cone, the Cauchy-Schwarz inequality gives . Thus the cone is contained in its dual cone. Conversely, if and , pairing with is negative. If and , use . Every point outside the cone therefore lies outside its dual, proving that it is a self-dual cone.
For a proper cone , suppose a point satisfies and is finite. This generalized Slater condition gives strong duality and attainment of the conic dual problem's optimum. It does not by itself assert primal attainment.[ref]
The two worked examples have strict primal points: has slack in the interior of the nonnegative orthant, and has slack in the interior of the second-order cone. Both optima were already certified by explicit feasible pairs. Slater's condition explains why a matching optimal dual variable can be expected under these hypotheses; checking a supplied zero-gap pair needs only weak duality.
Changing cone geometry preserves the bound mechanism. For a positive semidefinite cone, the dual cone pairing is the Frobenius inner product of two matrices. This connects the same certificate idea to semidefinite programming, while the central path uses strictly interior primal and dual points to approach vanishing gap.
In 1995, Lieven Vandenberghe and Stephen Boyd presented a primal-dual interior-point method for convex optimization with matrix inequalities. Their algorithmic study included exploiting problem structure and allowing incomplete Conjugate gradient method solves within an iteration. This illustrates how the primal-dual viewpoint guides computation as well as checking a final answer.[ref]