Professional Documents
Culture Documents
Last Quanitative To Be Submited
Last Quanitative To Be Submited
Last Quanitative To Be Submited
SECTION 5
GROUP MEMBERS
NAME ID NO
7. ZELALEM JEMBERU-----------------------------------------------------------------------------PGMGB/4424/21
1, decision variable: refers to the aim to optimize (maximize the profit of minimize the cost) or
explain the optimization.
2, Objective function: states the goal (objective) of the decision maker (in any case the manager).
There are two types of objectives.
3. Constraints: are thus resources or factors that limits the feasible solution or that limits to
achieve desired objectives. The availability of scares resources may be expressed as equations or
inequalities which rule out certain combinations of variable values as feasible solution.
1|Page
4.Non negative and conditions are special constraints which require all variables to be either zero
or possible negative values of physical quantities are impossible like producing negative
numbers of bicycles, motorbikes, chairs, tables etc. so it is necessary to include the elements of
non-negative as a constraint X, Y, ≥ 0.
5. Canonical form: Refers to on LP with an objective function all of the variable are non-
negative and where all of the variable and their coefficient on LHs of constraints an all of the
parameters are of RHs of constraints.
Where X, Y ≥ 0
6. Standard Form: refers to an LP problem in canonical form in addition all of the constraints are
expressed as equalities and every variable is line of linear programing problem.
LP in Standard form
Where X, Y ≥ 0
2|Page
Q 2, Required
1, Formulate the primal (original) linear programing model.
Max Z = 240x1+120x2+60x3
7x1+13x2+8x3 ≤ 77
8x1+4x2+2x3 ≤ 80
Max Z = 240x1+120x2+60x3+0s1+0s2+0s3
10x1+8x2+4x3+s1+0s2+0s3 = 100
7x1+13x2+8x3+0s1+s2+0s3 = 77
8x1+4x2+2x3+0s1+0s2+s3 = 80
Ci 240 120 60 0 0 0
X1 X2 X3 S1 S2 S3 RHS RR
0 s1 10 8 4 1 0 0 100 10
0 s2 7 13 8 0 1 0 77 11
0 s3 8 4 2 0 0 1 80 10
Zi 0 0 0 0 0 0
Ci-Zi 240 120 60 0 0 0
Table.2 X1= enter S1= leaving
Ci 240 120 60 0 0 0
X1 X2 X3 S1 S2 S3 RHR RR
240 x1 1 0.8 0.4 0.1 0 0 10
0s2 0 7.4 5.2 -0.7 1 0 7
0s3 0 -2.4 -1.2 -0.8 0 1 0
Zi 240 192 96 24 0 0
Ci-Zi 0 -72 -36 -24 0 0
3|Page
X1=10, X2=7, X3=0
Z = 240x1+120X2+60X3
= 240x10+120X7+60X0
=2400+840+0
= 3240
Duality (Transpose)
s.t = 10x1+7x2+8x3≥240
= 8x1+13x2+4x3≥120
=4x1+8x2+2x3 ≥60
X1, X2, X3 ≥ 0
4|Page
Meaning and Definition of Simulation:
A simulated model may be defined as one which depicts the working of a large scale system of
man, machines, materials and information operating over a period of time in a simulated
environment of the real world conditions.
Simulation is a numerical solution method that seeks optimal alternatives (strategies) through a
trial and error process. The simulation approach can be used too study almost any problem that
involves uncertainty, i.e., one or more decision variables can be represented a probability
distribution, like decision making under risk.
According to Shannon:
"Simulation is the process of designing a model of a real system and conducting experiments with
this model for the purpose of understanding the behavior (with the limits imposed by a criterion
or set of criteria) for the operation of the system".
Built on mathematical models, Monte Carlo analyses use the empirical data of the real system’s
inputs and outputs (e.g., supply intake and production yield). It then identifies uncertainties and
potential risks through probability distributions.
The advantage of a Monte Carlo-based simulation is that it provides awareness and a thorough
understanding of potential threats to your bottom-line and time-to-market.
5|Page
You can implement Monte Carlo simulations to practically any industry or field, including oil and
gas, manufacturing, engineering, supply chain management, and many others.
The ‘agent’ in agent-based models could be people, equipment, and practically anything else. The
simulation includes the agent’s ‘behavior,’ which serve as rules of how those agents must act in
the system. You then look at how the system responds to those rules.
However, you must draw your rules from real-world data — otherwise, you will not generate
accurate insights. In a way, it serves as a means to examine a proposed change and identify
potential risks and opportunities.
You would use a discrete event simulation model to examine that technical support process. You
can use discrete event simulation models to study many types of systems (e.g., healthcare,
manufacturing, etc), and for a diverse range of outcomes.
For example, the Nebraska Medical Center had used discrete event simulation models
To see how it could remove workflow bottlenecks, increase the utilization of its operating rooms,
and lower patient/surgeon travel distance and time.
6|Page
Rather, businesses would use system dynamics models to simulate for a long-term, strategic-level
view of the overall system.
In other words, the priority is to get aggregate-level insights about the entire system in response to
an action — e.g., a reduction in CAPEX, ending a product line, etc.
As you can see, each simulation model has its advantages and, as a result, serves a specific purpose.
Selecting the right model for your needs — which is a challenge for some — is only the first step,
you also require a specific set of tools and expertise.
2) Computer Simulators:
Simulators have been proposed as an ideal tool for assessment of students for clinical skills.
Programmed patients and simulated clinical situations, including mock disaster drills, have been
used extensively for education and evaluation. These "lifelike" simulations are expensive, and lack
reproducibility. A fully functional "3Pi" simulator would be the most specific tool available for
teaching and measurement of clinical skills. Such a simulator meets the goals of an objective and
standardized examination for clinical competence. This system is superior to examinations that
use "standard patients because it permits the quantitative measurement or competence, as well as
reproducing the same objective findings.
7|Page
3) Military Simulations:
Military simulations are e models in which theories of warfare can be tested and advanced without
the need for actual hostilities. It is also known as war games. They exist in different forms with
various degree of realism.
4) Finance Simulations:
In financing computer simulation are often used for scenario planning.
5) Flight Simulators:
A flight simulator is used for the training of the pilots on the ground. A pilot gets permission by
this technique to crash his simulated "aircraft" without being hurt. Pilots are trained with the use
of flight simulators to operate aircraft in extremely dangerous situations, such as landing with no
engines, or complete electrical or hydraulic failures. High-fidelity visual systems and hydraulic
motion systems are included in most advanced simulators. The simulator is normally cheaper to
operate than a real trainer aircraft.
Phases of Simulation:
8|Page
For example, demand (consumption rate), lead time and safety stock are identified as decision
variables in inventory problem. These variables shall be liable to measure the performance of the
system in terms of total inventory cost under the decision rule - when to order.
The computer.
Simulation Models:
Simulation models are mainly of two types
1) Continuous Models:
Continuous models are used for the system whose behavior changes continuously with time.
Difference differential equations are used by this model to describe the interactions among the
different elements of the system. A typical example deals with the study of world population
dynamics.
9|Page
2) Discrete Models:
Discrete models are used for the study of waiting lines, with the objective of determining average
waiting time and the length of the queue. When a customer enter or leaves the system then these
measures would be changed. At all other instants, nothing from the standpoint of collecting
statistics occurs in the system. The instants at which changes take place occur at discrete points in
time, giving rise to the name discrete event simulation.
Benefits of Simulation:
Ÿ in various cases, mathematical programming and experimentation with the actual system
are unable to solve various complex important managerial decision problems and if it is possible
then it will be costly. In simulation solution is obtained by experimentation with a model of the
system with affecting the real system.
Ÿ with the help of simulation management can predict the occurrence of difficulties and
bottlenecks due to the introduction of new machines, equipment or process.
10 | P a g e
Thus, simulation eliminates the requirement of costly trial and error method of trying out the new
concept on real methods and equipment.
Ÿ Operating personnel and non-technical managers can easily understand the simulation
technique because it is relatively free from mathematics. This helps in getting the propose plans
accepted and implemented.
Ÿ Simulation models are comparatively flexible and can be changed according to the
changing environments of the real situation.
Ÿ Computer simulation can increase the performance of a system over several years and large
calculations are done in few minutes of computer running time.
Simulation technique is easier to use and it is superior technique to the mathematical analysis.
Ÿ in the operations of complex plans, simulation is used for training the operating and
managerial staff. It is very important technique to train the people before putting into their hands
in the real system. Simulated exercises have been developed to teach the trainee for gaining
sufficient exercise and experience.
Limitations of Simulation:
Ÿ Simulation does not produce optimum results. When the model deals with uncertainties,
the results of simulation are only reliable approximations subject to statistical errors.
Ÿ in very large and complex problems, the large number of variables and the inter-
relationships between them make the problem very unwieldy and hard to program. The number of
variables may be too large and may exceed the capacity of the available computer.
11 | P a g e
3.2 What is Monte Carlo simulation?
Monte Carlo Simulation, also known as the Monte Carlo Method or a multiple probability
simulation, is a mathematical technique, which is used to estimate the possible outcomes of an
uncertain event. The Monte Carlo Method was invented by John von Neumann and Stanislaw
Ulam during World War II to improve decision making under uncertain conditions. It was named
after a well-known casino town, called Monaco, since the element of chance is core to the modeling
approach, similar to a game of roulette.
Since its introduction, Monte Carlo Simulations have assessed the impact of risk in many real-life
scenarios, such as in artificial intelligence, stock prices, sales forecasting, project management,
and pricing. They also provide a number of advantages over predictive models with fixed inputs,
such as the ability to conduct sensitivity analysis or calculate the correlation of inputs. Sensitivity
analysis allows decision-makers to see the impact of individual inputs on a given outcome and
correlation allows them to understand relationships between any input variables.
Monte Carlo Simulations are also utilized for long-term predictions due to their accuracy. As the
number of inputs increase, the number of forecasts also grows, allowing you to project outcomes
farther out in time with more accuracy. When a Monte Carlo Simulation is complete, it yields a
range of possible outcomes with the probability of each result occurring. One simple example of
a Monte Carlo Simulation is to consider calculating the probability of rolling two standard dice.
There are 36 combinations of dice rolls. Based on this, you can manually compute the probability
of a particular outcome. Using a Monte Carlo Simulation, you can simulate rolling the dice 10,000
times (or more) to achieve more accurate predictions.
12 | P a g e
How to use Monte Carlo methods
Regardless of what tool you use, Monte Carlo techniques involves three basic steps:
Ÿ set up the predictive model, identifying both the dependent variable to be predicted
and the independent variables (also known as the input, risk or predictor variables) that
will drive the prediction.
You can run as many Monte Carlo Simulations as you wish by modifying the underlying
parameters you use to simulate the data. However, you’ll also want to compute the range of
variation within a sample by calculating the variance and standard deviation, which are commonly
used measures of spread. Variance of given variable is the expected value of the squared difference
between the variable and its expected value. Standard deviation is the square root of variance.
Typically, smaller variances are considered better.
One simple example of Monte Carlo simulation is to consider calculating the probability of rolling
two standard dice. There are 36 combination of dice rolls. Based this you can manually compute
the probability of a particular outcome. Using a Monte Carlo simulation, you can simulate rolling
the dice 10000 times or more to achieve more accurate prediction.
13 | P a g e
What is macro chain simulation?
A stochastic process Xn: n≥0 is called marcove chain if for all times n≥0 and all states 0, i, j, es,
p, (Xn+1=j, xn=1, Xn-1=n -1, X0=i0) = P (Xn+1=i) (1) =Pij
Marcove chains are used to compute the probability events occurring by viewing them as states
translating in to other states as before. We can take weather as an example, if we arbitraly pick
probabilities a prediction regarding the furthermore. What is homogeneus markove chain?
Markove chain graphical model graph theory.
Marcove chain is a graph that describes how the state changes over time and homogenous.
Markovchain is such a group that its system dynamic doesn’t change.
4. What is the different between Monte Carlo and marcove chain simulation?
Traditional Monte Carlo is really just a fancy application of the law of large numbers (LLN) for
approximating expectations/integrals/probabilities (all the same thing really). LLN requires
independent and identically distributed (IID) samples to work. So traditional Monte Carlo relies
on an IID sampling assumption to make the integration or expectation approximation work.
Markov Chains are just a specific type of random process; a process for which the distribution any
point in time depends only on the distribution in the process’ most recent history. Most recent
history can be defined in different ways. But Markov chains are largely just about modeling local
dependence.
The two are fundamentally different things. One (Monte Carlo simulation) is a approximation
technique. The other (Markov Chains) is a specific random model.
You were probably thinking of Markov Chain Monte Carlo (MCMC) simulations when you asked
this question. MCMC relaxes the IID sampling assumption in traditional Monte Carlo routines. In
MCMC routines, we use samples of an (ergodic) Markov chain process, instead of samples from
an IID process. Approximation guarantees now come from a Markov Chain version of the law of
large numbers (MC-LLN) instead of the regular LLN.
14 | P a g e
15 | P a g e