Professional Documents
Culture Documents
INTRODUCTION
Operations Research
In its most basic form, operations research (OR) may be viewed as a scientific approach to decision making, which seeks to determine how best to design and operate a system, usually under conditions requiring the allocation of scarce resources.
Operations Research
Provides rational basis for decision making
Solves the type of complex problems that turn up in the modern business environment Builds mathematical and computer models of organizational systems composed of people, machines, and procedures Uses analytical and numerical techniques to make predictions and decisions based on these models
Definition of OR
OR may simply be viewed as a systematic and analytical approach to decision making or problem solving. OR is not an absolute decision-making process, but it is an aid to making good decisions. OR plays an advisory role by presenting to a manager or a decision maker scientifically derived alternatives. However, the final decision is always left to the human being who has knowledge that cannot be exactly quantified and who can temper the results of the analysis to arrive at a sensible decision.
OR and MS
Sometimes OR is referred to as management science (MS) to better reflect its role as a scientific approach to solving management problems, but it appears that this terminology is more popular with business professionals
OR and CS
OR and CS have been, and still are, considered as two subjects different from each other If the difference is quite evident for some areas of both subjects, it becomes much less so if we think of areas such as
complexity theory, theory of algorithms, solving hard combinatorial problems,
graph theory,
artificial intelligence, and discrete mathematics, etc.
OR and CS
All these matters form a very large interface between OR and CS OR effects CS and also CS effects OR OR and CS cannot exist without each other More specifically, the evolution of either area to a discipline in itself has only been possible due to the use of concepts, results, and techniques developed in the other area
OR and CS
So far, the influence of computer science was basically restricted to providing the machinery needed. During the 1960s, the impact deepened and acquired a component that was more algorithmic in nature. Operations researchers became interested in the efficieny of computer algorithms. In order to reduce the time and space requirements of their implementations, they had to use sophisticated data structures. With this, OR started to rely on the art of computer programming
What is a system?
System is a collection of elements which interactively operate with each other in a system boundary aiming the same common goal
Environment
Quantitative factors (external or internal) Qualitative factors (external or internal)
System
Inputs
Process
Outputs
Feedback
Some qualitative factors can be transformed into quantitative counterparts using appropriate measurings Decision maker makes a decision using OR techniques and taking into account qualitative factors
Basic Characteristics of OR
1. Uses system approach 2. Utilizes and develops scientific methods 3. Performed by an interdisciplinary team
History of OR
OR as a formal discipline is about 70 years old and its origins may be traced to the latter half of World War II. Groups of mathematicians, economists and other scientists were formed in England and in the US These groups tackled a variety of problems such as radar installations, search for enemy submarines, deploy mines in the seas around Japan, determining optimal size of merchant convoy fleets, development of maneuver strategies for ships under attack ...
History of OR
After World War II
Theoretical background of OR was strengthened Industrial firms in England and the US attempting to apply it to their operational and managerial problems
Also development on computer technology accelerated the evolution of OR Today, operations research is a mature, well-developed field with a sophisticated array of techniques that are used routinely to solve problems in a wide range of application areas.
Problem Definition
Data Collection
F E E D B A C K
Model Formulation
Problem definition
A clear definition of the problem contains three broad components: 1. Statement of objective or objectives of the study (project) 2. Describing of the factors which have impacts on the objective (or objectives) 3. Specification of the constraints (limitations) on the factors
2. Describing of factors
The second component of problem definition is a specification of factors that will affect the objective. These factors must further be classified into;
1. Factors that under the control of the decision maker 2. Uncontrollable factors over which he or she has no control.
For example, in a production environment, the planned production rates can be controlled, but the actual market demand may be unpredictable. The idea here is to form a comprehensive list of all the alternative actions that can be taken by the decision maker and that will then have an effect on the stated objective. Eventually, the OR approach will search for the particular course of action that optimizes the objective.
Data collection
One of the major driving forces behind the growth of OR has been the rapid growth in computer technology and the concurrent growth in information systems and automated data storage and retrieval. This has been a great boon because OR analysts now have ready access to data that was previously hard to obtain. Simultaneously, this has also made things difficult, because many companies find themselves in the situation of being data-rich but information-poor. In other words, even though the data is all present somewhere and in some form, extracting useful information from these sources is often very difficult.
Data mining
Model formulation
This is the fourth phase of the OR process. It is also a phase that deserves a lot of attention since modeling is a defining characteristic of all operations research projects.
-Studying on a system
Physical models
Analytical models
Mathematical models
Simulation models
-Physical Models
These are actual, scaled-down versions of the original. Examples include; Maquettes, patterns (a globe, a scaled-model car, or a model of a flow line made with elements from a toy construction set). In general, such models are not very common in operations research, mainly because getting accurate representations of complex systems through physical models is often impossible.
-Analytical models
Summarize the relationships between elements of the system into a mathematical or logical framework to
Control or monitor the system Forecast the future of the system Expect the behaviour of the system against the chaning system dynamics Solve a problem of the system
-Simulation Models
Simulation is the process of designing a computer model of a real system and conducting experiments with this model for the purpose of either understanding the behavior of the system and/or evaluating various strategies for the operation of the system
-Simulation Models
With the growth in computational power, these models have become extremely popular. A simulation model is one where the system is abstracted into a computer program. A number of languages and software systems have been developed solely for the purpose of building computer simulation models
-Mathematical Models
This is the one that traditionally has been most commonly identified with OR. In this type of model one captures the characteristics of a system or process through a set of mathematical relationships. Mathematical models allow us to find optimum solution and to show the relationships between elements of system analytically
Model formulation
A model may be defined formally as a selective abstraction of reality. This definition implies that modeling is the process of capturing selected characteristics of a system or a process and then combining these into an abstract representation of the original. The main idea here is that it is usually far easier to analyze a simplified model than it is to analyze the original system, and as long as the model is a reasonably accurate representation, conclusions drawn from such an analysis may be validly extrapolated back to the original system.
Model formulation
The key point to remember is that most often there is a natural trade-off between the accuracy of a model and its tractability. At the one extreme, it may be possible to build a very comprehensive, detailed, and exact model of the current system. However, the model may be useless from an analytical perspective since its construction may be extremely time-consuming and its complexity precludes any meaningful analysis. At the other extreme, one could build a less comprehensive model with a lot of simplifying assumptions so that it can be analyzed easily. However, the danger here is that the model may be so lacking in accuracy that extrapolating results from the analysis back to the original system could cause serious errors.
Model formulation
There may be no single correct way to build a model. OR is art because the success of all the phases that precede and succeed the solution of the mathematical model depends largely on the creativity and experience of the operations research team.
Sensitivity analysis deals with obtaining additional information about the behaviour of the optimum solution when the model undergoes some parameter changes Sensitivity analysis is particularly needed when the parameters of the model cannot be estimated accurately. In this case, it is important to study the behaviour of the optimum solution in the neighborhood of the estimated parameters
The model is valid if, under similar input conditions, it produces past performance
If the proposed model is representing a new (nonexisting) system, no historical data would be available to make the comparison. In such cases, the use of simulation as an independent tool for verifying the output of the mathematical model generally is resorted
Objective function
Objective function represents considered performance of system in terms of decision variables We need to maximize or minimize the objective function according to the purpose Objective function must be maximized or minimized according to the considered performance type
Profit or cost level respect to amount of manufactured products Travel time according to assigned buses on a route Produced amount of a chemical material Utilized time of an airport according to the scheduled departures,
Decision variables
Decision variables can be controlled by the system (or decision maker) and their values effects the performance of the system
Batch sizes of the products Number of buses on a route Amount of a chemical material in a chemical process Scheduling of airplanes departures,.
Constraint functions
Constraints show the limitations of system Constraints restrict the levels of decision variables directly or indirectly Constraint functions are need to represented in terms of decision variables
Production capacity of a manufacturing line Maximum allowed time to waiting in a bus stop Process time of a chemical reaction Land requirements to depart or arrive of airplanes for an airport,
A simple example:
Consider a highly simplified instance of a production planning problem where there are two main product lines (X and Y, say) and three major limiting resources (A, B, and C) for which each of the products compete. Each product requires varying amounts of each of the resources and the company incurs different costs (labor, raw materials etc.) in making the products and realizes different revenues when they are sold. The objective of the OR project is to allocate the resources to the two products in an optimal fashion.
Decision variables:
Number of product X Number of product Y
Constraints:
Resources A, B, and C
Objective function:
Total profit from selling X and Y
Static
Dynamic
Deterministic
Stochastic
Single objective
Multi objective
What is optimization?
Optimization is to find the best levels of decision variables to maximize (or minimize) considered objective function satisfying all the system constraints Optimized level of objective function is unique but there can be alternative combinations of levels of the decision variables which yield the same optimum objective value
Assumptions of LP
Proportionality Additivity Determinism Nonnegativity Linearity
Proportionality
Proportionality requires the contribution of each decision variable in the objective function and its requirements in the constraint functions to be directly proportional to the value of the variable
Additivity
Additivity stipulates that the total contribution of all the variables in the objective function and their requirements in the constraint functions are the direct sum of the individual contribution or requirements of each variable
Determinism
All the values of mathematical model parameters (data) are known in advance and constant during the plannig period
Nonnegativity
All the decision variables can take only nonnegative values
Developing LP models
Developing of LP models after analysis of considered system is the most important task First we need to understand relations between subsystems Then decision variables must be defined. What will be the computed results from solving of LP model? Finally, objective function and constraint functions are represented mathematically in terms of decision variables
We can formulate mathematical model for this general problem of allocating resources to activities. This model is to select the values for x1, x2, .., xn so as to
x1 , x2 , , xn 0
[c1, c2, .., cn] : vector of objective function coefficients [b1, b2, .., bm] : vector of right-hand side coefficients (or capacities) : matrix of constraints' coefficients
Developing LP models
We will experienced on development of LP models before learning of solution techniques of them One of the simple forms of LP models includes problems with 2 decision variables Increasing the number of decision variables increases also both dimension of problem and complexity of the problem However, LP problems with thousands of decision variables and constraints can be solved efficiently (in polinomial time with the problem dimension)
Example 1
SilComputers makes quarterly decisions about their product mix. While their full product line includes hundreds of products, we will consider a simpler problem with just two products: notebook computers and desktop computers. SilComputers would like to know how many of each product to produce in order to maximize profit for the quarter.
There are a number of limits on what SilComputers can produce. The major constraints are as follows:
Each computer (either notebook or desktop) requires a Processing Chip. Due to tightness in the market, our supplier has allocated 10,000 such chips to us. Each computer requires memory. Memory comes in 16MB chip sets. A notebook computer has 16MB memory installed (so needs 1 chip set) while a desktop computer has 32MB (so requires 2 chip sets). We received a great deal on chip sets, so have a stock of 15,000 chip sets to use over the next quarter. Each computer requires assembly time. Due to tight tolerances, a notebook computer takes more time to assemble: 4 minutes versus 3 minutes for a desktop. There are 25,000 minutes of assembly time available in the next quarter.
Given current market conditions, material cost, and our production system, each notebook computer produced generates $750 profit, and each desktop produces $1000 profit. There are many questions SilComputer might ask. The most obvious are such things as
``How many of each type computer should SilComputer produce in the next quarter?''
``What is the maximum profit SilComputer can make?
Example 2
The WYNDOR GLASS CO. produces high-quality glass products, including windows and glass doors. It has three plants. Aluminum frames and hardware are made in Plant 1, wood frames are made in Plant 2, and Plant 3 produces the glass and assembles the products. Because of declining earnings, top management has decided to revamp the companys product line. Unprofitable products are being discontinued, releasing production capacity to launch two new products having large sales potential: Product 1: An 8-foot glass door with aluminum framing Product 2: A 4x6 foot double-hung wood-framed window Product 1 requires some of the production capacity in Plants 1 and 3, but none in Plant 2. Product 2 needs only Plants 2 and 3. The marketing division has concluded that the company could sell as much of either product as could be produced by these plants. However, because both products would be competing for the same production capacity in Plant 3, it is not clear which mix of the two products would be most profitable. Therefore, an OR team has been formed to study this question.
Problem definition: Determine what the production rates should be for the two products in order to maximize their total profit, subject to the restrictions imposed by the limited production capacities. (Each product will be produced in batches of 20, so the production rate is defined as the number of batches produced per week.)
Example 3
Reddy Mikks produces both interior and exterior paints from two raw materials, M1 and M2. The following table provides the basic data of the problem:
Tons of raw material per ton of Exterior paint Raw material M1 Raw material M2 Profit per ton ($1000) 6 1 5 Interior paint 4 2 4 Maximum daily available (ton) 24 6
A market survey indicates that the daily demand for interior paint cannot exceed that of exterior paint by more than 1 ton. Also, the maximum daily demand of interior paint is 2 tons. The company wants to determine the optimum (best) product mix of interior and exterior paints that maximizes the total daily profit.
Develop the LP model of the problem.
x1: tons produced daily of exterior paint x2: tons produced daily of interior paint Letting z represent the total daily profit (in thousands of dollars), the objective of the company is expressed as
Maximize
z 5 x1 4 x2
Because the availabilities of M1 and M2 are limited to 24 and 6 tons, respectively, the associated restrictions are given as
6 x1 4 x2 24 x1 2 x2 6
The first demand restriction says that the difference between the daily production of interior and exterior paints, x2-x1, does not exceed 1 ton, which translates to x2-x1 1 The second demand restriction stipulates that the maximum daily demand of x2 is limited to 2 tons, which translated to x2 2
An implicit restriction is that variable x1 and x2 cannot assume negative values. The nonnegativity restrictions x10, x2 0, account for this requirement. The complete Reddy Mikks model is
Maximize Subject to
z 5 x1 4 x2 6 x1 4 x2 24 x1 2 x2 6 x1 x2 1 x2 2 x1 , x2 0
Any combination of x1 and x2 values that satisfies all the constraints of the model constitutes a feasible solution. For example, the solution x1 =3 tons and x2 =1 ton per day, is feasible because it does not violate any of the constraints, including the nonnegativity constraint. From the standpoint of the entire model, we are interested in finding the optimum feasible solution that yields the maximum total profit while satisfying all the constraints.
Enumeration of the feasible solutions is not acceptable because the model has an infinite number of feasible solutions. Instead, we need a systematic procedure that will locate the optimum solution efficiently.
Example 4
Ozark Farms uses at least 800 lb of special feed daily. The special feed is mixture of corn and soybean meal with the following compositions:
lb per lb of feedstuff Feedstuff Corn Soybean meal Protein 0.09 0.60 Fiber 0.02 0.06 Cost ($/lb) 0.30 0.90
The dietary requirements of the special feed stipulate at least 30% protein and at most 5% fiber. Ozark Farms wishes to determine the daily minimum-cost feed.
z 0.3x1 0.9 x2
The objective of the company is
Minimize
z 0.3x1 0.9 x2
Amount of the daily mix = x1+x2 The farms uses at least 800 lb of the mix: x1+x2 800 Protein amount in the mix = 0.09x1+0.60x2 The protein amount must be at least 30% of the mix: 0.09x1+0.60x2 0.30(x1+x2 )
Fiber amont in the mix = 0.02x1+0.06x2 The fiber amount must be at most 5% of the mix: 0.02x1+0.06x2 0.05(x1+x2 )
Minimize
subject to
z 0.3x1 0.9 x2
x1 , x2 0
Share
Stock in bank Gold fund Bond fund
80
50 30 60
Example 6
Three types of petrol (minimum Octane rating: 85, 90, 95) Four types of oils (Octane rating: 68, 86, 91, 99) Blending oils petrol, with proportional Octane rating Oils which are not used in any blend are sold directly as raw oils Objective: best product mix [how much of each petrol, oil to sell] to maximize total profit
The data
Raw oil 1 2 3 4 OcR 68 86 91 99 Petrol Type 1 (Premium) 2 (Super) 3 (Regular) Available amount (barrels/day) 4000 5050 7100 4300 Min OcR 95 90 85 Selling price 45.15 42.95 40.99 Cost/barrel 31.02 33.15 36.35 38.75 Selling price 36.85 36.85 38.95 38.95 Demand (barrels/day) 10,000 No limit 15,000
xij = barrels/day of oil i ( i = 1, 2, 3, 4) to make petrol j (j = 1, 2, 3) yi = barrels/day of oil i sold directly (i=1,2,3,4) Objective is to maximize the profit = total revenue total cost The constraints: Supply limits (we can not blend more oils than we have) Demand limits (we need to satisfy the demand on petrol types premium and regular) Octane rating constraints Total premium petrol per day = x11 + x21 + x31 + x41 Its Octane Rating: 68x11 + 86x21 + 91x31 + 99x41 x11 + x21 + x31 + x41 68x11 + 86x21 + 91x31 + 99x41 - 95(x11 + x21 + x31 + x41) 0. We can develop the similar octane rating constraints for super and regular petrol types 95,
Subject to:
68x11 + 86x21 + 91x31 + 99x41 - 95(x11 + x21 + x31 + x41) 0 68x12 + 86x22 + 91x32 + 99x42 - 90(x12 + x22 + x32 + x42) 0 68x13 + 86x23 + 91x33 + 99x43 - 85(x13 + x23 + x33 + x43) 0
Octane
rating
Example 7
Two mines supply three plants of a company. The company knows the transportation cost between mines and plants, demands of plants and also capacities of mines. Accordingly, the company wants to minimize total transportation cost considering the demand and capacity requirements.
The data
transportation cost per ton mine capacity/day Mine 1 Mine 2 800 300 plant 1 11 7 400 plant 2 8 5 500 plant 3 2 4 200
[capacity of mine 1] [capacity of mine 2] [demand at plant 1] [demand at plant 2] [demand at plant 3]
j = 1, 2, 3.
Example 7
Consider the problem of assigning aircrafts to four routes according to the following data:
Number of Daily Trips on Route Number Aircraft Capacity of Type (passengers) Aircraft 1 50 5 2 30 8 3 20 10 Min. Daily number of customers 1 3 4 5 1000 2 2 3 5 2000 3 2 3 4 900 4 1 2 2 1200
The associated costs, including the penalties for losing customers because of space unavailability, are
Operating cost per trip on given route ($) Aircraft Type 1 2 3 Penalty cost per lost customer 1 2 3 4