![]() |
LINE Solver (C++)
Templated C++ port of the LINE queueing solver
|
Shanthikumar-Yao (1988) throughput bounds for single-class closed networks with arbitrary queue-dependent service rates. More...
#include <cmath>#include <cstddef>#include <vector>#include "line/num/number.h"#include "line/util/error.h"#include "line/util/matrix.h"Go to the source code of this file.
Classes | |
| struct | line::pfqn::LdsyBoundsInfo< T > |
| Each bound of pfqn_ldsy_bounds, MATLAB's info struct; has_* false where MATLAB has NaN. More... | |
| struct | line::pfqn::LdsyBounds< T > |
| Return value of pfqn_ldsy_bounds, mirroring [Xlo, Xhi, info]. More... | |
Namespaces | |
| namespace | line |
| Conservation laws of a layered queueing network, enumerated from its structure. | |
| namespace | line::pfqn |
Functions | |
| template<class T> | |
| LdsyBounds< T > | line::pfqn::pfqn_ldsy_bounds (const std::vector< T > &Lin, int N, const T &Zin, const Matrix< T > &muIn) |
| Shanthikumar-Yao (1988) throughput bounds for queue-dependent rates. | |
Shanthikumar-Yao (1988) throughput bounds for single-class closed networks with arbitrary queue-dependent service rates.
Templated port of matlab/src/api/pfqn/pfqn_ldsy_bounds.m (native Python twin: python/line_solver/api/pfqn/throughput_bounds.py). J. G. Shanthikumar and D. D. Yao, "Throughput Bounds for Closed Queueing Networks with Queue-Dependent Service Rates", Perform. Eval. 9 (1988) 69-78. Station i at population n has demand L(i)/mu(i,n). A station whose scaling is mu(i,1)*n for every n <= N is an infinite server on the reachable range and is moved into Z exactly. Then:
Thm 3.1, both sides: the fixed-rate networks at the per-station minimum and maximum rate over n = 1..N, solved exactly by MVA. Thm 3.2, lower, when every rate function is nondecreasing: the maximum-rate network with N-|a| jobs, a_i = n_i - 1, n_i the first population at which station i reaches its maximum rate. Thm 3.3, both sides (closed form): mu*_i = max_n N mu_i(n)/n (upper) and min_n N mu_i(n)/n (lower), X <= or >= 1/(sum_i L_i/mu*_i + Z/N). Thm 4.2, lower, at a c-server station (mu = mu1*min(n,c), 1 < c < N): a single server of rate c*mu1 plus an infinite server of rate c*mu1/(c-1); every other load-dependent station is first set to its minimum rate. Sec. 4.2, upper: each load-dependent station becomes K single servers of rate max_n (n+K-1) mu(n)/n; the balanced-load upper bound of the result, capped by its bottleneck, is minimized over the common K by the paper's stop-when-it-stops-improving scan.
Xlo is the largest applicable lower bound, Xhi the smallest upper.
ARITHMETIC: field operations and comparisons only (the integer server count c of Thm 4.2 is read by rounding, as MATLAB does). Exact under Rational.
Definition in file pfqn_ldsy_bounds.h.