University topic explanations and practice

University › Industrial Engineering › Industrial Engineering / Operations Research

Industrial Engineering / Operations Research · 1

Break a decision problem into decision variables, parameters, objective function and constraints and build its mathematical model. Direction and meaning of constraints.

Save your progress

Learning Outcomes

Topic Explanation

Anatomy of a decision problem

The job of operations research is to reduce a complex decision to a mathematical structure and reason on that structure. Every decision problem has four basic parts: variables that the decision maker can control, parameters that he cannot control but affect the outcome, a goal to be measured, and constraints that limit this goal. Separating these four parts is the first and most critical step in modeling. In a production plan, how much to produce is the decision variable; The unit cost of the raw material and the available capacity are parameters. Maximizing profit is the goal, and not exceeding the warehouse capacity is the constraint.

Decision variables can be continuous, integer, or binary. A continuous variable can take fractional values; quantity in litres, for example in a mixture. The integer variable describes countable units; such as the number of machines. The binary variable encodes whether a choice was made: 1 made, 0 not made. Choosing the correct variable type also determines the solution method of the model. Continuous variables lead to linear programming, integer variables lead to integer programming. An incorrectly chosen variable type produces a solution that is actually unworkable; Since a half machine cannot be built, constantly leaving a variable that must be an integer invalidates the model.

The objective function produces a single number as a function of the decision variables and that number is maximized or minimized. Profit, income, efficiency are examples of the most magnified goals; cost, time, waste and risk are minimized. The same problem can lead to different solutions for different purposes: minimizing cost and minimizing delivery time usually do not lead to the same decision. Therefore, it is necessary to write the purpose in a single sentence and in a measurable form. A statement like "as good as possible" is not suitable for modeling; "Minimize total production cost" is a suitable goal.

Constraints and the feasible region

Constraints limit the values ​​that decision variables can take. There are three main types of constraints: resource constraints ensure not to exceed an available budget, capacity, or raw material; demand constraints dictate that a particular need be satisfied; Equilibrium constraints equalize input and output. Logical constraints, on the other hand, carry conditions such as "If A is done, B must also be done." The set of decision vectors that satisfy all constraints simultaneously is called the feasible region. If the feasible region is empty, the model is contradictory and no decision is acceptable; This is often caused by a misspelled request or capacity constraint.

The mathematical form of constraints is often a linear inequality: an expression of the form a₁x₁ + a₂x₂ ≤ b limits the magnitude of total resource use. Here the coefficients a are unit consumption and b is the total usable amount. It is a common mistake to choose the wrong direction of inequality: write ≤ for the most available resources and write ≥ for the least demand that must be met. Since the limit value itself is also included, the equality situation is considered feasible. Whether a constraint is truly binding or not is understood by whether it is satisfied as equality in the solution.

Unit consistency is vital when writing constraints. Hourly capacity and daily demand cannot be collected under the same constraint; The units must first be synchronized. If the unit does not hold, the model can be solved mathematically but is physically meaningless. Experienced modelers write the unit next to each constraint and add only between terms with the same unit. This simple habit prevents many of the toughest mistakes down the road. After the model is completed, a one-sentence interpretation of each constraint should be possible; A constraint that cannot be interpreted is probably set incorrectly.

Steps of the modeling process

Systematic modeling proceeds in eight steps: verbalize the problem, list assumptions, define decision variables, write the objective, establish constraints, solve the model, interpret the solution, compare the results with the real system. Skipping these steps will result in the solution not working even though it is correct. In particular, writing down assumptions is forgotten; However, every model is an idealization and it must be known which reality is left out. If demand is assumed to be constant, the consequences of demand fluctuation should be evaluated separately.

Interpreting the solution is the most neglected part of modelling. Obtaining a numerical result is not a decision alone; The applicability of the result, whether the constraints are actually represented, and the sensitivity check should also be examined. The optimal solution is the best one within the model; If the model does not accurately represent the real world, it may not be the best in real life. So the difference between "optimum of the model" and "goodness of the decision" should always be kept in mind. A good modeler includes assumptions and uncertainties when presenting the result.

Validation is checking the logic of the model by independent means. Extreme cases can be tried: if demand is zero, the solution should be zero production, if the resource doubles, the objective value should not worsen. Such checks quickly reveal errors caused by constraint flags. Additionally, a small sample of the model can be solved manually and compared with the software result. If there is disagreement even in a sample small enough to be resolved manually, reliable results cannot be expected in a large sample. The verification step is not a formality done behind closed doors, it is the essence of reliability.

Classification of optimization approaches

Linear programming solves problems where the objectives and constraints are all linear and is the most mature method in this field. Integer programming requires that variables be integers or binary; Nonlinear programming deals with curvilinear relationships. Dynamic programming is used when the decision is broken down into successive stages over time. Stochastic optimization comes into play in problems where the parameters are unknown or random. These classes are not separated from each other by sharp lines; Real problems often have features of several classes together.

The distinction between specific and uncertain models is central to decision analysis. In the given model, all parameters are known; In the uncertain model, the parameters are defined by probability distribution or range. Ignoring uncertainty sometimes produces false confidence: a plan based on average demand may be inadequate on days when demand is high. Therefore, uncertainty is either directly included in the model or questioned separately through scenarios. The costs of the two approaches differ; A detailed probability model requires more data and calculations.

Decision analysis carries the risk and preference dimension as well as optimization. The expected value is the average of possible outcomes, weighted by their probabilities, and is based on the assumption of risk neutrality. For a risk-averse decision maker, the same expected value has different appeal across different risk distributions; In this case, the utility function is used. The decision tree represents consecutive decisions and random events with nodes and branches; The expected value is calculated at each random node and backward reduction is performed. These tools make visible all the possible outcomes of the decision, not just a single number.

Meaning of the optimal solution

The optimal solution is the decision vector that best performs the defined objective function and satisfies all constraints. There may be a single optimal solution or multiple equivalent solutions. Equivalent solutions deliver the same objective value but may differ in resource use, risk, or ease of implementation; The decision maker makes the choice by taking these additional criteria into account. The fact that there is no feasible solution indicates that the constraints conflict with each other. Unlimited growth or decrease of the objective value indicates that a constraint is missing in the model.

The solution of the model is a recommendation to the decision maker; It is not the final decision. In order for the proposal to be accepted, it must be compatible with intuition, the constraints must be realistic, and the uncertainties must be evaluated. A result that contradicts intuition should not be rejected immediately; it should first be investigated which assumption of the model leads to this result. Often times, a contradiction with intuition indicates that the model has captured an overlooked fact or that there is a typo in the model. In both cases, discussing the outcome is more valuable than blindly accepting it.

The power of operational research is that it makes the decision transparent. Since the purpose, constraints and assumptions are written down, the decision maker can see which change will lead to which result. This transparency answers the question not only of the best found, but also of why that value is found. The model also becomes the common language of internal communication: different units can express their constraints within the same framework. Thus, the decision is based on shared logic, not personal intuition.

Key Points

Worked Examples

Worked Example

Worked Example

Worked Example

Worked Example

Worked Example

Worked Example

Common Mistakes

Tips

Practice Questions

  1. 1. Which of the following definitions expresses the concept of 「Decision variable」?
  2. 2. Which of the following definitions expresses the concept of 「Parameter」?
  3. 3. Which of the following definitions expresses the concept of 「objective function」?
  4. 4. Which of the following definitions expresses the concept of 「Constraint」?
  5. 5. Which of the following definitions expresses the concept of 「feasible region」?
  6. 6. Which of the following definitions expresses the concept of 「Optimal solution」?
  7. 7. Which of the following definitions expresses the concept of 「Binary variable」?
  8. 8. Which of the following definitions expresses the concept of 「Uncertainty」?
  9. 9. Which of the following definitions expresses the concept of 「Expected value」?
  10. 10. Which of the following definitions expresses the concept of 「Model validation」?
  11. 11. The definition 「It is the most maximized or minimized numerical function of the decision variables」 corresponds to which of the following concepts?
  12. 12. The definition 「It is an equality or inequality that limits the values ​​that decision variables can take」 corresponds to which of the following concepts?
  13. 13. The definition 「It is the set of decision vectors that satisfy all constraints simultaneously」 corresponds to which of the following concepts?
  14. 14. The definition 「It is the feasible decision vector that best performs the objective function」 corresponds to which of the following concepts?
  15. 15. The definition 「It is a variable that can only take a value of 0 or 1 and encodes a selection」 corresponds to which of the following concepts?
  16. 16. Which of the following concepts corresponds to the definition 「The situation where the parameters are not known precisely and are described by distribution or range」?
  17. VOLUME 17 The definition 「It is the average of possible outcomes weighted by their probabilities」 corresponds to which of the following concepts?
  18. 18. The definition 「It is the process of independently checking the logic of the model with edge cases and small examples」 corresponds to which of the following concepts?
  19. 19. Which of the following concepts corresponds to the definition 「It is the quantity that the decision maker can directly determine and whose value is sought in the model?」
  20. 20. The definition 「It is a fixed quantity that cannot be controlled by the decision maker but affects the result」 corresponds to which of the following concepts?
  21. 21. If x = 12 in the constraint 2x + y ≤ 40, what is the maximum y value?
  22. 22. What is the objective value at x = 4, y = 6 for z = 30x + 20y?
  23. 23. If a resource is 90 units and unit consumption is 6, how many products can be produced at most?
  24. 24. What is the expected value of 80 with probability 0.7 and 40 with probability 0.3?
  25. 25. If option A has a certain value of 45 and option B has an expected value of 44, what does the risk-neutral decision maker do?
  26. 26 What type of relationship does the relation x = 3x + 2 indicate in a model?
  27. 27 How to write a capacity constraint if a product requires 12 units of raw materials and 180 units available?
  28. 28 How to calculate the value of a random node in a decision tree?
  29. 29 In which cluster is a solution that satisfies all the constraints but does not best achieve the goal?
  30. 30 What to say about the model if demand is 50 and available capacity is 40?
  31. 31 If all constraints are met in a model, the solution is definitely optimal.
  32. 32 Parameters are directly determined by the decision maker.
  33. 33 A binary variable can take fractional values ​​between 0 and 1.
  34. 34 If the feasible region is empty, the model has no solutions.
  35. 35 The objective function can be more than one; the model combines them automatically.
  36. 36 Unit consistency only matters in physics, not decision models.
  37. 37 The optimal solution of the model is always the best in real life.
  38. 38 Edge-case tests can reveal constraint sign errors.
  39. 39 The expected value accurately reflects the risk-averse decision maker's preference.
  40. 40 Backward reduction in the decision tree starts from the last random nodes.

Source: Inspired by open curricula of Turkish universities; the explanation is written originally.

Kaynak: Türkiye üniversitelerinin açık ders planlarından esinlenilmiştir; anlatım özgün olarak yazılmıştır.