Systems Engineering Overview and Concepts
Systems Engineering Overview and Concepts
Zacatenco Unit
Class notes
Systems Engineering
6CM8
Basic concepts of engineering.
Engineering is known as the discipline that makes use of a set of
technical, scientific, practical, and empirical knowledge for invention, the
design, development, construction, maintenance, and optimization of everything
type of technologies, machines, structures, systems, tools, materials and
processes.
The objective of engineering is to provide solutions to the practical problems of the
people, both socially and economically and industrially. Hence, engineering
be a discipline that transforms knowledge into something practical for benefit
of humanity.
Civil engineering is a discipline of engineering that applies knowledge of
different areas, such as physics, the
chemistry, geology, calculus, the
mechanics or hydraulics, among others,
for the design, the construction and the
maintenance of infrastructure of
large size and for public use such as
roads, airports, bridges,
railways dams, ports
airports, among other things.
The engineer relies on basic sciences (mathematics, physics, chemistry, biology,
economic and administrative sciences, engineering sciences, engineering
applied) both for the development of technologies and for efficient management and
productive use of resources and forces of nature for the benefit of society. The
Engineering is an activity that transforms knowledge into something practical.
Origins of engineering.
The history of engineering dates back to very ancient times, from the invention
of tools like the lever or the wheel, which facilitated the execution of others
works through basic principles of mechanics.
The first manifestations of engineering occurred in ancient times with the
great constructions like the pyramids, both Egyptian and pre-Columbian.
Likewise, there are the great works of the Greeks and the Romans, who brought
engineering to other aspects of life such as the military.
In the Medieval Era, advances in civil engineering led to the
Gothic architecture in Europe, while in Asia advancements were made
important are the areas of metallurgy and hydrography.
3
During the Modern Age, the steam engine inaugurated the Industrial Revolution.
It was then that engineering began to be a formal science. It must be taken
Keep in mind that current engineering is a set of knowledge and
techniques applied to problem solving.
From then on, the areas of specialization began to separate as
they were military engineering, mechanical, civil, and new names were added to that list.
4
The systemic approach.
The systemic approach represents the linear sequence of events. In the
branches may appear on the path, but it is always a sequence of steps that
we need to carry out.
A very general example is the logical sequence of the execution processes of
a project: We formulated objectives, found requirements, organized
actividades, adquirimos entregables, y al final tenemos productos y luego vemos
What are the results?
The systemic approach has as its main point the concept of the system, which is a
set of interrelated elements with a common goal.
In projects, it is relatively easy to formulate the common objective, which can be
formulated at two levels: The product level that appears at the end of any
project and the level of results we expect when the product starts to
to function.
An important aspect is the system's characteristic, its elements are
interrelated. Any project is a system because we can break it down
in different subsystems and, from a technical and management perspective, it is part
of the highest level system, which is also a subsystem.
5
Abstracts: Symbolic or conceptual systems.
Regarding their origin, these can be:
Natural: Systems generated by nature.
Artificial: Systems that are products of human activity, are
designed and built by man.
Systems engineering works with the aim of contributing to scientific development and
technological through continuous research of new technologies and
procedures. Thanks to its multidisciplinary nature, this career opens the door
to a wide variety of companies or organizations, both public and private,
and especially in those of large size.
What does a Systems Engineer do?
A graduate in Systems Engineering can dedicate themselves to a multitude of tasks, among
they
Create, program, apply and maintain computer systems
Design and maintain websites and web pages
6
Create software and hardware for a company, after carrying out a
research
Optimize the data that those companies handle
Manage information systems and networks
7
dynamic systems that classify phenomena characterized by abrupt
displacements in their behavior.
The TGS emerges in the 20th century as a new effort in the search for concepts.
and valid laws for the description and interpretation of all kinds of real systems
to physicists.
8
There is a clear trend towards integration in the various natural sciences
social
This integration seems to be oriented towards a theory of systems.
This theory of systems can be a broader way to study the
non-physical fields of scientific knowledge, especially the social sciences.
That systems theory, by developing unifying principles that traverse
vertically the particular universes of the various involved sciences, we
they approximate the object of the unity of science.
9
The social system can be defined as a plurality of individuals interacting.
with each other according to shared cultural norms and meanings. The term is
a key principle in systems theory, which manages the field of sociology.
Sistema técnico es aquel dispositivo, compuesto de entidades físicas y de agentes
humans, whose function is to transform some type of object to obtain
specific characteristic results of the system, as long as it is
beneficial.
Technological systems are techniques or objects aimed at facilitation or
decrease in human work. When we talk about a technological system, we
we will be referring to a set of components and variables that
They will contextualize human technical action.
10
Engineers who wish to work in this field must
apply the practice of your knowledge about design and construction of
computer programs.
Technological infrastructure
This is an area of application where Systems Engineers will be
carrying out selection tasks for hardware and software platforms that integrate
a project.
Cybersecurity
The engineer who focuses on this area must ensure the protection of the
computational infrastructure, specifically in information protection.
Information management
A systems engineer can develop in any company and
perform by managing your information appropriately.
Multimedia
One of the fields of application in which an engineer can develop in
systems, is the branch of multimedia.
11
decisions can be seen as an interactive process, a cycle that includes
several successive circles.
1.4.1 Comparison between the classical approach and the systems approach.
12
what constitute their contains and of which
indivisible units. is part of.
13
also those considered unsustainable from an environmental perspective and
social.
Environmental unsustainability, understood as the overflow of limits
taxes by nature, in many cases has its origin in patterns of
production and consumption in themselves. But, as we know, neither the professionals
from engineering that participated in the creation and implementation of technologies
that have been critical in addressing various human needs, neither the
beneficiaries of them, imagined at the time that many of them
they could bring with them the negative consequences that we know today.
A systems engineer, in addition to knowing and mastering current technology, is
able to improve it.
In fact, these graduates use the new systems, software, programs and
applications to meet the diverse needs of the population and, furthermore,
to develop technologies that enhance people's quality of life.
In addition to collaborating with the technology itself, it encourages the development of people.
14
Media planning is the advertising discipline responsible for reaching
the advertising messages to the largest number of people in the target audience. This
It is done through the selection of the most suitable means and supports for
each occasion and always looking for the lowest possible cost.
1.6Problem analysis.
After identifying and validating the central problem, it becomes crucial that, in the
perspective of its solution, it should be understood correctly, which implies the
identification and understanding of its most relevant causes and effects. The analysis of
problems have the fundamental purpose of the correct determination of the
causes that originate a problem, with the understanding that their knowledge is useful
as a guideline for determining the alternative solutions. Although the analysis
problems are addressed qualitatively in the advanced stages of
the project design can be carried out in a quantitative manner, resulting in
result of the construction of the project baseline.
The problems related to the competitiveness of small producers
they can have various causes, depending on the level at which it has been situated
central problem. Thus, for example, if the central problem is defined as 'low level
of competitiveness" the causes are likely to be found throughout the
value chain: poor quality of inputs (supply), process
inadequate production (manufacturing or operations), insufficient articulation to
markets (marketing), weak commercial negotiation capacity (distribution), etc.
If, on the contrary, the central problem is located in a specific aspect of the
15
value chain, for example, the weak commercial negotiation capacity or the low
level of productivity, the causes should be sought within the phases of
distribution and production of the value chain, respectively.
16
As a criterion, it is called the principle or rule by which one can know the
truth, to make a determination, or to opine or judge about a certain matter. The
criterion, in this sense, is that which allows us to establish the guidelines or
principles from which we can distinguish one thing from another.
Limiting refers to setting boundaries on something, while the notion of limit is linked to
a line that separates two territories, to the extent that a certain time reaches,
to the extreme that can be reached in the emotional and physical or to a restriction
17
representa una carretera en construcción. Estos modelos se utilizan con buenos
results in the representation of dynamic situations, that is, in the
representation of processes.
C. Symbolic or mathematical model: It is a representation of reality through
of symbols, those that generally have a mathematical or logical character. A type
A symbolic model is an equation. An equation is easy to understand and to
manage, also lending itself to computational processes.
Cuantitativos y cualitativos: La mayor parte de los problemas de un negocio u
organization begins with an analysis and definition of a qualitative model and
gradually advances until obtaining a quantitative model. The research of
operations deals with the systematization of qualitative models and their
development up to the point where they can be quantified. When it is possible to build
a mathematical model inserting symbols to represent relationships between
constants and variables we are faced with a quantitative model. An equation is a
model of this type. The formulas, the matrices, the diagrams or series of values
which are obtained through mathematical processes.
18
. The models are a means of communication with clients, users and
manufacturers.
. They allow maintaining the integrity of the system through coordination of the
design activities.
. They help design by providing templates, and organizing and recording the
decisions.
. They allow exploring and manipulating the parameters and characteristics of the solution.
guiding in the aggregation and decomposition of the functions of the system, their
components and construction elements.
2.1 Definitions.
Process optimization is the discipline of adjusting a process to optimize.
(make the best or the most effective use) of a specific set of parameters without
violate any restriction. The common objectives are to minimize cost and maximize
the performance and/or efficiency. This is one of the main
toolsquantitativein thedecision makingindustrial.
Tooptimizea process, the goal is to maximize one or more of the specifications
of the process, keeping all others within their limitations. This is
can be done using a tool ofprocess miningdiscovering the
critical activities and bottlenecks, and acting only on them.
Areas
There are three parameters that can be adjusted to affect optimal performance:
Equipment optimization
The first step is to verify that the existing equipment is being used to its fullest.
examining the operating data to identify bottlenecks in the equipment.
Operating procedures
19
Operational procedures can vary widely from person to person or
from shift to shift. The automation of the plant can help significantly.
But automation will not be effective if the operators take control and execute the
plant manually.
Control optimization
In a typical processing plant, such as achemical plantor arefinery of
oilthere are hundreds or even thousands of control loops. Each control circuit
is responsible for controlling part of the process, such as maintaining the temperature,
the level or the flow.
20
The development of inventory models, as well as that of time and motion,
it takes place in the twenties of this century, while the line models
waiting originates from Erlang's studies in the early 20th century. The
assignment problems are studied with mathematical methods by the Hungarians
Konig and Egervary in the second and third decades of this century. The problems of
distribution was studied by the Russian Kantorovich in 1939. Von Neumann lays the foundation in
1937 what years later would culminate as Game Theory and the
Theory of Preferences (the latter developed in conjunction with Morgenstern). There is
to note that the mathematical models of Operations Research
what these precursors used, were based on Differential Calculus and
Integral (Newton, Lagrange, Laplace, Lebesgue, Leibnitz, Riemann, Stieltjes, for
mention some), Probability and Statistics (Bernoulli, Poisson, Gauss,
Bayes, Gosset, Snedecor, etc.).
21
. For this method to work, it is necessary to do teamwork, the
which must be formed by experts.
22
connection with regression models and the term is often taken
as a synonym for the linear regression model. However, the
term is also used in time series analysis with a
different meaning. In each case, the designation as "linear" is
used to identify a subclass of models for which the
reduction in complexity of the related statistical theory is
possible.
b) Non-linear models. A non-linear regression model can be
define as an adjustment to any model different from the model of a
straight line.
23
Linear programming has proven to be an extremely powerful tool,
both in the modeling of real-life problems and in mathematical theory
of wide application. However, many interesting optimization problems
nonlinear sounds. The study of these problems involves a diverse mix of
linear algebra, multivariable calculus, numerical analysis, and computing techniques.
Among the important special areas is algorithm design.
computation (including interior point techniques for linear programming),
geometry and the analysis of convex sets and functions, and the study of
especially structured problems, such as quadratic programming. The
non-linear optimization provides fundamental information for analysis
mathematician, and it is widely used in the applied sciences (in fields such
such as engineering design, regression analysis, inventory control, and in
geophysical exploration.
The problem of solving a system of linear inequalities dates back to
less, to Joseph Fourier, after whom the elimination method is born
Fourier-Motzkin. Linear programming is posed as a mathematical model.
developed during World War II to plan expenses and
returns, in order to reduce costs to the army and increase the enemy's losses.
It was kept secret until 1947. In the post-war period, many industries used it.
in their daily planning.
24
The general model of a linear programming problem consists of two very parts
important: the objective function and the constraints.
The linear objective function
The mathematical expression of the objective is called the objective function and the goal must be
maximize or minimize that expression.
The linear objective function can be represented in the following ways:
Z = Cl X1 + C2 X2 +...... + Cn Xn
or using summation notation
n
Z = ∑ CjXj
j=1
Where:
Z = Linear objective function.
Cj = Net price or unit cost, depending on the model.
Xj = Activity or process.
The goal may be to maximize certain income variables that can
vary from net or gross income, depending on how it is structured
model. Linear programming can also be applied to problem of
cost minimization and these programs are based on a different set of
criteria for its optimization.
The coefficients C1, C2..., Cn are the cost coefficients (known) or of
income, depending on the type of problem we are solving. On the other hand, X1,
X2, ..., Xn are the decision variables (variables, or activity levels) that
They must be determined in such a way that the objective is achieved within the
restrictions faced by the problem.
A set of linear constraints or inequalities
The constraints, expressed through linear inequalities, are composed of
by the technical coefficients (Aij), the activities or processes (Xn), which
they were also taken into account in the objective function and also the levels or
limitations (Bi). The set of constraints is expressed as follows:
A11 X1 + A12 X2 + … + A1n Xn ≤ B1
A21 X1 + A22 X2 +...+ A2m Xn ≥ B2
...
25
... Am1 X1 + Am2 X2 + ... + Amn Xn = Bm
X1, X2,…,Xn ≥ 0
According to Beneke and Winterboer (1984: 25), there are three basic types of restrictions:
greater than (≥), less than (≤) or equal (=), and these can be
classified according to their nature:
Resource or input constraints: these can include land, capital,
labor and facilities.
External restrictions: this class includes concepts such as assignments
surface land governmental limits of credit assigned to the
legal products or obligations.
Subjective restrictions: these restrictions are imposed by the operator themselves.
limits can be difficult to define, but they are often real and significant
in the planning process. Often the imposed restrictions come from
the personal or business objectives of the planner. Among the limitations
the following can be cited of that type:
Limitations on the level of credit that the planner is willing to use.
many occasions is less than the amount that lenders are willing to
to contribute. The typical motivation for such limitations is the implicit desire
to avoid the hazards of debt.
Restrictions due to the risk level of activities that present aspects
linked to highly variable incomes such as sheep farming or
cattle.
Minimum restrictions regarding what the operator considers desirable
reasons not directly related to income such as keeping cows of
pure breed, dairy cows or crops to maintain the qualities of the land.
2.3.3 Approach of the model on an application to civil engineering.
Optimization models contribute to the professional profile of the Civil Engineer the
basis for the development of the necessary capacities that allow you to influence
the decision-making process from the organizational perspective, with the
purpose of optimizing processes and resources inherent to the field of practice of
civil engineering.
The design of structures subject to external loads requires an assessment.
realistic safety factor regarding the collapse of the structure,
called collapse multiplier. The determination of this multiplier is
a basic requirement for an optimal design. The project requires the designer
establish a design collapse mechanism, a requirement that is not possible
comply a priori. In light of this requirement, the analytical methodologies that allow
26
determine the actual collapse mechanism for a given load state
a fundamental importance.
This research work is framed within the field of seismic design of
structures and is focused on the development of a method for analysis and identification
of the collapse mechanism of a structure associated with a load state
given, through the study and verification of its behavior with techniques
of linear programming. In this sense, a simple method is implemented as the
Simplex to the process of searching for the collapse mechanism of plane frames. The
the framing of this structural problem leads to the standard form of this
linear programming methodology. It is shown that obtaining the multiplier
collapse can be fully automated for flat portals. Starting from a
simple resolution algorithm, based on simple collapse mechanisms,
the mechanism of structural collapse is obtained for the load state
given.
The main objective is the verification and optimization of the design of a structure.
using the real collapse mechanism. This methodology also allows
ensure that all joints are produced simultaneously for the state of
design loads.
27
An inequality defines a region that will be the half-plane limited by the line
line that is obtained by considering the constraint as an equality, while
that if an equation defines a region that is the straight line itself.
Nordic Colonial
Construction 6h 8h
Varnishing 5h 2h
Unit Utility $2000 $2200
28
Definition of decision variables Objective Function
6x ≤ 450-8y 8y ≤ 450- 6x
x ≤ (450- 8y) / 6 y ≤ (450-6x) / 8
y = 0 x = 0 x y
0 56.25
x ≤ (450- 8(0)) / 6 y ≤ (450– 6(0)) / 8
75 0
x ≤ 75 ≤ 56.25
Varnishing:5x + 2y ≤ 200
5x ≤ 200-2y 2y ≤ 200- 5x
x ≤ (200- 2y) / 5 y ≤ (200-5x / 2
y = 0 x = 0 x y
0 100
x ≤ (200- 2(0) / 5 y ≤ (200- 5(0)) / 2
40 0
x ≤ 40 ≤ = 100
29
Order:y ≥ 10 Nordic tables
Graphic
60
B=(56.25)
50
40 C=(25,37.5)
30
20
D=(36,10)
10
A=(0,10)
0
0 5 10 15 20 25 30 35 40
Objective Function
á . = 2000x + 2200y
It is observed that the optimal solution is to produce 25 colonial tables per week.
37.5 Nordic, achieving the maximum profit equivalent to $132,500 per week.
30
less than a quarter of what I delivered from the T14, but in no case should they
exceed by more than 150 the number of T14 teams. In Table 2.4 it is indicated that
time required by specialists to assemble and test each equipment, expressed
in minutes, as well as the availability of time.
Teams T14 B12 Availability
Armed 10 min 12 min 55 h
Tests 30 min 6 min 100 h
Costs $100 $60
Objective Function
Min. Z= 100 1+ 60 2
Restrictions
1+ 2≥ 100
31
1
− 1+ 2greater than or equal to zero
4
− 1+ 2≤ 150
Graphic
300
R3
250 R5
200
150
R4
100
R1 R2
50
0
0 50 100 150 200 250
R1: T + B ≥ 100
The graph of the solution set has six vertices.
R2: -¼ T + B ≥ 0 By moving the objective function in the direction of minimization, the
the last point it touches is (0, 100); this indicates that, for
R3: -T + B ≤ 150 satisfy all the constraints, but with the minimum
R4: 10 T + 12 B ≤ 3,300 cost, only 100 items of the type must be produced
B2, so its costs will be $6,000.
R5: 30 T + 6 B ≤ 6,000
T, B ≥ 0
32
highest or lowest possible value, depending on the case, for which all the requirements are met.
restrictions).
Starting from the value of the objective function at any point, the procedure
it consists of looking for another point that improves the previous value. As will be seen in the
Graphical method, those points are the vertices of the polygon (or polyhedron or polychoron,
if the number of variables is greater than 2) that constitutes the region determined by
the restrictions to which the problem is subject (called feasible region).
The search is conducted by moving along the edges of the polygon,
from the current vertex to an adjacent one that improves the value of the function
objetivo. Siempre que exista región factible, como su número de vértices y de aristas
It's over, will it be possible to find the solution.
The Simplex method is based on the following property: if the objective function Z does not
it takes its maximum value at vertex A, then there exists an edge that starts from A and to
along which the value of Z increases.
It will be necessary to keep in mind that the Simplex method only works with
restrictions of the problem whose inequalities are of the type "≤" (less than or equal to) and
its independent coefficients should be greater than or equal to 0. Therefore, it will be necessary to
standardize the restrictions to meet these requirements before starting the
Simplex algorithm. In the event that after this process appear
restrictions of the type '≥' (greater than or equal to) or '=' (equality), or cannot be changed,
it will be necessary to employ other resolution methods, the most common being the
Two-Phase Method.
Maximize Z = f(x,y) = 3x + 2y
subject to: 2x + y ≤ 18
2x + 3y ≤ 42
3x + y ≤ 24
x ≥ 0, y ≥ 0
ox becomes X1
o and becomes X2
33
Since the constant terms of all the constraints are positive
It is not necessary to do anything. Otherwise, it would be necessary to multiply by "-1" in
both sides of the inequality (considering that this operation also
affects the type of restriction.
In this case, a slack variable (X3, X4, and X5) is introduced in each one.
from the restrictions of the type ≤, to convert them into equalities, resulting in the
system of linear equations
The initial table of the Simplex method is composed of all the coefficients of
the decision variables of the original problem and the slack, surplus, and
artificial added in step 2 (in the columns, being P0 the term
independent and the rest of the variables coincide with Xi), and the constraints (in
the rows). Column C contains the coefficients of the variables that
they are found in the database.
34
Table I. Iteration No. 1
3 2 0 0 0
Base Cb P0 P1 P2 P3 P4 P5
P3 0 18 2 1 1 0 0
P4 0 42 2 3 0 1 0
P5 0 24 3 1 0 0 1
Z 0 -3 -2 0 0 0
Stop condition.
If the goal is maximization, when in the last row (indicator row) there is not
there is no negative value among the reduced costs (columns P1)
forward) the stopping condition is reached.
Another possible case is that in the column of the incoming variable to the database.
all values are negative or null. This indicates that the problem does not
it finds bounded and its solution will always be improvable. In the face of this
it is not necessary to continue iterating indefinitely and it can also be
terminate the algorithm.
If this is not the case, the following steps are executed iteratively.
If there were two or more equal coefficients that meet the condition
previous (in case of a tie), then the variable that is chosen will be that one which is
basic.
The column of the variable that enters the base is called the pivot column.
green
Once the variable that enters the database is obtained, it proceeds to determine
what will be the variable that comes out of it. The decision is made based on a
simple calculation: divide each independent term (column P0) by the
corresponding element of the pivot column, provided that both elements
must be strictly positive (greater than zero). The row is selected whose
result has yielded a minimum result.
35
If there is any element less than or equal to zero, that quotient is not performed.
In case all elements of the pivot column were from this
condition would have been met the stop condition and the problem would have a
unbounded solution (seetheory of the Simplex method).
The pivot column term that in the previous division resulted in the smallest
Positive quotient indicates the row of the slack variable that leaves the base. In
this case turns out to be X5(P5), with a coefficient of 3. This row is called the pivot row.
green color)
The intersection of the pivot row and pivot column marks the pivot element.
in this case the 3.
oIn the row of the pivot element, each new element is calculated as:
With this, the pivot element is normalized and its value becomes 1, while
that the rest of the elements in the pivot column are nullified (analogous to the method
of Gauss-Jordan).
Front row P4 42 2 3 0 1 0
- - - - - -
Previous Row Element in Pivot Column 2 2 2 2 2 2
x x x x x x
New pivot row 8 1 1/3 0 0 1/3
= = = = = =
New row P4 26 0 7/3 0 1 -2/3
36
The table corresponding to this second iteration is:
5. Upon checking the stop condition, it is observed that it is not met since between
There is one negative element in the last row, -1. Iteration continues.
again steps 6 and 7.
o6.1. The variable that enters the base is X2(P2), as it is the variable that
it corresponds to the column where the coefficient -1 is found.
o6.1. The variable that enters the base is X5(P5), being the variable that
corresponds to the coefficient -1.
37
o 6.2. The variable is chosen by calculating the quotient between the
terms of the column of independent terms and the terms
corresponding to the new pivot column: 6/(-2) [=-3], 12/4 [=3], and
6/1 [=6]. On this occasion it is X4(P4).
o7. After updating all the rows, the following table is obtained:
Se observa que en la última fila todos los coeficientes son positivos cumpliéndose, por
such, the stop condition.
The optimal solution is given by the value of Z in the column of the terms
independents (P0), in this example: 33. In the same column you can see the point.
where it is reached, observing the rows corresponding to the decision variables
that have entered the base: X1= 3 and X2= 12.
38
Minimization Problem Maximization Problem
>= >=0
<= <=0
= unrestricted
<=0 >=
unrestricted =
In what follows, we will combine the different constraints of the primal problem.
pondering over the non-negative values y each one, respectively, of
way to obtain the best upper bound of the optimal value of problem P). Okay
to say
39
In order to ensure that the right side of this last inequality is a
the upper bound of the objective function of the primal problem must be satisfied that:
The best choice of this bound would be obtained by solving the following problem of
optimization
This problem is known as the 'Dual' problem associated with the problem.
Primal
It also turns out that when formulating the dual problem of D) the problem is obtained
primalP)(o an equivalent). Any of the two deliveries the same
the information and the optimal value achieved are the same.
The new algorithm was developed in 1954 by C. E. Lemke and is known as the
name of the Dual-Simplex Method. Below is its structure and a
example to illustrate its application.
First, the model must be expressed in standard form, adding the variables.
of the clearance and excess that are required.
40
Immediately, in the equations that have excess variables (resulting from
type restrictions >), it must be multiplied by (-1) on both sides, to make
positive the coefficient of the excess variable, and thus form a unit vector that
let us take this excess variable as an initial basic variable. without
need to add an artificial variable in that constraint.
Yes, in the row of the basic variable of output (XB) all the coefficients
replacement with the non-basic variables are non-negative, the solution of
the model is optimal limited. The process ends.
If there is at least one in the row of the basic variable of output (XB)s,
negative exchange coefficient, the quotients between the effect are carried out
net of each variable non-basic and its corresponding coefficient of
41
negative exchange. That is, taking (XB)s as the output variable, calculations are made.
all the quotients.
Expressing the model in standard format and adjusting it so that the variables
the basic variables of slack are:
X1 +2X +IE3 = 3
Basics X1 X2 E1 E2 H3 Solution
E1 -3 -1 1 0 0 -3
E2 -4 -3 0 1 0 -6
42
H3 1 2 0 0 1 3
Ej 2 1 0 0 0 0
Sale E2
So the quotients are
Note: It is observed that when the objective is to minimize, the absolute value is taken.
of the quotients.
Basics X1 X2 E1 E2 H3 Solution
E1 - 0 1 - 0 -1
5/3 1/3
E2 4/3 1 0 - 0 2
1/3
H3 - 0 0 2/3 1 -1
5/3
Ej 2 0 0 1/3 0 2
Sale H1
Basics X1 X2 E1 E2 H3 Solution
E10 1 -3/5 1/5 0 3/5
43
E2 0 1 4/5 - 0 June 5
3/5
H3 0 0 -1 1 1 0
In the graph, we observe the path that the algorithm actually took to move from
the infeasible solution with value Z= 0 to the optimal feasible solution with value Z = 12/5.
The application of the dual simplex method is especially useful in the analysis of
sensitivity. It is used when after obtaining the optimal solution, you
wants to add a new constraint to the model if the new constraint is not met.
In this case, it is obtained that, for the optimal values of the decision variables,
the solution remains optimal, but becomes infeasible. Then arises the
need to apply the Dual-Simplex algorithm to extract the basic variable that
it has unfeasible value. When we study the topic of sensitivity analysis
we will analyze a case like the one mentioned
Example:
The analysis can be done with a spreadsheet. The investment in the example is
a new machinery. The cash flows represent the two options, the NPV and
44
the NPV. The differences between cash flows arise from variations in the
sales due to two possible scenarios, for example, depending on a
advertising campaign.
We can observe that in the first case, the NPV is 564.29 units.
monetary (u.m.) in the second of 648.61 u.m. Therefore, the sensitivity of NPV
is 14.94% and positive. In light of those changes in sales, there would be a
increase of the NPV of almost 15%. Therefore, it seems that this campaign may
be effective.
Another important detail is that the transportation algorithm is based on the hypothesis that
the model is balanced and that means the total demand is equal to
total offer. If the model is unbalanced, it can always be increased with a
fictitious source or fictitious destination to restore balance.
45
The steps of the transportation algorithm are exactly the same as those of the algorithm.
simplex.
In the first step, a feasible basic solution is determined that gives us
help to proceed to step two.
In the second step, the optimality condition of the simplex method is used.
to determine the input variable among all the basic variables.
Stop if satisfied.
In the third step, the feasibility condition of the simplex method is used to
determine the output variable and thus obtain the new solution and
subsequently return to step two.
46
2.4.2 Methods to determine a feasible solution
basic initial to maximize and minimize.
InLinear Programminga Basic Feasible Solution (BFS) is one that
in addition to belonging to the region or feasible area of the problem, it can be
to represent through a feasible solution in the application ofMethod
Simplexsatisfying the non-negativity conditions.
The graphical resolution of the previous problem is presented in the following graph:
47
The area of concern corresponds to the feasibility domain of the problem.
identifying in particular 5 vertices that we have called
arbitrarily A, B, C, D and E.
The optimal solution of the linear model is reached at the vertex.
Where X=100 and Y=350 with optimal value V(P)=3,100. Note that this solution
it can be obtained through the resolution of a system of equations with the
restrictions 1 and 3 (R1 and R3) in equality.
Consequently, vertex C, besides being a feasible basic solution, is
a feasible optimal basic solution.
As for the vertices A, B, D, and E, they are basic feasible solutions (not ...
optimal) due to the application of theSimplex Methodat least one
non-basic variable will have reduced negative cost (which will allow for improvement)
actual value of the objective function.
The table below is the one obtained by bringing the problem to its form.
standard, adding S1, S2, and S3 as slack variables for the constraints 1,
2 and 3, respectively (R1, R2 and R3).
48
Both non-basic variables (initial) X and Y have negative reduced cost (-3 and -
8) therefore X=0 and Y=0 which although it is a feasible basic solution (vertex A) is not
it is the optimal solution.
The basic feasible solution now is X=0 and Y=350 (vertex B), however, the
the reduced cost of the variable X is still negative and therefore we still do not
we find at the optimum. Consequently, Xentra enters the base and we obtain the
mínimo cociente:Min {200/2; 1.000/6}=100 ==> S1deja la base:
49
2.4.3 Types of problems: balanced and
unbalanced.
It is quite common for the total number of units that the origins
they can send and the quantity of units that the destinations require can be different.
This means that total capacity and total demand are different. It is, then,
that we are facing an unbalanced transportation problem.
To resolve this difficulty, fictitious sources or fictitious destinations are introduced.
as the case may be. The purpose is to balance the demand and the capacity to apply
some method that provides a feasible initial solution.
A fictitious destination is added when the total capacity is greater than the demand.
The fictitious destination is assigned a demand equal to the excess capacity.
The unit transport costs associated with the routes created by adding the
fictional destination is zero, in reality no shipments are made to the fictional destination.
The demand for the fictitious destination represents the surplus capacity, that is, the
demand of the fictional destination is calculated by subtracting the total demand from the capacity
total.
That the total capacity is greater than the total demand means that the sources
they can send more units than the destinations require. The units
required in a fictional destination represent unused capacity in one of
the origins.
A fictional destination adds an additional column to the problem table of
transport
For example, let's consider three plants A, B, and C that make shipments to five
Warehouses D, E, F, G, and H. The transportation table is as follows:
50
By adding the capacities of the plants, we have a total of 2,100 units.
(1,000+600+500=2,100) and, when calculating the total demand, we have 1,700 units.
(500+100+600+300+200=1,700), therefore, there is a transportation problem.
not balanced and the total capacity is greater than the total demand, it is necessary
add a fictional destination to balance the issue.
In the following table, a fictional destination has been added as an additional column.
in the transportation problem table, its associated unit transportation costs
is zero since no shipment is made. Furthermore, the demand placed on it
The assignment is 400 units and results from subtracting the total demand from the capacity.
total (2,100-1,700=400).
A fictitious source is added when the total demand is greater than the capacity.
To the fictitious origin, a capacity equal to the excess demand is assigned.
Similarly to the first case, the associated unit transportation costs
the routes that are created when adding the fictitious origin are zero, since they never
They embark units from the fictitious origin.
The capacity of the fictitious origin represents the excess demand, that is, the
the capacity of the fictitious origin is calculated by subtracting the total capacity of the demand
total.
That the total demand is higher means that the destinations require more.
units from which the origins can send. The units sent from a
fictitious origin represents an unmet demand in some of the destinations.
A fictitious origin adds an additional row to the transportation problem table.
Let's consider the same example as in the previous case, but establishing the
capacity of plant A is 100 units. The transportation problem table is
the following:
51
We sum the capacities of the plants and obtain a total of 1,200 units.
(100+600+500=1,200) and, when calculating the total demand, we have 1,700 units.
(500+100+600+300+200=1,700). It is a transportation problem
unbalanced, total demand is greater than total capacity, it is necessary
add a fictitious source to balance the issue.
52
2.4.4 Degenerate transportation problems.
For a balanced transportation problem with m origins and n destinations, a
solution with less than m + n - 1 variables greater than zero is degenerate.
degeneration can occur in the following cases:
In the calculation of an initial basic feasible solution: when they are satisfied
simultaneously origin and destination in a step that is not the last of the method of
Bird or the northwest corner method.
In any iteration of the transportation algorithm, when there is a tie in the
criteria of the variable that comes from the database.
Z = 30 + 3x1 - 5x4/2
Increasing the value of any of these non-basic variables (with the adjustment of the
basic variable values so that they still meet the system of
(equations) means to move to one of the two basic feasible solutions.
adjacent. Since x1 has a positive coefficient, increasing it leads to a solution
basic feasible adjacent that is better than the current solution, so this is not
optimal.
In general terms, the current feasible basic solution is optimal if and only if all
the non-basic variables have non-positive coefficients (≤ 0) in the current form of
the objective function. This current form is obtained by moving the variables xj to the side
right of the current equation (0) after having converted all the equations
the appropriate form of Gaussian elimination [which eliminates the basic variables of
this equation]. Equivalently, the variables can be left on the side
left and then the optimality test consists of all the variables
non-basic variables have non-negative coefficients (≥ 0) in the current equation (0).
53
The Assignment Algorithm is used in the classic problem of Research.
of Operations (Assignment Problems).
The Assignment Problem includes applications such as assigning people to
tasks. Although their applications seem to differ from the transportation problem, it will be seen
that this problem is a special case of the transportation problem.
It has a limitation, which is that only one resource can be assigned to each task.
There may be excess resources or there may be excess tasks, but two cannot be assigned.
resources to the same task, or three.
The Assignment Problem is based on comparative information to make
the decision of whom to assign to a resource.
Its origin lies in the industrial revolution, due to the emergence of the
machines made it necessary to assign a task to a worker.
Thomas Jefferson suggested in 1792 to assign a representative to each state,
but this problem formally appeared in 1941, when F.L. Hitchcook published
an analytical solution to the problem, but it is not until 1955 when Harold W. Kuhn
proposes the Hungarian Method, which was later revised by James Munkres in
1957.
Steps for the application of the Hungarian Method are:
those assigned are resources that are allocated for the completion of tasks. For
54
For example, the assigned can be employees to whom work must be given.
they can be machines, vehicles or plants, or even periods to which they are assigned
tasks.
"The best person for the job" is a good description of the model of
assignment.
The objective of the model is to determine the optimal (minimum cost) allocation of
workers to positions.
this type of applications are formulated in such a way that the following are met
assumptions:
denoted by n.)
Each assigned person is assigned only one task.
3. Each task must be performed by only one assignee.
55
4. There is a cost cij associated with the assigned i (i = 1, 2, ..., n) that performs the
task j ( j 1, 2, ... , n).
5. The objective is to determine how the n assignments should be made to
minimize total costs.
of transport. However, the fact that all offers and demands are
Z = 30 + 3x1 - 5x4/2
Increasing the value of any of these non-basic variables (with the adjustment of the
values of the basic variables so that they still comply with the system of
(equations) means moving to one of the two feasible basic solutions.
adjacent. Since x1 has a positive coefficient, increasing it leads to a solution
feasible adjacent basic that is better than the current solution, so this is not
optimal.
56
In general terms, the current basic feasible solution is optimal if and only if all
the non-basic variables have non-positive coefficients (≤ 0) in the current form of
the objective function. This current form is obtained by changing the variables xj to the other side
right of the equation (0) currently after having converted all the equations
to the appropriate form of Gauss elimination [which eliminates the basic variables of
this equation]. Equivalently, the variables can be left on the side
left and then the optimality test consists of all the variables
non-basic variables have non-negative coefficients (≥ 0) in the current equation (0).
57
They are all the goods or tangible materials that are held for sale or to be
used in the production and sales process, at some moment or in the future of the
organization.
Classification of inventory models.
Independent demand:
Dependent demand:
Deterministic demand:
Probabilistic demand:
deficit
Time leader:
Discount
Nomenclature.
The cost of the order or organization: (K)
The purchase cost: (C)
The cost of conservation: (H)
Transfer rate: (I)
Cost of deficit:: (B)
EOQ Model (without stockouts). The Economic Order Quantity or Economic Order
Quantity, It is applicable when the demand for a product is constant throughout
the year and that each new order is delivered in full when the inventory arrives
at zero. The Economic Order Quantity basically seeks to find
the order amount that minimizes the total inventory cost of the
company.
EOQ model (with stockouts). This model is used when customers accept
delays, that is, when there are shortages, the affected customers expect that the
product is available again. Orders are fulfilled once they are
restock the inventory.
EOQ model with quantity discounts. Basically, this model is a
application of the general model (EOQ) without shortages, only that in this case, when
they acquire larger quantities of a good, suppliers offer discounts on
the value of the purchased unit.
LEP model (without gaps). The LEP model (economic production lot) is for
companies that are dedicated to producing their products and not just buying and
sell. That is why this model considers a production rate, which is
denoted by the letter R. It should be clarified that this production rate must be higher.
to the demand (R greater than d).
58
LEP model (with missing values). The LEP model with missing values (Economic Lot of
Production that allows for shortages) proposes that a maximum level is reached of
maximum production or inventory, then the inventory is consumed and once
Once the stock is depleted, production starts again. This model
suppose that the customer is willing to wait for a time during which the manufacturer
respond to your request and that a certain amount of missing items is accepted.
59
The costs of placing an order and the holding costs are
Constants and knowns.
Quantity discounts are not possible.
Inventory breakages are avoided.
It is not allowed to defer demand to the future.
With these hypotheses about the use of inventory over time, the graph
it has a sawtooth shape.
The optimal order quantity will occur at the point where the cost per order a
order and storage costs are equal.
CTO=CTM
(D/Q)*Co=(Q/2)*Cm
2(D*Co)=Q(Q*Cm)
2DCo=Q^2 CM
Q^2=2DCMo/cM
Q = √(2DCo/Cm)
60
The order arrives in a single batch and all at once.
• The costs of placing an order, the holding costs, and the costs of
penalties and fixed costs are constants and known.
Quantity discounts are not possible.
It is allowed to defer demand to the future.
Q = (2DCo Cp + Cm )/(CmCp)
Bibliography
TELLO, E. A. R. (2012). Conceptos básicos de Ingenierí[Link], México.
Pressman, R. S., & Troya, J. M. (1988). Software Engineering.
Cathalifaud, M. A., & Osorio, F. (1998). Introduction to the basic concepts of the
general theory of systems. Möbius strip, (3).
61
Hernández Gaviño, R. (2010). Introduction to systems: concepts and
applications. Pearson Education.
Hall, A. Systems Engineering, 1st Edition, Continental Editorial Company, S.A., Mexico,
1983, 580 págs.
62
Gerez Víctor: El Enfoque de Sistemas, 1a. edición, Editorial Limusa, México, 1976,
580 pages.
Rios Insua, Sixto Linear Programming and Applications, Alfa Omega Publishing, Mexico,
1998, 418 pages.
Mokhtar, Bazaraa, and others, Linear Programming and Network Flow, Noriega Publishing.
Mexico, 2003, 879 pages.
63
linear programming, if there is a solution that satisfies the constraints
of the model, it will be found at one of the vertices of the feasible region.
64
Exercise 2.
. = 180x1+ 250x2
S.a. 1+ 150x2≤ 3500(1) For (4):
20x2≤ 1800(2)
0.5x2= 120
50x1-120x2greater than or equal to -190(3)
2= 240
0.5x2= 120(4)
1, 2greater than or equal to zero 1= 0
1+ 150x2≤ 3500
1= 0
150 x2 = 3500
223.33
2= 0
1 = 3500
For (2):
20x2≤ 1800 There is no point or feasible area.
2= 90
1= 0
For (3):
50x1-120x2greater than or equal to -190
1= 0
-120x2equal to negative one hundred ninety
21.58
2= 0
50x1= -190
1= 3.8
65
Exercise 1.
For (1):
2x1+ 3x2≤ 150
1= 0
3x2= 150
2= 50
1= 75 Z = 300x1+ 150x2
(
= 300-112.5 )
( =) -150000
+ 150125
For (2):
2x1+ 0.5x2greater than or equal to -50
1= 0
0.5x2= -50
2-100
2= 0
2x1= -50
1= -25
For (3):
2x2≤ 250
2= 125
1= 0
5
Exercise 3.
1= 11.67
. = 450x1-300x2
S.a. 150x1− 160x2≥ 280(1) For (4):
−120x1= 290 (2)
-25x2= 180
30x1+ 120x2≤ 350(3)
2= 7.2
-25x2= 180(4)
1, 2≥ 0 1= 0
For (1): Graphing:
150x1-160x2≥ 280
1= 0
-160 x2 = 280
2= -1.75
2= 0
150 x1= 280
11.87
−120x1290
2= 0
For (3):
30x1+ 120x2<= 350
1= 0
120x2= 350
2= 2.92
2= 0
30x1= 350
6
Exercise 4.
2= -1.5
. = 30x1- 25x2 2= 0
S.a. 20x1-35x2greater than or equal to 65(1) 125x1= -300
−35x1+ 12x2≤ 180(2)
1-2.4
125x1+ 200x2-300(3)
180x2≤ 350(4)
1, 2>= 0 For (4):
1= 0 1= 0
2= -1.86
2= 0
20 x1= 65
1= 3.25
For (2):
-35x1+ 12x2≤ 180
There is no feasible point or area.
1= 0
12 x2= 180
2= 15
2= 0
−35 x1= 180
1= -5.14
For (3):
125x1+ 200x2-300
1= 0
200x2= -300
7
Exercise 5.
For (1):
-15x1+ 35x2≤ 150
1= 0
35 x2= 150
24.29
2= 0
−15 x1= 150
For (2):
20x2<= 200
2= 10
1= 0
For (3):
2x1-3x2greater than or equal to -180
1= 0
-3x2equals negative one hundred eighty
2= 60
2= 0
2x1= -180
1= -90
8
Exercise 6.
0.5x2= 4
. = 3x1+ 2x2 2= 8
For (1):
-3x1+ 2x2<= 12
1= 0
2 x212
2= 6
2= 0
-3x1= 12
1= -4
2= 0
1-2.5
For (3):
3x2= 8
2 2.67
1= 0
For (4):
1= 0
9
Exercise 7.
2= 0
. = -0.5x1+ 2x2 3x1= 10
S.a.4x1+ 2greater than or equal to 8(1) 1= 3.33
0.5x1+ 2x2<= 6(2)
Graphing:
3x1+ 4x2= 10(3)
1, 2greater than or equal to 0
Paragraph (1):
4x1+ 2≥ 8
1= 0
2= 8
2= 0
4 x1= 8
1 =2
Feasible point: (1.69,1.23)
1= 0
2x2= 6
2= 3
2= 0
0.5x1= 6
1= 12
For (3):
3x1+ 4x2= 10
1= 0
4x2= 10
22.5
10
Exercise 8.
Graphing:
. = 2x1+ 4x2
S.a. 1+ 2x2≤ 8(1)
3x1+ 2<= 6(2)
3x2≥ 3(3)
− 1less than or equal to 3(4)
1, 2greater than or equal to 0
For (1):
1+ 2x2<= 8
1= 0
2= 4
There is no feasible area.
2= 0
1= 8
For (2):
3x1+ 2≤ 6
1= 0
2= 6
2= 0
3x1= 6
1= 2
For (3):
3x2greater than or equal to 3
2= 1
1= 0
11
Exercise 9.
2= 8
. = -3x1+ 2x2 2= 0
S.a. -3x1+ 2x2<= 8(1) 1= 4
-4x1less than or equal to 10(2)
Graphing:
3x2= 8(3)
1+ 0.5x2≤ 4(4)
1, 2greater than or equal to 0
For (1):
-3x1+ 2x2≤ 8
1= 0
2= 4
2= 0
-3x1= 8
There is no feasible area.
1= -2.67
For (2):
-4x1<= 10
2= 0
1-2.5
For (3):
3x2= 8
2= 2.67
1= 0
For (4):
1+ 0.5x2≤ 4
10
12