• Tidak ada hasil yang ditemukan

컴퓨터시스템 성능평가 중간고사

N/A
N/A
Protected

Academic year: 2024

Membagikan "컴퓨터시스템 성능평가 중간고사"

Copied!
2
0
0

Teks penuh

(1)

Final Exam

1. Consider an M/G/1 system in which a departing job immediately joins the front of queue

with probability p or departs the system with probability (1-p). The queuing discipline is FCFS, and the service time for a returning job is independent of its previous service times.

Let B*(s) be the Laplace transform for the service time and let B*T(s) be the Laplace transform for the total service time of a job.

(a) Show that B*T(s) = (1-p) B*(s) / {1-p B*(s) }

(b) Find the first moment and second moment of the total service time, using p and the first moment and second moment of the service time.

(c) Find the average number of jobs in the system

2. A machine shop has three machines, A, B, and C. The numbers of servers in the machine A, B, and C are one, two, and three, respectively. Service time of a server in the machine A is exponential at rate µa , and the service time of each server in machine B (machine C) is exponentially distributed with rate µb c). The shop gets four types of jobs, numbered 1 through 4, where each type requires service on machines in a particular sequence; 1: ABCA, 2: CAB, 3: ACBC, 4: BCAB. The arrival process of type i jobs is Poisson at rate λi.

(a) Under what conditions is this system stable?

(b) When stable, what is the joint stationary distribution of the number of jobs at each machine?

3. The jobs arrive at the queuing system with a single server according to Poisson process with rate λ. The service time of a job in the server is determined according to the exponential distribution of rate u1 with probability p1, rate u2 with probability p2, and rate u3 with probability p3 (p1+p2+p3=1). Calculate the mean number of jobs in the system and the mean sojourn time in the system

u1

u2

u3 pu

p2

p3

(2)

4. Consider a three-station series queuing system (single exponential server at each station: the rates of station 1, 2, and 3 are µ1, µ2, and µ3, respectively) with Poisson input (rate λ). There are no capacity limit on the queue in the front of the first two stations (i.e., stations 1 and 2), but at the third there is a limit of K allowed (including service). If K customers are in the third system, then any subsequent arrivals are shunted out of the system. Find the expected number of customers in the system and the expected time spent in the system by a customer who completes all three stages of service.

5. Consider the optimization problem minimize x2+1

subject to (x-2)(x-4) ≤ 0

(a) Analysis of primal problem: Give the feasible set, the optimal value, and the optimal solution

(b) Lagrangian and dual function: Plot the objective (x2+1) versus x. On the sam plot, show the feasible set, the optimal point and value, and plot Lagrangian L(x,λ) versus x for a few positive values of . Verify the lower property, i.e., p* ≥ infx L(x,λ) for λ≥0. Derive and sketch the Lagrangian dual function g(λ).

(c) Lagrangian dual problem: State the dual problem, and verify that it is a concave

maximization problem. Find the dual optimal value and the dual optimal solution λ*. Does strong duality hold?

6. Consider the following extensive form game where the player 1 and the player 2 take their actions sequentially.

(5,u)

(0,0) (3,3)

(u,5) N

S

L

L

(2,u) (3,2) M

R

R M 2

2

(a) Represent the strategic form (b) Find Nash equilibria.

Referensi

Dokumen terkait

This paper studies an optimization problem, i.e., the optimal tracking error control problem, on an inverted pendulum model with elevated track.. We characterize the minimum

We consider the optimal mass transportation problem in R d with measurably parameterized marginals under conditions ensuring the existence of a unique optimal transport map.. We prove

We consider a problem of scheduling jobs in two-machine no-wait ow shops for which the objective is to minimize the makespan. Each job, upon completion of its processing on the

The optimal power flow is an important problem of power systems in which certain control variables are adjusted to minimize an objective function such as the cost of active

/* Computes a near-optimal solution to the TSP problem, * using Ant Colony Optimization and local optimization * in the form of k2-opting each candidate route... // Melewati

INTRODUCTION The Unit Commitment Problem UCP is a constrained optimization problem in which, optimal turn-on and turn- off schedules need to be determined over a given time horizon

One such formulation for an element reliability-based optimization problem is to minimize the probability of occurrence of a specified limit state Pjk,el· 2.2.3 Multicriterion Design

Randomized Rounding Algorithm Determine an optimal solution to the primal LP For each : Consider a coin with Heads probability Toss the coin times independently of each other If