Powered by OpenAIRE graph
Found an issue? Give us feedback
addClaim

On Determining Multiple Optimal Parenthesizations for Matrix Chain Products and Scheduling the Corresponding Task Graphs

Authors: Khaoula Bezzina; Bchira Ben Mabrouk; Zaher Mahjoub;

On Determining Multiple Optimal Parenthesizations for Matrix Chain Products and Scheduling the Corresponding Task Graphs

Abstract

We are interested in an easy combinatorial optimization problem having several applications in the real world, namely the matrix chain product problem that may be solved by a well known dynamic programming algorithm (DPA). Our contribution is two-fold. It first consists in the design of an approach based on the DPA for the determination of multiple optimal solutions i.e. optimal parenthesizations (OPs) which may be represented by binary in-trees (BITs). Since our aim is to efficiently parallelize the computation of the resulting product matrix, we define for this purpose a particular inter-OPs comparative criterion i.e. the cost of a critical path in each BIT. Afterwards, we design different schedulings for the corresponding BIT task graphs (TGs). The procedure begins by the construction of the earliest and latest level partitions (LPs) of the TG. Then, after choosing three granularity sizes, i.e coarse, medium and mixed coarse-medium grains, and given an arbitrary number of processors, the proposed schedulings follow a level-per-level scanning of LPs of the TG. In addition to the design of efficient schedulings, we also determine the minimum number of processors to schedule the TG in minimal time. Our contribution is validated by an experimental study achieved on a series of input data (chain lengths, matrix sizes and number of processors) permitting to establish fine comparisons between the determined OPs and the designed schedulings, thus illustrating the practical interest of the study.

Related Organizations
  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    1
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
1
Average
Average
Average
Upload OA version
Are you the author of this publication? Upload your Open Access version to Zenodo!
It’s fast and easy, just two clicks!