Difference between revisions of "Plan Max Manfrin"

From IridiaWiki
Jump to navigationJump to search
 
(163 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
= Plan (future work) =
 
= Plan (future work) =
   
  +
== Milestone I: Jan - Mar 2006==
   
'''Parallelization of ACO algorithms'''
 
   
Milestone I: Jan - Mar 2006
 
 
* Acquire practical experience in explicit parallelization on ACO algorithms
 
* Acquire practical experience in explicit parallelization on ACO algorithms
 
** Start from sequential ACOTSP and implement various MPI variants
 
** Start from sequential ACOTSP and implement various MPI variants
 
*** Sync
 
*** Sync
**** Multicolony - completly-connected
+
**** Multicolony - fully-connected
***** each colony identifies the best bsf and grab it
+
***** colony 0 identifies the best colony; best colony broadcast its bsf solution
***** the colony with the worst bsf grab the best bsf
+
***** colony 0 identifies the best colony and the worst colony; best colony send its bsf solution to worst colony
 
**** Multicolony - ring
 
**** Multicolony - ring
  +
***** unidirectional ring
 
**** Multicolony - hypercube
 
**** Multicolony - hypercube
  +
***** 3D hypercube
 
**** Single colony, multi local search
 
**** Single colony, multi local search
 
*** Async
 
*** Async
 
**** Multicolony - completly-connected
 
**** Multicolony - completly-connected
***** each colony identifies the best bsf and grab it
+
***** colony 0 identifies the best colony; best colony broadcast its bsf solution
***** the colony with the worst bsf grab the best bsf
+
***** colony 0 identifies the best colony and the worst colony; best colony send its bsf solution to worst colony
 
**** Multicolony - ring
 
**** Multicolony - ring
  +
***** unidirectional ring
 
**** Multicolony - hypercube
 
**** Multicolony - hypercube
  +
***** 3D hypercube
**** Single colony, multi local search
 
 
* Paper submission to ANTS 2006 of "explicit parallelization of ACOTSP"
 
* Paper submission to ANTS 2006 of "explicit parallelization of ACOTSP"
  +
* By end of March decision if and how to extend the paper for possible Journal article
  +
* By end of March decision if proceed with MPI version of ILK-H + ACOTSP
  +
* Find the sentence that explain what the PhD thesis is about (what is the contribution of this thesis?)
  +
** 1. Parallelization of ACO on multi-core architectures ?
  +
** 2. Parallelization of ACO on collection of interesting problems?
   
   
Milestone II : Apr - Jun 2006
+
==Milestone II: Apr - Jun 2006==
  +
* Evolve practical experience in explicit parallelization on ACO algorithms
 
  +
** Start from sequential ILK-H and parallelize it with MPI, calling it within parallel ACOTSP
 
  +
* Development and empirical test of different communication schemes among colonies
* Acquire practical experience in implicit parallelization on ACO algorithms
 
  +
<pre>
** Start from sequential ACOTSP and implement various OpenMP variants
 
  +
The i.a.k identify how often we do communication among colonies.
*** Sync ( i.e. implicit barrier in for directives)
 
*** Async (i.e use of the nowait clause)
 
* Paper on "implicit vs explicit parallelization of ACOTSP"
 
* Paper on "hybridization of parallel ACOTSP and ILK-H"
 
   
  +
The law used to generate the periods is SQRT[(10)^(i+1)], so
  +
i = 1 --> T = 10
  +
i = 2 --> T = 31
  +
i = 3 --> T = 100
  +
i = 4 --> T = 316
  +
i = 5 --> T = 1000
  +
i = 6 --> T = 3162
  +
i = 7 --> T = 10000
  +
i = 8 --> T = 31622
  +
i = 9 --> T = 100000
   
  +
The jth exchange happens at iteration
Milestone III : Jul - Sep 2006
 
  +
  +
  +
T * (1 - 0.a^j)/(1 - 0.a) IF (int)[x_j - x_(j-1)] > k
  +
x_j =
  +
k OTHERWISE
  +
</pre>
  +
* Start from sequential ACOTSP and implement various MPI variants
  +
** Sync
  +
*** Multicolony - ring
  +
**** unidirectional ring
  +
***** 4.8.10
  +
***** 4.9.10
  +
***** 5.8.10
  +
***** 5.9.10
  +
***** 6.8.10
  +
***** 6.9.10
  +
***** 7.6.10
  +
***** 7.7.10
 
* Transfer the knowledge and experience on TSP to other problems
 
* Transfer the knowledge and experience on TSP to other problems
** Move to Vehicle Routing Problem
 
 
** Collaboration with Marco Caserta on parallel ACO for Set Covering Problem
 
** Collaboration with Marco Caserta on parallel ACO for Set Covering Problem
  +
*** he doesn't use ACO for SCP, but I've helped him anyway to parallelize his own primal-dual algorithm
  +
** Collaboration with Daniele Catanzaro on parallel ACO for phylogeny reconstruction
  +
*** Start from sequential ACO algorithm and implemented MPI variant
  +
**** Sync
  +
***** Multicolony - fully-connected
  +
****** colony 0 identifies the best colony; best colony broadcast its bsf solution
  +
** Identify possible problems for which IRIDIA has expertise and state-of-the-art ACO algo as starting points (Scheduling: Blum, QAP: Thomas)
  +
*** QAP: start from sequential MMASQAP and implement various MPI variants (in total we consider 72 algo)
  +
**** Factor 1: Connection topology
  +
***** Multicolony - fully-connected
  +
****** colony 0 identifies the best colony; best colony broadcast its bsf solution
  +
****** colony 0 identifies the best colony and the worst colony; best colony send its bsf solution to worst colony
  +
***** Multicolony - ring
  +
****** unidirectional ring
  +
***** Multicolony - hypercube
  +
****** 3D hypercube
  +
**** Factor 2: Communication schema
  +
***** Sync
  +
****** 1.x.10 (constant gap of 10 iterations)
  +
****** 2.9.10
  +
****** 2.8.10
  +
****** 2.7.10
  +
****** 2.6.10
  +
****** 3.9.10
  +
****** 3.8.10
  +
****** 3.7.10
  +
****** 3.6.10
  +
**** Factor 3: Local Search
  +
***** 2-opt
  +
***** tabu search
   
  +
==Milestone III: Jul - Sep 2006==
   
Milestone IV : Oct - Dec 2006
 
* Add complexity to the VRP problem moving into Rich VRP
 
   
  +
* Tech Report on TSP and QAP experiments
  +
** decision if and how to extend the paper for possible journal article
  +
* Literature survey on parallel ACO algorithms (version 3)
  +
* Acquire practical experience in implicit parallelization on ACO algorithms
  +
** Start from sequential ACOTSP and implement various OpenMP variants
  +
*** Sync ( i.e. implicit barrier in for directives)
  +
*** Async (i.e use of the nowait clause)
  +
* ? Paper on "implicit vs explicit parallelization of ACOTSP"
   
Milestone V : Jan - Mar 2007
+
==Milestone IV: Oct - Dec 2006==
   
   
Milestone VI : Apr - Jun 2007
+
==Milestone V: Jan - Mar 2007==
   
   
Milestone VII : Jul - Sep 2007
+
==Milestone VI: Apr - Jun 2007==
* Write PhD thesis
 
   
  +
  +
==Milestone VII: Jul - Sep 2007==
  +
* Write PhD thesis
   
 
= Goals =
 
= Goals =
Line 66: Line 136:
   
 
= Things to do =
 
= Things to do =
 
{| border=1 cellspacing=0 cellpadding=2
 
! Description !! Start date !! Deadline !! Time required !! status !! Real deadline
 
|-
 
| Study MPI || Nov 14, 2005 || || ongoing process || In progress ||
 
|-
 
| '''Explicit parallelization of ACOTSP using MPI''' || Nov 14, 2005 || Jan 8, 2006 || ~9 weeks || done || Jan 24, 2006
 
|-
 
| Synch version of "One colony - many LS (3-opt)" || Nov 14, 2005 || Dec 5, 2005 || ~26 days || done || Jan 24, 2006
 
|-
 
| Synch version of "Many homogeneous colonies - all-all" || Dec 10, 2005 || Dec 22, 2005 || ~13 days || done || Jan 24, 2006
 
|-
 
| --= DISCUSSION WITH MARCO, MAURO, THOMAS =-- || Jan 30, 2006 || || || ||
 
|-
 
| Profile sequential ACOTSP code with instaces (1000 < size < 2000) || Jan 30, 2006 || || 1 day || done ||
 
|-
 
| Implement Asynch versions || || || || ||
 
|-
 
| Experiments on TSP instances (1000 < size < 6000) || || Feb 26, 2006 || || in progress ||
 
|-
 
| Abstract submission for ANTS 2006 || || Mar 12, 2006 || || ||
 
|-
 
| Submission of paper for ANTS 2006 || || Mar 19, 2006 || || ||
 
|-
 
|}
 
 
   
 
{| border=1 cellspacing=0 cellpadding=2
 
{| border=1 cellspacing=0 cellpadding=2
Line 100: Line 144:
 
| '''Implicit parallelization of ACOTSP using OpenMP''' || - || - || - || Need a compiler
 
| '''Implicit parallelization of ACOTSP using OpenMP''' || - || - || - || Need a compiler
 
|-
 
|-
  +
| Parallel ACO survey v3 || Jul 1, 2006 || Aug 31, 2006 || ||
  +
|-
 
|}
 
|}
   
Line 107: Line 153:
 
{| border=1 cellspacing=0 cellpadding=2
 
{| border=1 cellspacing=0 cellpadding=2
 
! Description !! Start date !! Deadline !! Completion date !! status !! Note
 
! Description !! Start date !! Deadline !! Completion date !! status !! Note
|-
 
| '''1 Sync algorithms''' || || Feb 25 || || ||
 
|-
 
| '''1.0''' Patch the algorithms in such a way that they use only globabl best in pheromone update and they use quadrant nearest neighbour || Feb 16 || Feb 21 || || in progress ||
 
|-
 
| '''1.0.1''' Sync - Multicolony - all-all || Feb 16 || Feb 21 || Feb 19 || done || experiments finished
 
|-
 
| '''1.0.2''' Sync - Multicolony - replace-worst || Feb 19 || Feb 21 || Feb 19 || experiments running ||
 
|-
 
| '''1.1''' Patch the 3 following algorithms in such a way that they write the output on /tmp (local to the node) instead of /home (NFS mounted) || Feb 21 || Feb 23 || || in progress || Will have to do also for completly-connected and replace-worst
 
|-
 
| '''1.1.3''' Sync - MultiLS || Feb 19 || Feb 21 || Feb 21 || development complete, experiments to be launched Feb 22 at 09:00 || test before launching experiments
 
|-
 
| '''1.1.4''' Sync - Multicolony - ring || || Feb 23 || || experiments to be launched Feb 23 at 23:00 ||
 
|-
 
| '''1.1.5''' Sync - Multicolony - 3D hypercube || || Feb 25 || || experiments to be launched Feb 25 at 12:00 ||
 
|-
 
| '''2 Async algorithms''' || || || || || In case of problem try to get help from Anders
 
|-
 
| '''2.0.1''' Async - Multicolony - all-all || || Feb 26 || experiments to be launched Feb 27 at 00:30 || ||
 
|-
 
| '''2.0.2''' Async - Multicolony - replace-worst || || Mar 1 || experiments to be launched Mar 1 at 14:00 || ||
 
|-
 
| '''2.0.3''' Async - Multicolony - ring || || Mar 3 || experiments to be launched Mar 3 at 09:00 || ||
 
|-
 
| '''2.0.4''' Async - Multicolony - 3D hypercube || || Mar 4 || experiments to be launched Mar 4 at 23:00 || ||
 
|-
 
| '''2.0.5''' Asynch - MultiLS || || Mar 6 || experiments to be launched Mar 6 at 12:00 || ||
 
|-
 
| '''3 Paper related work''' || || || || ||
 
|-
 
| '''3.1''' Send to Thomas and Mauro a list of all paper that deals with Parallel ACO for TSP that contains experimental results in order to check what the others have been doing || Feb 19 || Feb 21 || Feb 19 || done ||
 
|-
 
| '''3.2''' Read the paper: M. Middendorf, F. Reischle, and H. Schmeck. Multi colony ant algorithms. Journal of Heuristics, 8(3):305–320, May 2002. ||Feb 20 || Feb 21 || Feb 20 || done ||
 
|-
 
| '''4 Cluster configuration''' || || || || ||
 
|-
 
| '''4.1''' Disable cron jobs on nodes r05, r07, r19, r32 || Feb 21 || || || done || '''RE-ENABLE cron scripts after finishing experiments'''
 
|-
 
| '''5 Data analysis''' || || || || ||
 
|-
 
| '''5.1''' Write scripts to collect experimental results, bring them into R, and plot graphs || || || || ||
 
 
|-
 
|-
 
|}
 
|}
Line 157: Line 161:
 
! Title !! Author !! Location !! Dates
 
! Title !! Author !! Location !! Dates
 
|-
 
|-
| 2nd BEGrid tutorial || - || ULB || Feb 21, 2006
+
| IRIDIA Optimization meeting ||Ch. 4 of the book to present || || Apr 27, 2006
 
|-
 
|-
 
|}
 
|}
 
   
 
= Events participation =
 
= Events participation =
Line 166: Line 169:
 
{| border=1 cellspacing=0 cellpadding=2
 
{| border=1 cellspacing=0 cellpadding=2
 
! Event !! Location !! Dates
 
! Event !! Location !! Dates
  +
|-
  +
| || ||
 
|-
 
|-
 
|}
 
|}
Line 173: Line 178:
   
 
{| border=1 cellspacing=0 cellpadding=2
 
{| border=1 cellspacing=0 cellpadding=2
! Title !! Journal/Conference targeted !! Start date !! Submission deadline
+
! Title !! Journal/Conference targeted !! Submission deadline
|-
 
| A Survey of Parallel ACO algorithms || N.A. || N.A. || N.A.
 
 
|-
 
|-
  +
| A Survey of Parallel ACO algorithms || N.A. || N.A.
| Process-level parallelization of ACOTSP || Ants 2006 international workshop || N.A. || Mar 12, 2006
 
 
|-
 
|-
| Thread-level parallelization of ACOTSP || N.A. || N.A. || N.A.
+
| Thread-level parallelization of ACOTSP || N.A. || N.A.
 
|}
 
|}
   
Line 191: Line 194:
 
! Journal !! # papers !! paper received on !! review to submit before
 
! Journal !! # papers !! paper received on !! review to submit before
 
|-
 
|-
  +
| || || ||
| European Journal of Operational Research || 1 || Dec 21, 2005 || Jan 31, 2006
 
 
|-
 
|-
 
|}
 
|}
Line 201: Line 204:
 
! Conference !! # papers !! paper received on !! review to submit before
 
! Conference !! # papers !! paper received on !! review to submit before
 
|-
 
|-
  +
|
| GECCO 2006 || 5 || Feb 6, 2006 || Mar 20, 2006
 
 
|-
 
|-
| WSC11 || 3-4 (estimation) || May/June 2006 (estimation) || 30 Jun 2006
 
 
|}
 
|}
   
 
= IRIDIA chores =
 
= IRIDIA chores =
  +
 
{| border=1 cellspacing=0 cellpadding=2
 
{| border=1 cellspacing=0 cellpadding=2
 
! Chore !! assigned !! status
 
! Chore !! assigned !! status
 
|-
 
|-
| Update Dorigo website with Master, DEA, and PhD thesis data || Feb 2, 2006 ||
+
| Update Dorigo website with Master, DEA, and PhD thesis data || Feb 2, 2006 || done
  +
|-
  +
| Create a Wiki page with list of all the software we have for the Mac with #licenses and where they are installed || Apr 21, 2006 ||
 
|-
 
|-
| Update Dorigo website with new portoguese interview || Feb 19, 2006 ||
 
 
|}
 
|}

Latest revision as of 21:38, 6 July 2006

History (past work)

http://iridia.ulb.ac.be/wiki/index.php/History_Max_Manfrin


Plan (future work)

Milestone I: Jan - Mar 2006

  • Acquire practical experience in explicit parallelization on ACO algorithms
    • Start from sequential ACOTSP and implement various MPI variants
      • Sync
        • Multicolony - fully-connected
          • colony 0 identifies the best colony; best colony broadcast its bsf solution
          • colony 0 identifies the best colony and the worst colony; best colony send its bsf solution to worst colony
        • Multicolony - ring
          • unidirectional ring
        • Multicolony - hypercube
          • 3D hypercube
        • Single colony, multi local search
      • Async
        • Multicolony - completly-connected
          • colony 0 identifies the best colony; best colony broadcast its bsf solution
          • colony 0 identifies the best colony and the worst colony; best colony send its bsf solution to worst colony
        • Multicolony - ring
          • unidirectional ring
        • Multicolony - hypercube
          • 3D hypercube
  • Paper submission to ANTS 2006 of "explicit parallelization of ACOTSP"
  • By end of March decision if and how to extend the paper for possible Journal article
  • By end of March decision if proceed with MPI version of ILK-H + ACOTSP
  • Find the sentence that explain what the PhD thesis is about (what is the contribution of this thesis?)
    • 1. Parallelization of ACO on multi-core architectures ?
    • 2. Parallelization of ACO on collection of interesting problems?


Milestone II: Apr - Jun 2006

  • Development and empirical test of different communication schemes among colonies
The i.a.k identify how often we do communication among colonies. 

The law used to generate the periods is SQRT[(10)^(i+1)], so
i = 1 --> T = 10
i = 2 --> T = 31
i = 3 --> T = 100
i = 4 --> T = 316
i = 5 --> T = 1000
i = 6 --> T = 3162
i = 7 --> T = 10000
i = 8 --> T = 31622
i = 9 --> T = 100000

The jth exchange happens at iteration


      T * (1 - 0.a^j)/(1 - 0.a)  IF (int)[x_j - x_(j-1)] > k
x_j = 
      k                          OTHERWISE
  • Start from sequential ACOTSP and implement various MPI variants
    • Sync
      • Multicolony - ring
        • unidirectional ring
          • 4.8.10
          • 4.9.10
          • 5.8.10
          • 5.9.10
          • 6.8.10
          • 6.9.10
          • 7.6.10
          • 7.7.10
  • Transfer the knowledge and experience on TSP to other problems
    • Collaboration with Marco Caserta on parallel ACO for Set Covering Problem
      • he doesn't use ACO for SCP, but I've helped him anyway to parallelize his own primal-dual algorithm
    • Collaboration with Daniele Catanzaro on parallel ACO for phylogeny reconstruction
      • Start from sequential ACO algorithm and implemented MPI variant
        • Sync
          • Multicolony - fully-connected
            • colony 0 identifies the best colony; best colony broadcast its bsf solution
    • Identify possible problems for which IRIDIA has expertise and state-of-the-art ACO algo as starting points (Scheduling: Blum, QAP: Thomas)
      • QAP: start from sequential MMASQAP and implement various MPI variants (in total we consider 72 algo)
        • Factor 1: Connection topology
          • Multicolony - fully-connected
            • colony 0 identifies the best colony; best colony broadcast its bsf solution
            • colony 0 identifies the best colony and the worst colony; best colony send its bsf solution to worst colony
          • Multicolony - ring
            • unidirectional ring
          • Multicolony - hypercube
            • 3D hypercube
        • Factor 2: Communication schema
          • Sync
            • 1.x.10 (constant gap of 10 iterations)
            • 2.9.10
            • 2.8.10
            • 2.7.10
            • 2.6.10
            • 3.9.10
            • 3.8.10
            • 3.7.10
            • 3.6.10
        • Factor 3: Local Search
          • 2-opt
          • tabu search

Milestone III: Jul - Sep 2006

  • Tech Report on TSP and QAP experiments
    • decision if and how to extend the paper for possible journal article
  • Literature survey on parallel ACO algorithms (version 3)
  • Acquire practical experience in implicit parallelization on ACO algorithms
    • Start from sequential ACOTSP and implement various OpenMP variants
      • Sync ( i.e. implicit barrier in for directives)
      • Async (i.e use of the nowait clause)
  • ? Paper on "implicit vs explicit parallelization of ACOTSP"

Milestone IV: Oct - Dec 2006

Milestone V: Jan - Mar 2007

Milestone VI: Apr - Jun 2007

Milestone VII: Jul - Sep 2007

  • Write PhD thesis

Goals

  • Investigate the effect of parallelization on Ant Colony Optimization algorithms
  • Acquire practical experience in parallelization on ACO algorithms (both explicit and implicit parallelism)
  • Implicit parallelism is the new trend (multi core CPUs), not much work has been done on them yet


Things to do

Description Start date Deadline Time required status
Study OpenMP Jan 9, 2005 ongoing process In progress
Implicit parallelization of ACOTSP using OpenMP - - - Need a compiler
Parallel ACO survey v3 Jul 1, 2006 Aug 31, 2006


Weekly planning

Description Start date Deadline Completion date status Note

Seminars participation

Title Author Location Dates
IRIDIA Optimization meeting Ch. 4 of the book to present Apr 27, 2006

Events participation

Event Location Dates


Papers to write

Title Journal/Conference targeted Submission deadline
A Survey of Parallel ACO algorithms N.A. N.A.
Thread-level parallelization of ACOTSP N.A. N.A.


Referee activities

International journals

Journal # papers paper received on review to submit before


International conferences

Conference # papers paper received on review to submit before

IRIDIA chores

Chore assigned status
Update Dorigo website with Master, DEA, and PhD thesis data Feb 2, 2006 done
Create a Wiki page with list of all the software we have for the Mac with #licenses and where they are installed Apr 21, 2006