Download presentation
Presentation is loading. Please wait.
Published byNelson Henry Modified over 5 years ago
1
Fundamentals of Software Engineering Economics (III)
Multiple Goal Decision Analysis II (Chapters 16-18) LiGuo Huang Computer Science and Engineering Southern Methodist University
2
Chapters 16-18 Multiple-Goal Decision Analysis II
Goals as constraints TPS example Constrained optimization Linear programming System Analysis Dealing with unquantifiable goals Preference table Screening matrix Presentation techniques for mixed criteria
3
TPS Decision Problem 5 Option A operating system:
If one processor fails, system fails Processor reliability: 0.99/hour Mean time to repair: 30 min. System reliability for N processors: Rel (N) = (0.99)N System availability for N processors (prob. of failure per time period)(Avg. down time) Length of time period AV(N) = 1 – = 1 – (1-.99N)(30Min)/(60min) = 1–½ (1-.99N)
4
TPS Reliability, Availability, and Performance
1 2 3 4 5 6 0.94 0.95 0.96 0.97 0.98 0.99 1.00 Rel, Av 400 800 1200 1600 2000 2400 E(N) trans/sec Number of processors, N DSC = (SC)(E(N))(Av(N)) Rel(N) Av(N)
5
TPS Delivered System Capability
1 2 3 4 5 6 400 800 1200 1600 2000 2400 Number of processors, N DSC(N) = E(N)*Av(N) 1426 796 1892 2196 2340 2328
6
Goals as Constraints Can’t afford availability <.98
Choose N to maximize E(N) = 80N (11-N) subject to AV(N) > .98 Can’t afford delivered capacity < 1800 TR/sec Choose N to maximize AV(N) subject to E(N) > 1800 Comm. Line limits E(N) to < 1500 TR/sec; value of TR/sec = $500 (a); $1000(b)
7
Optimal Solution for TV = 0.5E
E=2TV E < E(N) 1680 Av > 0.98 1620 .5E – 40N – 450 = 200 NV = 1560 NV = 180 1500 E ≤ 1500 NV = 150 1440 NV = 190 1380 E ≤E(N) N C 2 530 3 570 4 610
8
Optimal Solution for TV = E
E=TV E < E(N) 1680 Av > 0.98 1620 E – 40N – 450 = 970 NV = 1560 NV = 930 1500 E < 1500 1440 NV = 910 NV = 870 1380 E < E(N) N C 2 530 3 570 4 610
9
General Optimal Decision Problem With Constraints
Choose values of the decision variables X1, X2, …, Xn So as to maximize the objective function f(X1, X2, …, Xn) Subject to the constraints g1 (X1, X2, …, Xn) < b, g2 (X1, X2, …, Xn) < b2 … gm (X1, X2, …, Xn) < bm
10
Optimal Solution: Necessary and Sufficient Conditions
The optimal solution (X1, X2, …, Xn)max And the optimal value Vmax Are characterized by the necessary and sufficient conditions (X1, X2, …, Xn)max is a feasible point on the isoquant f(X1, X2, …, Xn) = Vmax If V> Vmax, then its isoquant f(X1, X2, …, Xn) = V does not contain any feasible points
11
Geometric View xn g1(x1, … , xn) = b1 = v5 = v4 = vmax = v3 = v2
Objective function isoquants g1(x1, … , xn) = b1 g3(x1, … , xn) = b3 g2(x1, … , xn) = b2 x1 (Decision variable) xn (Decision variable) Decision space Optimal solution Infeasible point Feasible point Feasible set f(x1, … , xn) = v1 = v2 = v3 = v4 = vmax = v5 Geometric View
12
The Linear Programming Problem
Choose X1, X2, …, Xn So as to maximize C1X1 + C2X2 + … + CnXn Subject to the costraints a11X1 + a12X2 + … + a1nXn < b1 a21X1 + a22X2 + … + a2nXn < b2 … am1X1 + am2X2 + … + amnXn < bm X1 > 0, X2 > 0, …, Xn > 0
13
Universal Software, Inc.
16 analysts, 24 programmers, 15 hr/day computer Text-processing systems 2 analysts, 6 prog’rs, 3 hr/day comp $20K profit Process control systems 4 analysts, 2 prog’rs, 3 hr/day comp $30K profit How many of each should Universal develop to maximize profit?
14
Solution Steps What objective are we trying to optimize?
What decisions do we control which affect the objective? What items dictate constraints on our range of choices? How are the values of the objective function related to the values of the decision variables? What decision provides us with the optimal value of the objective function?
15
Feasible Set: Universal Software
X2 6 4 Feasible Set 2 6 8 2 4 X1 6x1 + 2x2 3x1 + 3x2 2x1 + 4x2
16
Optimal Solution: Universal Software
4 3 20x1 + 30x2 = 150 20x1 + 30x2 = 120 20x1 + 30x2 = 130 2 Feasible set 20x1 + 30x2 = 60 1 1 2 3 4 5 6
17
TPS Analysis Assumptions
Programmers and analysts are interchangeable No learning curve effects, or nonlinear economies of scale Idle programmers can be immediately relocated
18
Capabilities of Mathematical Optimization
Provide valuable knowledge Sensitivity analysis Provide a conceptual aid to problem formulation, problem solution and decision making
19
Limitations of Mathematical Optimization
Formulating practical problems is usually based on assumptions hard to justify Determination of optimal solutions may be expensive for large problems In practice, we may not want to choose the optimal solution which may be the “cliff”
20
System Analysis Analyzing the likely consequences of alternative decisions within the context of a given system Used during feasibility phase of software life-cycle Constrained optimization process provides a good conceptual framework
21
System Analysis Steps What objectives to optimize or satisfy?
Develop system objectives, global objectives of organization and global alternatives What decision do we control that affect our objectives? Reduce the size of decision space Systems involve decisions we don’t control System features won’t much affect the objectives What items dictate constraints on our range of choices? Interface conditions Objectives expressed as constraints
22
System Analysis Steps (Cont.)
What criteria should we use to evaluate the remaining alternatives? What decision provides us with the most satisfactory value of the objective functions? Sensitivity analysis Does the performance of any of the above steps cause a reconsideration of the previous steps? If so, iterate the affected steps.
23
Mathematical Optimization System Analysis [Quade68]
Formulation What objectives are we trying to optimize or satisfy? Search What decisions do we control which affect our objectives? What items dictate constraints on our range of choices? Evaluation What criteria should we use to evaluate the alternatives? How are the values of the criterion function related to the values of the decision variables which define the alternatives? What choice provides us with the best criterion value? Interpretation How sensitive is the decision to assumptions made during the analysis? Are there alternative decisions providing satisfactory results with less sensitivity to these assumptions? Formulation Clarifying the objectives, defining the issues of concern, limiting the problem. Search Looking for data and relationships, as well as alternative programs of action that have some chance of solving the problem. Evaluation Building various models, using them to predict the consequences that are likely to follow from each choice of alternatives, and then comparing the alternatives in terms of these consequences. Interpretation Using the predictions obtained from the models, and whatever other information or insight is relevant, to compare the alternatives further, derive conclusions about them, and indicate a course of action. Iteration Iteration
24
TPS Decision Problem 6 Cost of option B OS with switchover, restart: $150K Cost of option B OS from vendor: $135K Which should we choose? Key personnel availability Staff morale and growth Controllability Ease of maintenance
25
Presentation Techniques
Unquantifiable criteria Criterion summaries Preference table Screening matrix Mixed Criteria Tabular methods Cost vs. capability graph Polar graph Bar charts # CRIT #ALT’S 2-10 2-3 2-20 2-5 5-30
26
Cautions in Presenting and Interpreting Multivariate Data
Choice of scale Schedule (years) Schedule (years) Basic cost, $100K Basic cost, $100K 1 2 3 4 1 2 3 4 Option 1 Option 2 Schedule (months) Schedule (months) Basic cost, $1000K Basic cost, $1000K 1 2 3 4 1 2 3 4 5
27
Cautions in Presenting and Interpreting Multivariate Data (Cont.)
Double Counting Compare Schedule and Maintainability Compare Schedule, Maintainability, Flexibility and Adaptability
28
Summary – Goals As Constraints II
Adding constraints can simplify multiple-goal decision problems System analysis approach very similar to constrained optimization 6-step approach Sensitivity analysis Satisficing Unquantifiable goals require subjective resolution But effective presentation techniques can help decision process
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.