LINE Solver
MATLAB API documentation
Loading...
Searching...
No Matches
me_open.m
1function result = me_open(self, options)
2% RESULT = ME_OPEN(OPTIONS)
3% Maximum Entropy Method for Open Queueing Networks
4%
5% Applies the ME algorithm from Kouvatsos (1994) to the model.
6% Only supports open queueing networks (no closed classes).
7%
8% Parameters:
9% options - (optional) struct with fields:
10% .mem_tol - convergence tolerance (default: 1e-6)
11% .mem_maxiter - maximum iterations (default: 1000)
12% .mem_verbose - print iteration info (default: false)
13%
14% Returns:
15% result - struct with fields:
16% .QN - Mean queue lengths [M x R matrix]
17% .UN - Utilizations [M x R matrix]
18% .RN - Mean response times [M x R matrix]
19% .TN - Throughputs (arrival rates) [M x R matrix]
20% .CN - Completion times [1 x R matrix]
21% .XN - System throughputs [1 x R matrix]
22%
23% Reference: Kouvatsos (1994) "Entropy Maximisation and Queueing Network Models"
24
25% Handle optional arguments
26if nargin < 2
27 options = self.getOptions;
28end
29
30% Get model structure
31sn = self.getStruct;
32
33% Call solver_nc_mem
34[QN, UN, RN, TN, CN, XN, ~] = solver_nc_mem(sn, options);
35
36% Build result structure
37result = struct();
38result.QN = QN;
39result.UN = UN;
40result.RN = RN;
41result.TN = TN;
42result.CN = CN;
43result.XN = XN;
44
45end