You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sy133 edited this page Aug 12, 2017
·
12 revisions
Description
To find the optimal solution, 1 - 4 processors can be used.
The number of cores are defined as a parameter (default is sequential)
Hoorah for parallelization!
Solution
Sequential start up
Allocation to threads/processors
Balancing least promising and most promising (taking from start and end)
Find sub-optimal solution for each thread
Cut thread when sub-optimal solution found
After all threads finish, compare sub-optimal solution to find optimal
Details
After thread finds sub-optimal solution, help other threads find theirs.
Ignore sub-partial solution if end time > existing sub-optimal solution - move onto next in queue.
Don't add sub-partial solution into queue if end time > existing sub-optimal solution.
Decide how to distribute global processing (master thread) e.g. visualisation
Experimenting
Find best time for sequential to parallel turning point
Whether placing all promising partial solutions in one thread and worst in another is better with respect to last 2 points in Details