Normal cone. For a convex set S, the normal
cone to S at x, for x in S, is {y : <v - x, y> <= 0 for all v in S},
where < * > is an inner product.
Northwest corner rule. This constructs a
feasible shipment for the
transportation problem, from the cost table (c_ij = unit cost from
source i to destination j), as follows. Start at the NW corner
(source 1, destination 1), and allocate the most possible: the min of
the supply and demand. If supply exceeds the demand, proceed to the
next destination, and continue until all of supply 1 is allocated.
Then, go to source 2 and repeat the allocation process, starting with
the first (lowest index) destination whose demand has not been
fulfilled. If demand exceeds the supply, proceed to the next
source, and continue until all of demand 1 is allocated. Then, go to
destination 2 and repeat the allocation process.
Eventually, all demand must be fulfilled if the problem is
feasible (i.e., total supply >= total demand).
NP-complete. Problems are divided into two categories:
those for which there exists an algorithm to solve it with
polynomial time complexity, and
those for which there is no such algorithm. We denote the former class
of problems by P. There are problems for which no known algorithm
exists that solves it in polynomial time, but there is also no proof
that no such algorithm exists. Among these problems that are not known
to be in P (or in ~P), there is a subclass of problems known as
NP-complete: those for which either all are solvable in
polynomial time, or none are. Formally, a problem is NP if there
exists an algorithm with polynomial time complexity that can certify
a solution. For example, it is not known whether there exists
a polynomial algorithm to solve a system of Diophantine equations,
Ax=b for x in Z^n (integer n-vectors).
However, we can certify any trial x in polynomial time, just by
checking that it is in Z^n, then multiplying by A to compare with b.
A problem, p, is NP-complete if it is NP and for any problem in NP,
there exists a polynomial time algorithm to reduce it to p.
A fundamental member of the NP-complete class is the
satisfiability
problem. It is an open question whether P=NP, and most
regard the NP-complete problems as having exponential time complexity.
Further details are in the supplement,
Introduction to Computational
Complexity.
NP-hard. An optimization problem that relies upon the
solution of an NP-complete problem.
In that sense, NP-hard problems are at least as hard as
NP-complete problems.