Efficient Matrix Chain Ordering in Polylog Time

نویسندگان

  • Phillip G. Bradford
  • Gregory J. E. Rawlins
  • Gregory E. Shannon
چکیده

The matrix chain ordering problem is to find the cheapest way to multiply a chain of n matrices, where the matrices are pairwise compatible but of varying dimensions. Here we give several new parallel algorithms including O(lg3 n)-time and n/lgn-processor algorithms for solving the matrix chain ordering problem and for solving an optimal triangulation problem of convex polygons on the common CRCW PRAM model. Next, by using efficient algorithms for computing row minima of totally monotone matrices, this complexity is improved to O(lg2 n) time with n processors on the EREW PRAM and to O(lg2 n lg lgn) time with n/lg lgn processors on a common CRCW PRAM. A new algorithm for computing the row minima of totally monotone matrices improves our parallel MCOP algorithm to O(n lg1.5 n) work and polylog time on a CREW PRAM. Optimal log-time algorithms for computing row minima of totally monotone matrices will improve our algorithm and enable it to have the same work as the sequential algorithm of Hu and Shing [SIAM J. Comput., 11 (1982), pp. 362–373; SIAM J. Comput., 13 (1984), pp. 228–251].

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Eecient P Arallel Dynamic Programming 1

In 1983, Valiant, Skyum, Berkowitz and Racko showed that many problems with simple O(n3) sequential dynamic programming solutions are in the class NC. They used straight line programs to show that these problems can be solved in O(lg n) time with n9 processors. In 1988, Rytter used pebbling games to show that these same problems can be solved on a CREW PRAM in O(lg n) time with n6=lg n processo...

متن کامل

Coordination of Pricing, Ordering, and Lead time Decisions in a Manufacturing Supply Chain

In this paper, an incentive policy is proposed to coordinate ordering, lead time, and pricing strategies in a two-echelon manufacturing supply chain (SC) consisting of one manufacturer and one retailer. The system is faced with a stochastic demand which depends on both price and lead time. The manufacturer decides on production size and manufacturing acceleration rate while the retailer determi...

متن کامل

A single-vendor and a single-buyer integrated inventory model with ordering cost reduction dependent on lead time

Lead time is one of the major limits that affect planning at every stage of the supply chain system. In this paper, we study a continuous review inventory model. This paper investigates the ordering cost reductions are dependent on lead time. This study addressed two-echelon supply chain problem consisting of a single vendor and a single buyer. The main contribution of this study is that the in...

متن کامل

An Efficient CGM-Based Parallel Algorithm Solving the Matrix Chain Ordering Problem

This study focuses on the parallel resolution of the matrix chain ordering problem and the optimal convex polygon triangulation problem on the Coarse grain multicomputer model (CGM for short). There has been intensive work on the parallelization of these dynamic programming problems in PRAM, including the use of systolic arrays, but a BSP/CGM solution is necessary for ease of implementation and...

متن کامل

THE RELATION BETWEEN TOPOLOGICAL ORDERING AND ADJACENCY MATRIX IN DIGRAPHS

In this paper the properties of node-node adjacency matrix in acyclic digraphs are considered. It is shown that topological ordering and node-node adjacency matrix are closely related. In fact, first the one to one correspondence between upper triangularity of node-node adjacency matrix and existence of directed cycles in digraphs is proved and then with this correspondence other properties of ...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:
  • SIAM J. Comput.

دوره 27  شماره 

صفحات  -

تاریخ انتشار 1994