Real values of the W -functionBarry, D. A.; Culligan-Hensley, P. J.; Barry, S. J.
doi: 10.1145/203082.203084pmid: N/A
Approximations for real values of W(x) , where W is defined by solutions of W exp( W ) = x , are presented. All of the approximations have maximum absolute (| W |>1) or relative (| W |<1) errors of O (10 −4 ). With these approximations an efficient algorithm, consisting of a single iteration of a rapidly converging iteration scheme, gives estimates of W(x) accurate to at least 16 significant digits (15 digits if double precision is used). The Fortran code resulting from the algorithm is written to account for the different floating-point-number mantissa lengths on different computers, so that W(x) is computed to the floating-point precision available on the host machine.
Real values of the W-functionBarry, D. A.; Culligan-Hensley, P. J.; Barry, S. J.
doi: 10.1145/203082.203084pmid: N/A
Approximations for real values of W(x), where W is defined by solutions of W exp(W) = x, are presented. All of the approximations have maximum absolute (|W|>1) or relative (|W|<1) errors of O(104). With these approximations an efficient algorithm, consisting of a single iteration of a rapidly converging iteration scheme, gives estimates of W(x) accurate to at least 16 significant digits (15 digits if double precision is used). The Fortran code resulting from the algorithm is written to account for the different floating-point-number mantissa lengths on different computers, so that W(x) is computed to the floating-point precision available on the host machine.
A rejection technique for sampling from T-concave distributionsHörmann, Wolfgang
doi: 10.1145/203082.203089pmid: N/A
A rejection algorithm that uses a new method for constructing simple hat functions for a unimodal, bounded density f is introduced called transformed density rejection. It is based on the idea of transforming f with a suitable transformation T such that T(f(x)) is concave. f is then called T-concave, and tangents of T(f(x)) in the mode and in a point on the left and right side are used to construct a hat function with a table-mountain shape. It is possible to give conditions for the optimal choice of these points of contact. With T= -1/xxx, the method can be used to construct a universal algorithm that is applicable to a large class of unimodal distributions, including the normal, beta, gamma, and t-distribution.
A rejection technique for sampling from T -concave distributionsHörmann, Wolfgang
doi: 10.1145/203082.203089pmid: N/A
A rejection algorithm that uses a new method for constructing simple hat functions for a unimodal, bounded density f is introduced called “transformed density rejection.” It is based on the idea of transforming f with a suitable transformation T such that T(f(x)) is concave. f is then called T -concave, and tangents of T(f(x)) in the mode and in a point on the left and right side are used to construct a hat function with a table-mountain shape. It is possible to give conditions for the optimal choice of these points of contact. With T = -1/xxx, the method can be used to construct a universal algorithm that is applicable to a large class of unimodal distributions, including the normal, beta, gamma, and t -distribution.
Algorithm 744: a stochastic algorithm for global optimization with constraintsRabinowitz, F. Michael
doi: 10.1145/203082.203090pmid: N/A
A stochastic algorithm is presented for finding the global optimum of a function of n variables subject to general constraints. The algorithm is intended for moderate values of n , but it can accommodate objective and constraint functions that are discontinuous and can take advantage of parallel processors. The performance of this algorithm is compared to that of the Nelder-Mead Simplex algorithm and a Simulated Annealing algorithm on a variety of nonlinear functions. In addition, one-, two-, four-, and eight-processor versions of the algorithm are compared using 64 of the nonlinear problems with constraints collected by Hock and Schittkowski. In general, the algorithm is more robust than the Simplex algorithm, but computationally more expensive. The algorithm appears to be as robust as the Simulated Annealing algorithm, but computationally cheaper. Issues discussed include algorithm speed and robustness, applicability to both computer and mathematical models, and parallel efficiency.
Algorithm 744: a stochastic algorithm for global optimization with constraintsRabinowitz, F. Michael
doi: 10.1145/203082.203090pmid: N/A
A stochastic algorithm is presented for finding the global optimum of a function of n variables subject to general constraints. The algorithm is intended for moderate values of n, but it can accommodate objective and constraint functions that are discontinuous and can take advantage of parallel processors. The performance of this algorithm is compared to that of the Nelder-Mead Simplex algorithm and a Simulated Annealing algorithm on a variety of nonlinear functions. In addition, one-, two-, four-, and eight-processor versions of the algorithm are compared using 64 of the nonlinear problems with constraints collected by Hock and Schittkowski. In general, the algorithm is more robust than the Simplex algorithm, but computationally more expensive. The algorithm appears to be as robust as the Simulated Annealing algorithm, but computationally cheaper. Issues discussed include algorithm speed and robustness, applicability to both computer and mathematical models, and parallel efficiency.