ArticleslgStudy

computer science

Lexicographic optimization

Lexicographic optimization is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Lexicographic optimization rather than just read about it. In short: Lexicographic optimization is a kind of multi-objective optimization. In general, multi-objective optimization deals with optimization problems with two or more objective functions to be optimized simultaneously.

Key takeaways

  • Lexicographic optimization belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Lexicographic optimization to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Lexicographic optimization from memory before moving on to harder problems.

Reference excerpt

Lexicographic optimization is a kind of multi-objective optimization. In general, multi-objective optimization deals with optimization problems with two or more objective functions to be optimized simultaneously. Often, the different objectives can be ranked in order of importance to the decision-maker, so that objective f1 is the most important, objective f2 is the next most important, and so on. Lexicographic optimization presumes that the decision-maker prefers even a very small increase in f1, to even a very large increase in f2,f3,f4, etc. Similarly, the decision-maker prefers even a very small increase in f2, to even a very large increase in f3,f4, etc. In other words, the decision-maker has lexicographic preferences, ranking the possible solutions according to a lexicographic order of their objective function values. Lexicographic optimization is sometimes called preemptive optimization, since a small increase in one objective value preempts a much larger increase in less important objective values. As an example, consider a firm which puts safety above all. It wants to maximize the safety of its workers and customers. Subject to attaining the maximum possible safety, it wants to maximize profits. This firm performs lexicographic optimization, where f1 denotes safety and f2 denotes profits. As another example, in project management, when analyzing PERT networks, one often wants to minimize the mean completion time, and subject to this, minimize the variance of the completion time.

Notation A lexicographic maximization problem is often written as:lex⁡maxf1(x),f2(x),…,fn(x)subject tox∈Xwhere f1,…,fn are the functions to maximize, ordered from the most to the least important; x is the vector of decision variables; and X is the feasible set - the set of possible values of x. A lexicographic minimization problem can be defined analogously.

Algorithms There are several algorithms for solving lexicographic optimization problems.

Sequential algorithm for general objectives A leximin optimization problem with n objectives can be solved using a sequence of n single-objective optimization problems, as follows:

For t=1,…,n do Solve the following single-objective problem:max⁡ ft(x)subject to x∈X,fk(x)≥zk for all k in 1,…,t−1. If the problem is infeasible or unbounded, stop and declare that there is no solution. Otherwise, put the value of the optimal solution in zt and continue. End for So, in the first iteration, we find the maximum feasible value of the most important objective f1(x), and put this maximum value in z1. In the second iteration, we find the maximum feasible value of the second-most important objective f2(x), with the additional constraint that the most important objective must keep its maximum value of z1; and so on. The sequential algorithm is general - it can be applied whenever we have a solver for the single-objective functions.

Lexicographic simplex algorithm for linear objectives Linear lexicographic optimization is a special case of lexicographic optimization in which the objectives are linear, and the feasible set is described by linear inequalities. It can be written as:lex⁡maxc1⋅x,c2⋅x,…,cn⋅xsubject toA⋅x≤b,x≥0where c1,…,cn are vectors representing the linear objectives to maximize, ordered from the most to the least important; x is the vector of decision variables; and the feasible set is determined by the matrix A and the vector b. Isermann extended the theory of linear programming duality to lexicographic linear programs, and developed a lexicographic simplex algorithm. In contrast to the sequential algorithm, this simplex algorithm considers all objective functions simultaneously.

Weighted average for linear objectives Sherali and Soyster prove that, for any linear lexicographic optimization problem, there exist a set of weights w1>w2>⋯>wn such that the set of lexicographically-optimal solutions is identical to the set of solutions to the following single-objective problem:maxw1f1(x)+⋯+wnfn(x)subject tox∈XOne way to compute the weights is given by Yager. He assumes that all objective values are real numbers between 0 and 1, and the smallest difference between any two possible values is some constant d<1 (so that values with difference smaller than d are considered equal). Then, the weight wt of ft(x) is set to approximately dt. This guarantees that maximizing the weighted sum ∑twtft(x) is equivalent to lexicographic maximization. Cococcioni, Pappalardo and Sergeyev show that, given a computer that can make numeric computations with infinitesimals, it is possible to choose weights that are infinitesimals (specifically: w1=1; w2 is infinitesimal; w3 is infinitesimal-squared; etc.), and thus reduce linear lexicographic optimization to single-objective linear programming with infinitesimals. They present an adaptation of the simplex algorithm to infinitesimals, and present some running examples.

Properties (1) Uniqueness. In general, a lexicographic optimization problem may have more than one optimal solution. However, If x1 and x2 are two optimal solutions, then their value must be the same, that is, fi(x1)=fi(x2) for all i∈[n]. Moreover, if the feasible domain is a convex set, and the objective functions are strictly concave, then the problem has at most one optimal solution, since if there were two different optimal solutions, their mean would be another feasible solution in which the objective functions attained a higher value, contradicting the optimality of the original solutions. (2) Partial sums. Given a vector f1,…,fn of functions to optimize, for all t in 1,…,n, define f1..t:=∑i=1tfi = the sum of all functions from the most important to the t-th most important one. Then, the original lexicographic optimization problem is equivalent to the following:lex⁡maxf1...1(x),f1..2(x),…,f1..n(x)subject tox∈XIn some cases, the second problem may be easier to solve.

See also Lexicographic max-min optimization is a variant of lexicographic optimization in which all objectives are equally important, and the goal is to maximize the smallest objective, then the second-smallest objective, and so on. In game theory, the nucleolus is defined as a lexicographically-minimal solution set.

References

Worked examples

Example 1 — a first encounter with Lexicographic optimization

Start with the simplest possible case. Write down what Lexicographic optimization claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Lexicographic optimization before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Lexicographic optimization ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Lexicographic optimization

In research
Lexicographic optimization appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Lexicographic optimization in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Lexicographic optimization is common in secondary-school and first-year university syllabi. It links to neighbouring topics Multiple-criteria decision analysis, Optimization algorithms and methods, so understanding it makes those chapters shorter.
In everyday life
Look for Lexicographic optimization outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Lexicographic optimization” →

How to study Lexicographic optimization in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Lexicographic optimization means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Lexicographic optimization out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Lexicographic optimization in simple terms?

Lexicographic optimization is a kind of multi-objective optimization. In general, multi-objective optimization deals with optimization problems with two or more objective functions to be optimized simultaneously.

Why does Lexicographic optimization matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Lexicographic optimization?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Lexicographic optimization.

Tags

  • Multiple-criteria decision analysis
  • Optimization algorithms and methods

Keep exploring