Introduce integer-valued slack variables and . Write . The initial simplex dictionary isIn the simplex algorithm, let enter. The first constraint is the only limiting one, so leaves at . Substitution givesNow enters and leaves: its ratio is smaller than the first row's ratio . The resulting simplex dictionary isAll nonbasic objective coefficients are nonpositive, and the basic values are nonnegative. Thus the continuous linear program has optimum
For integer programming, a row with integer variables yields the Gomory fractional cut , where is the fractional part. In the first row, the coefficient of on the left is , whose fractional part is , not . The two possible initial Gomory fractional cuts are thereforeIndeed . Choose the second row: implies , so its cut removes a strictly larger portion of the feasible polygon. This compares both printed alternatives before any further integer rounding.
Use the normalized integer slack variable , rather than an unnecessarily scaled cut slack. At the current basis,The simplex dictionary is dual feasible but primal infeasible. In the dual simplex algorithm, leaves; the ratios of objective loss to improvement of this negative basic value are for and for , so enters. The pivot givesThe relaxed optimum is now , still nonintegral. The fractional row gives the next Gomory fractional cutThe negative left-hand coefficient of also has fractional part . Normalize the new integer slack variable as . Its dictionary row is . The dual simplex algorithm chooses to enter: its ratio is , compared with for . Substitution givesSetting the nonbasic to zero gives a feasible integer solution. The final objective row bounds every point in the cut relaxation by , so the integer optimum isBoth cuts are valid for every original integer feasible point, making this also a certificate for the original integer program.
Use the usual finite binary encoding of integer or rational input data. NP consists of decision problems whose yes-instances have polynomial-length certificates in computational complexity verifiable in polynomial time. A decision problem is NP-hard if every problem in NP has a polynomial-time many-one reduction to it. It is NP-complete if it is both NP-hard and in NP. An optimization problem is NP-hard when computing its optimum would solve every NP decision problem through a polynomial-time reduction and an optimum-value query; membership in NP applies directly to decision problems, not to an unqualified optimization task.
Reduce subset sum to the 0-1 knapsack problem by setting and . Every feasible value is at most , and the optimum equals exactly when the subset sum answer is yes. The transformation and final comparison take polynomial time. Since subset sum is assumed NP-complete, exact knapsack optimization is NP-hard.
For the half-approximation algorithm for knapsack, use nonnegative weights and profits. Delete overweight items and nonpositive-profit items; take all positive-profit zero-weight items for free. On the remaining positive-weight items, sort decreasing . Take the maximal initial prefix fitting the capacity, and stop at the first item that would overflow. Let be the prefix profit, and let be the largest profit of any individually feasible remaining item. Return the better of the prefix and that singleton, together with the free items. If every item fits, take them all.
The fractional knapsack problem fills exactly that prefix and a fraction of the first excluded item. Its optimum bounds the integer optimum, and without the free items its value is at most . ThusWith total free profit , the same inequality is . This gives an approximation ratio of in sorting time, with polynomial bit complexity for rational data. Nonnegative weights and capacity are the standard knapsack problem assumptions; unrestricted negative weights would not support this argument.
For the quadratic knapsack problem and its fractional row bound for quadratic knapsack, multiply the capacity inequality by the binary and use :Remove items with first. If , the remaining coordinates are feasible in the fractional problem defining , so . If , that row's contribution is zero. Hence, with ,The double sum counts each symmetric interaction twice; there is no factor in this problem. Each is a fractional knapsack problem, computable by sorting positive ratios, also handling zero weights separately. This takes polynomial time even when some interactions are negative, because an optional fractional item with negative profit is omitted.
The resulting 0-1 knapsack problem need not be solved exactly. Relax its capacity constraint with a Lagrange multiplier . Its Lagrangian knapsack bound isFor feasible , adding only increases its objective, and maximizing over independent binary choices produces the displayed expression. It is a convex piecewise-linear function with breakpoints at positive . Evaluate those breakpoints and zero, or use the fractional knapsack problem ordering; the best bound is computable in polynomial time. Thus computing all and one additional Lagrangian relaxation gives the requested upper bound.
For the numerical example, the problem has capacity and item ratios and . Select and . This givesAn exchange argument justifies optimality: capacity used on the lower-ratio item can be transferred to the higher-ratio item until the latter is full. The stated and similarly follow from residual capacities and . Therefore , with ratios . The fractional solution takes items and one-third of item , yielding . At the Lagrangian knapsack bound gives the same value:The fractional solution attaining proves that this is the best bound from this auxiliary Lagrangian relaxation, though it need not be the exact quadratic optimum.
For branch and bound, branch on whether an unresolved is zero or one. If the selected set is , subtract its weight from the residual capacity and retain its exact objective as a constant. For each remaining item replace by , preserving the original interactions between remaining items. Recompute the fractional row bounds and the Lagrangian knapsack bound for that residual problem. Maintain an incumbent from genuine feasible binary solutions evaluated with the quadratic objective; prune infeasible nodes and nodes whose bound is no better than the incumbent. For example, selecting items gives the feasible value . A finite binary branching tree eventually certifies the optimum, but worst-case running time is exponential, as expected for an NP-hard problem.
Use a directed bipartite graph with one vertex for each job and one for each agent. Job vertices have supply and agent vertices demand . An arc from job to agent has cost and nonnegative flow ; an upper bound may be added, but is already implied by the balances. The minimum-cost flow formulation of the assignment problem isInteger supplies and demands give an integral optimum by integrality of the transportation problem. Its positive arcs form a perfect matching, hence give one job per agent.
A network simplex algorithm basis for this connected -vertex network has tree arcs, whereas an integral assignment has only positive flows. For , at least basic tree arcs therefore carry zero flow. This unavoidable degeneracy in linear programming can cause zero-step pivots, extra bookkeeping and cycling unless an appropriate pivot rule is used. The Hungarian algorithm exploits the assignment structure directly rather than maintaining many zero-flow basic arcs.
Suppose the assignment dual potentials satisfy . For every feasible assignment ,If the selected assignment uses only arcs with , its cost equals this lower bound. Weak duality and complementary slackness certify optimality. The PDF correctly denotes the feasible assignment by ; the TeX aid mistakenly replaces it with .
The Hungarian algorithm maintains feasible assignment dual potentials and a matching in a graph of zero reduced cost edges, where . Search for an augmenting path in a matching in this equality graph. If there is none, let be the reachable jobs and the reachable agents in the alternating search from unmatched jobs. Every agent in is matched to a job in . SetReduced costs from to its complement decrease by , those from outside into increase, and the remaining ones do not change. Thus feasibility and current matching equalities are preserved, while at least one new equality edge appears. Continue until an augmenting path in a matching increases the matching size. A perfect matching in the equality graph then has the same value as the dual linear program and is optimal.
For the example, start with the row minima and . The reduced cost matrix isMatch job to agent . Searching from both unmatched jobs gives and ; the minimum cost to an agent outside is . Update to and :The new equality edge augments the matching. From unmatched job , the next alternating search reaches agent and its matched job , giving and . Now . The updated feasible assignment dual potentials and reduced costs areThe augmenting path in a matching uses job to agent , the reversed matched edge to job , then the new edge to agent . It gives the optimal assignmentThe dual linear program value is , an independent optimality certificate.
Let be the row and column mixed strategies, so their entries are nonnegative and sum to one. The payoffs are and . A Nash equilibrium is a pair in which each strategy is a best response to the other: neither player can improve its expected payoff by a unilateral change of mixed strategy. Equivalently, every positive-probability pure strategy attains that player's maximum pure-strategy payoff against the opposing mixture.
For the complementarity construction of a symmetric Nash equilibrium put and . The equation gives . Nonnegativity and imply . Therefore every used pure strategy has payoff against , while all other pure strategies have payoff at most . The same vector of pure-strategy payoffs applies to the column player in this symmetric bimatrix game. Thus a symmetric Nash equilibrium is
For a genuine Lemke-Howson algorithm path, use two separate vectors, for the row player and for the column player, with slacksGive labels to or , and labels to or . A nonzero completely labeled pair has and , and normalization yields mutual best responses. At the artificial pair all six labels are present.
Drop label by increasing . The two limiting rows of are and , so the minimum-ratio pivot stops at , where . Label is now duplicated, since also carries it. Increase to remove that duplicate. The limiting inequalities are and , so the next pivot stops at , where restores the dropped label . The endpoint isIt has all six labels and satisfies both complementarity conditions. After normalization, the Lemke-Howson algorithm returnsAgainst column strategy , row strategy pays , exceeding and . Against row strategy , column strategy pays , exceeding and . This verifies the endpoint directly.
To find every other Nash equilibrium, observe that row strategy strictly dominates row strategy : the payoff differences against the three columns are , all positive. By symmetry, column strategy is also strictly dominated. Neither can appear in an equilibrium. The reduced strategies have row payoff matrixThe two pure Nash equilibria are and . If the opponent uses strategy with probability , the payoffs of strategies are and . Indifference requires . The same computation applies to the other player. A player mixing both strategies forces this exact opposing mixture; a player playing a pure strategy has a unique opposing best response, producing one of the two pure equilibria. Hence there are exactly three Nash equilibria:For the symmetric mixed equilibrium, the original complementarity construction can use and ; it gives payoff to each player after normalization.
Let be a finite set of alternatives with , and let each agent report a strict total order on . A profile is the tuple of these orders. The domain is unrestricted: every tuple of orders is allowed. A deterministic social choice function selects one alternative from each profile. It is onto if every alternative is selected at some profile. It is strategyproof if no agent, holding all other reports fixed, can obtain an outcome strictly preferred according to its true order by reporting another order. A dictatorship in social choice means that one fixed agent's highest-ranked alternative is always selected, regardless of all other reports.
The Gibbard-Satterthwaite theorem says that every onto, deterministic strategyproof social choice function on this unrestricted domain is a dictatorship in social choice. Equivalently, with at least three possible alternatives an onto nondictatorial rule must permit manipulation. Both the number of alternatives and the unrestricted preference domain are essential hypotheses.
For the requested top-bottom decisiveness lemma, suppose , with top in and bottom in . Fix any with top. If , agent with true order could report and obtain its best outcome , contrary to strategyproofness. Hence . Now fix any . If , agent with true order could report and obtain , which is better than its bottom alternative . ThereforeCall this agent being decisive for . The same argument with agents interchanged applies to agent .
Here is a complete proof of the two-agent theorem. First, onto plus strategyproofness gives unanimity. If occurs at some profile, change agent to any order with top: a different outcome would allow that agent to obtain by returning to its old report. Then change agent to any order with top in the same way. Thus every profile with both agents ranking top selects .
We also need Pareto efficiency. A useful rank-raising monotonicity lemma follows from strategyproofness: if the current outcome is , and one agent changes its order without placing above any alternative previously below , the outcome remains . Otherwise an outcome would satisfy in the old order, since a profitable deviation is forbidden there, but in the new order, since reporting the old order is forbidden there. Those comparisons contradict the allowed change. If both agents prefer to a selected , change their orders one at a time to put first and second. These changes only raise relative to other alternatives, so the outcome remains , contradicting unanimity for . Therefore an alternative unanimously dominated by another cannot be selected.
Choose distinct . Give agent order and agent order . Pareto efficiency forces the outcome to be or . If it is , move to the bottom of agent 's order while keeping top. A switch to would be a profitable deviation for its old true order. Every other alternative is unanimously dominated by . Hence the outcome stays , and the top-bottom decisiveness lemma makes agent decisive for . If the outcome is , the symmetric argument makes agent decisive for . Consequently some agent is decisive for some alternative. Rename that agent and that alternative .
Both agents cannot be decisive for this same . To see this, choose distinct, with every remaining alternative below these three, and considerAt , agent can obtain by placing it top, so strategyproofness restricts the outcome to or . Both agents prefer to , so Pareto efficiency forces . At , agent still ranks top and can obtain it by reporting , so the outcome must again be . On the other hand, at , decisiveness of agent for restricts the outcome to or . Both agents prefer to , so it must be . Since is top in , agent can obtain it at by reporting , forcing outcome there. This contradiction proves that agent is not decisive for .
Now fix and any agent- order with first and second. At every , agent can force by placing it top, so the outcome must lie in . If occurs for even one report , changing agent to an order with first and second preserves , because it can return to to obtain its top choice. Lower to the bottom of agent 's order, keeping top. A switch to would be a profitable deviation under its old order, and any other outcome is unanimously dominated by . Thus remains selected at a profile where agent ranks it top and agent ranks it bottom. The top-bottom decisiveness lemma would make agent decisive for , a contradiction.
Therefore every with agent ranking first and second selects . Choose with bottom and apply the top-bottom decisiveness lemma once more: agent is decisive for in every order placing top. This holds for each , and it already holds for . Agent is a dictator in social choice, proving the two-agent theorem.
With three agents and only two alternatives, the two-alternative majority rule is onto and strategyproof and has no dictator in social choice. An agent whose vote is not pivotal cannot change the outcome. A pivotal agent obtains its preferred alternative by voting truthfully and its less preferred alternative by reversing its vote. No one is a dictator in social choice, since the other two agents can both oppose its preference. There is no tie with three agents. This does not contradict the theorem because its hypothesis fails.
Use the standard risk-neutral quasilinear utility model: utility is value received minus payment. A bidder may abstain for utility zero, payments to the seller are nonnegative, and the zero-value type has utility zero. The last normalization is necessary for the requested revenue formula; if arbitrary subsidies were allowed, an additive payment constant would remain undetermined. The independent private values model is symmetric, and each bidder has a unit-demand valuation in the two-item part. Participation satisfies individual rationality.
Let be the interim probability of receiving an item and the interim expected payment of a type . Write . By mimicking the Bayesian Nash equilibrium bid of a type , a type could obtain utility . Equilibrium therefore gives, for ,The lower inequality uses type 's incentive constraint, and the upper uses type 's. Since is continuous in these auctions, the inequalities give . With ,This is the interim payment identity underlying revenue equivalence.
For one item, independence and the uniform distribution give : all other values must be below . Hence the expected payment from a bidder conditional on its value isThis is an unconditional-in-winning interim payment, not the amount paid conditional on winning. In the first-price sealed-bid auction, , so the Bayesian Nash equilibrium bid iswith . For , the seller's revenue is zero and a zero bid suffices under the stipulated allocation rule.
For two items and three unit-demand bidders, a type wins if at most one of the other two values exceeds it. ThereforeThe interim payment identity gives . Dividing by the winning probability gives the symmetric Bayesian Nash equilibrium bidTo check that this is an Bayesian Nash equilibrium rather than just a necessary formula, its derivative is , positive for . A type mimicking a type receives utility , whose derivative in is . It is positive before and negative after it, so the truthful type-matching bid is globally optimal. Bids above the highest Bayesian Nash equilibrium bid can only increase payment without increasing the winning probability; the usual nonnegative bid range covers the lower boundary.
By symmetry and the law of total expectation, the seller's expected two-item revenue isFor one item and the same three bidders,More generally the single-item revenue with bidders is . Allocating a second item lowers competition enough that it adds no expected revenue in this particular three-bidder uniform model.
The final mechanism is a direct revelation mechanism because the message submitted by bidder is its valuation report, in the same type space , and allocation and payment are explicit functions of those reports. It is the Clarke pivot mechanism for selecting two unit-demand winners. Truthful reporting is a dominant strategy: bidder 's utility equals its true allocation value plus the other bidders' reported allocation values, minus a term depending only on the others' reports. Reporting its true value makes the efficient allocation maximize the first two terms, while the last is unaffected by its report.
Let the ordered values be . For a winner , the maximum welfare achievable by the other two bidders is their combined value; in the actual allocation only the other winner receives an item. Thus the difference defining its payment is the excluded bidder's value . For the loser, both other bidders receive items already, so its payment is zero. Consequently both winners pay the lowest valuation, andThis equals the first-price sealed-bid auction revenue above. A conditional check gives the same interim payment identity: the minimum of the other two values has density , and bidder wins exactly when that minimum is below . Its conditional expected pivot payment is . The mechanisms have equal expected revenue, even though their realized payments need not coincide.
Articles by others on the same topic
There are currently no matching articles.