SlideShare a Scribd company logo
Alkis Vazacopoulos
Robert Ashford
Optimization Direct Inc.
CPLEX
Very Large Optimization Models
And parallel processing
Summary
• Challenges of Large Scale Optimization
• Heuristic Software Approach
• Scheduling, supply chain and telecomms
examples
• Benefits and problems of parallelism
Large Scale Optimization
• Many models now solved routinely which would have
been impossible (‘unsolvable’) a few years ago
• BUT: have super-linear growth of solving effort as model
size/complexity increases
• AND: customer models keep getting larger
• Globalized business has larger and more complex supply
chain
• Optimization expandinginto new areas, especially
scheduling
• Detailed models easier to sell to management and end-
users
The Curse of Dimensionality: Size Matters
• Super-linear solve time growth often supposed
• The reality is worse
• Few data sets available to support this
• Look at randomly selected sub-models of two scheduling
models
• Simple basic model
• More complex model with additional entity types
• Two hour time limit on each solve
• 8 threads on 4 core hyperthreaded Intel i7-4790K
• See how solve time varies with integers after presolve
Simple model
0
1000
2000
3000
4000
5000
6000
7000
8000
0 10000 20000 30000 40000 50000
Solution  time  in  seconds
Numer  of  ineteger  entities
Complex model
0
1000
2000
3000
4000
5000
6000
7000
8000
0 5000 10000 15000 20000 25000 30000
Solution  time
Integer  entities
Why size matters
• Solver has to
• (Presolve, probe and) solve LP relaxation
• Find and apply cuts
• Branch on remaining infeasibilities (and find and apply cuts too)
• Look for feasible solutions with heuristics all the while
• Simplex relaxation solves theoretically NP, but in practice effort
increases between linearly and quadratic
• Barrier solver effort grows more slowly, but:
• cross-over still grows quickly
• usually get more integer infeasibilities
• can’t use last solution/basis to accelerate
• Cutting grows faster than quadratic: each cut requires more
effort, more cuts/round, more rounds of cuts, each round harder
to apply.
• Branching is exponential: 2n in number of (say) binaries n
What can be done?
• Decomposition
• Solve smaller models
• Use ‘good’ formulations
• As tight as possible
• Avoid symmetry
• Settle for a good solution
• Use heuristics
• Use more powerful hardware
• Can usually make minor improvements by having a faster
processor and memory
• Big potential is from parallel processing
• Use 4, 8 12, 24,… or more threads on separate ‘processors’
Parallel Processing
• CPU clock speed is not improving
• Power consumed (and heat generated accordingto the
square of the speed
• Memory speed is not improving (much)
• Can fit more processors onto a single chip
• Can get wider registers
• Vectorization
• do several (up to 8) fp calculationsat once on 512 bit
register (SIMD)
• of limited use in sparse optimization
• Cannot use full processor capability if using many cores
Heuristic Solution Software
• Proof of optimality may be impractical, but want good solutions to (say)
20%
• Uses CPLEX callable library
• First-feasible-solution heuristics
• Improvement heuristic
• Solves sequence of smaller sub-model(s)
• approach used e.g. by RINS and local branching
• Use model structure to create sub-models and combine solutions
• Assess solution quality by a very aggressive root solve of whole model
• Multiple instances can be run concurrently with different seeds
• Can run on only one core
• Can interrupt at any point and take best solution so far
time limit / call-back /SIGINT
Parallel Heuristic Approach
• Run several heuristic threads with different seeds
simultaneously
• CPLEX callable library very flexible, so
• Exchange solution information between runs
• Kill sub-model solves when done better elsewhere
• Improves sub-model selection
• Opportunistic or deterministic
• 5 instances run on 24 core	
  Intel	
  2	
  x	
  Xeon	
  E5-­‐2690v3	
  running	
  
at	
  up	
  to	
  3.5	
  GHz	
  (DDR4-­‐2133	
  memory)
Example: Large Scale Scheduling, Supply
Chain and Telecomms Models
† No usable (say within 30% gap) solution after 3 days run time
on fastest hardware (Intel i7 4790K ‘Devil’s Canyon’)
Model entities rows cols integers
Easy 314 299288 57804 57804
Medium† 314 389560 94200 94200
Difficult† 406 371964 149132 149132
Large 302965 2836736 4892396 18271400
Huge 27000 2577916 12944400 12944400
Heuristic Results on Scheduling Models
8	
  Cores	
  on	
  Intel	
  2	
  x	
  Xeon	
  E5-­‐2690v3	
  3GHz
Solution Time Gap
Easy 96 231.06 0%
Medium 113 28800 ≤	
  13%
Difficult 773.8 28800 ≤	
  56%
Large 1.1493E+7 28800 ≤	
  1%
Huge 370 28800 ≤	
  61%
Lower	
  bounds	
  	
  established	
  by	
  separate	
  CPLEX	
  runs
Times	
  are	
  in	
  seconds
Huge Model Heuristic Behavior
300
500
700
900
1100
1300
1500
0 5000 10000 15000 20000 25000 30000
Solution  Value
Seconds
1  Threads
4  Threads
8  Threads
12  Threads
16  Threads
24  Threads
Large Model Heuristic Behavior
0.00E+00
5.00E+08
1.00E+09
1.50E+09
2.00E+09
2.50E+09
3.00E+09
3.50E+09
4.00E+09
4.50E+09
5.00E+09
0 5000 10000 15000 20000 25000 30000
Solution  Value
Seconds
1  Thread
4  Threads
8  Threads
12  Threads
16  Threads
24  Threads
Large Model Heuristic Behavior
11000000
11500000
12000000
12500000
13000000
13500000
14000000
14500000
15000000
0 5000 10000 15000 20000 25000 30000
Solution  Value
Seconds
1  Thread
4  Threads
8  Threads
12  Threads
16  Threads
24  Threads
Difficult Model Heuristic Behavior
300
500
700
900
1100
1300
1500
0 5000 10000 15000 20000 25000 30000
Solution  Value
Seconds
1  Thread
4  Threads
8  Threads
12  Threads
16  Threads
24  Threads
Medium Model Heuristic Behavior
100
110
120
130
140
150
160
170
180
190
200
0 5000 10000 15000 20000 25000 30000
Solution  Value
Seconds
1  Threads
4  Threads
8  Threads
12  Threads
16  Threads
24  Threads
Easy Model Heuristic Behavior
0
500
1000
1500
2000
2500
0 100 200 300 400 500 600
Solution  Value
Seconds
1  Thread
4  Threads
8  Threads
12  Threads
16  Threads
24  Threads
What’s Gone Wrong?
• Size (or rather density) matters again
• More threads can give worse results
• Used 24 core Intel Xeon E5-2690v3 server
• Not used hyperthreading
• Memory transfer speed is ~20GB/sec
• MIP solves become memory bus bound
Work Rate
0
200
400
600
800
1000
1200
1400
1 6 11 16 21
Work  Rate  (ticks/thread/sec)
Threads
Easy  (13.0)
Medium  (10.5)
Difficult  (8.5)
Large  (2.7)
Huge  (4.2)
Conclusions
• Hard size barriers to solve (to optimality) times
• May have to be satisfied with solutions of unproven
quality/optimality
• Heuristic methods demand serious consideration
• Parallel solution methods best way of exploiting modern
hardware
• Even these are limited by memory bus speeds
Thanks for listening
Robert Ashford
rwa@optimizationdirect.com
www.optimizationdirect.com

More Related Content

What's hot

Metaphors for Retrospectives - March 2017
Metaphors for Retrospectives - March 2017Metaphors for Retrospectives - March 2017
Metaphors for Retrospectives - March 2017
Helen Meek
 
Lean Based Sofware Development
Lean Based Sofware DevelopmentLean Based Sofware Development
Lean Based Sofware Development
Semen Arslan
 
Methodology kanban
Methodology   kanbanMethodology   kanban
Methodology kanban
Jean-François Nguyen
 
Altus Alliance 2016 - Transitioning From On-Premise to the Cloud
Altus Alliance 2016 - Transitioning From On-Premise to the CloudAltus Alliance 2016 - Transitioning From On-Premise to the Cloud
Altus Alliance 2016 - Transitioning From On-Premise to the Cloud
Sparkrock
 
Cpk: indispensable index or misleading measure? by PQ Systems
Cpk: indispensable index or misleading measure? by PQ SystemsCpk: indispensable index or misleading measure? by PQ Systems
Cpk: indispensable index or misleading measure? by PQ Systems
Blackberry&Cross
 
Cross-department Kanban Systems - 3 dimensions of scaling #llkd15
Cross-department Kanban Systems - 3 dimensions of scaling #llkd15Cross-department Kanban Systems - 3 dimensions of scaling #llkd15
Cross-department Kanban Systems - 3 dimensions of scaling #llkd15
Andy Carmichael
 

What's hot (6)

Metaphors for Retrospectives - March 2017
Metaphors for Retrospectives - March 2017Metaphors for Retrospectives - March 2017
Metaphors for Retrospectives - March 2017
 
Lean Based Sofware Development
Lean Based Sofware DevelopmentLean Based Sofware Development
Lean Based Sofware Development
 
Methodology kanban
Methodology   kanbanMethodology   kanban
Methodology kanban
 
Altus Alliance 2016 - Transitioning From On-Premise to the Cloud
Altus Alliance 2016 - Transitioning From On-Premise to the CloudAltus Alliance 2016 - Transitioning From On-Premise to the Cloud
Altus Alliance 2016 - Transitioning From On-Premise to the Cloud
 
Cpk: indispensable index or misleading measure? by PQ Systems
Cpk: indispensable index or misleading measure? by PQ SystemsCpk: indispensable index or misleading measure? by PQ Systems
Cpk: indispensable index or misleading measure? by PQ Systems
 
Cross-department Kanban Systems - 3 dimensions of scaling #llkd15
Cross-department Kanban Systems - 3 dimensions of scaling #llkd15Cross-department Kanban Systems - 3 dimensions of scaling #llkd15
Cross-department Kanban Systems - 3 dimensions of scaling #llkd15
 

Viewers also liked

Pooling optimization problem
Pooling optimization problemPooling optimization problem
Pooling optimization problem
Alkis Vazacopoulos
 
Excel+ppt+word2003使用技巧方法大全
Excel+ppt+word2003使用技巧方法大全Excel+ppt+word2003使用技巧方法大全
Excel+ppt+word2003使用技巧方法大全
0hanfeng0
 
Advanced Production Accounting of a Flotation Plant
Advanced Production Accounting of a Flotation PlantAdvanced Production Accounting of a Flotation Plant
Advanced Production Accounting of a Flotation PlantAlkis Vazacopoulos
 
Самаврядування васильківської ЗОШ І-ІІІ ступенів № 1
Самаврядування васильківської ЗОШ І-ІІІ ступенів № 1Самаврядування васильківської ЗОШ І-ІІІ ступенів № 1
Самаврядування васильківської ЗОШ І-ІІІ ступенів № 108600 Vasilkov
 
Development of Communicative Competence Analysis
Development of Communicative Competence AnalysisDevelopment of Communicative Competence Analysis
Development of Communicative Competence Analysis
Joan Cahuich Perez
 
Test powerpoint
Test powerpointTest powerpoint
Test powerpoint
LauraGregson81
 
NLR PACE Program
NLR PACE ProgramNLR PACE Program
Espacio en el mensaje publicitario
Espacio en el mensaje publicitarioEspacio en el mensaje publicitario
Espacio en el mensaje publicitariofjennyguerrero
 
пищевые добавки
пищевые добавкипищевые добавки
пищевые добавки
AkuJIa
 
Impulse!final inauguracion
Impulse!final inauguracionImpulse!final inauguracion
Impulse!final inauguracionorbitalight
 
Презентация Васильківської ЗОШ І-ІІІ ст№9 "Вулиця Бурки"
Презентация Васильківської ЗОШ І-ІІІ ст№9 "Вулиця Бурки"Презентация Васильківської ЗОШ І-ІІІ ст№9 "Вулиця Бурки"
Презентация Васильківської ЗОШ І-ІІІ ст№9 "Вулиця Бурки"
08600 Vasilkov
 
Chronological Decomposition Heuristic: A Temporal Divide-and-Conquer Strateg...
Chronological Decomposition Heuristic:  A Temporal Divide-and-Conquer Strateg...Chronological Decomposition Heuristic:  A Temporal Divide-and-Conquer Strateg...
Chronological Decomposition Heuristic: A Temporal Divide-and-Conquer Strateg...
Alkis Vazacopoulos
 
Контент и конверсионный трафик. Взаимное влияние
Контент и конверсионный трафик. Взаимное влияниеКонтент и конверсионный трафик. Взаимное влияние
Контент и конверсионный трафик. Взаимное влияниеАнастасия Эебердиева
 
Advanced property tracking Industrial Modeling Framework
Advanced property tracking Industrial Modeling FrameworkAdvanced property tracking Industrial Modeling Framework
Advanced property tracking Industrial Modeling Framework
Alkis Vazacopoulos
 
Выпускной
ВыпускнойВыпускной
ВыпускнойAkuJIa
 

Viewers also liked (19)

Pooling optimization problem
Pooling optimization problemPooling optimization problem
Pooling optimization problem
 
Excel+ppt+word2003使用技巧方法大全
Excel+ppt+word2003使用技巧方法大全Excel+ppt+word2003使用技巧方法大全
Excel+ppt+word2003使用技巧方法大全
 
Advanced Production Accounting of a Flotation Plant
Advanced Production Accounting of a Flotation PlantAdvanced Production Accounting of a Flotation Plant
Advanced Production Accounting of a Flotation Plant
 
Самаврядування васильківської ЗОШ І-ІІІ ступенів № 1
Самаврядування васильківської ЗОШ І-ІІІ ступенів № 1Самаврядування васильківської ЗОШ І-ІІІ ступенів № 1
Самаврядування васильківської ЗОШ І-ІІІ ступенів № 1
 
Development of Communicative Competence Analysis
Development of Communicative Competence AnalysisDevelopment of Communicative Competence Analysis
Development of Communicative Competence Analysis
 
Test powerpoint
Test powerpointTest powerpoint
Test powerpoint
 
NLR PACE Program
NLR PACE ProgramNLR PACE Program
NLR PACE Program
 
Espacio en el mensaje publicitario
Espacio en el mensaje publicitarioEspacio en el mensaje publicitario
Espacio en el mensaje publicitario
 
Assessment p health
Assessment p healthAssessment p health
Assessment p health
 
пищевые добавки
пищевые добавкипищевые добавки
пищевые добавки
 
Impulse!final inauguracion
Impulse!final inauguracionImpulse!final inauguracion
Impulse!final inauguracion
 
6 vamos al mundo
6 vamos al mundo6 vamos al mundo
6 vamos al mundo
 
Презентация Васильківської ЗОШ І-ІІІ ст№9 "Вулиця Бурки"
Презентация Васильківської ЗОШ І-ІІІ ст№9 "Вулиця Бурки"Презентация Васильківської ЗОШ І-ІІІ ст№9 "Вулиця Бурки"
Презентация Васильківської ЗОШ І-ІІІ ст№9 "Вулиця Бурки"
 
Chronological Decomposition Heuristic: A Temporal Divide-and-Conquer Strateg...
Chronological Decomposition Heuristic:  A Temporal Divide-and-Conquer Strateg...Chronological Decomposition Heuristic:  A Temporal Divide-and-Conquer Strateg...
Chronological Decomposition Heuristic: A Temporal Divide-and-Conquer Strateg...
 
Контент и конверсионный трафик. Взаимное влияние
Контент и конверсионный трафик. Взаимное влияниеКонтент и конверсионный трафик. Взаимное влияние
Контент и конверсионный трафик. Взаимное влияние
 
Advanced property tracking Industrial Modeling Framework
Advanced property tracking Industrial Modeling FrameworkAdvanced property tracking Industrial Modeling Framework
Advanced property tracking Industrial Modeling Framework
 
Выпускной
ВыпускнойВыпускной
Выпускной
 
Hermais
HermaisHermais
Hermais
 
Pendahuluan
PendahuluanPendahuluan
Pendahuluan
 

Similar to Very largeoptimizationparallel

CPLEX Optimization Studio, Modeling, Theory, Best Practices and Case Studies
CPLEX Optimization Studio, Modeling, Theory, Best Practices and Case StudiesCPLEX Optimization Studio, Modeling, Theory, Best Practices and Case Studies
CPLEX Optimization Studio, Modeling, Theory, Best Practices and Case Studies
optimizatiodirectdirect
 
Solving Large Scale Optimization Problems using CPLEX Optimization Studio
Solving Large Scale Optimization Problems using CPLEX Optimization StudioSolving Large Scale Optimization Problems using CPLEX Optimization Studio
Solving Large Scale Optimization Problems using CPLEX Optimization Studio
optimizatiodirectdirect
 
Scaling with sync_replication using Galera and EC2
Scaling with sync_replication using Galera and EC2Scaling with sync_replication using Galera and EC2
Scaling with sync_replication using Galera and EC2
Marco Tusa
 
[DBA]_HiramFleitas_SQL_PASS_Summit_2017_Summary
[DBA]_HiramFleitas_SQL_PASS_Summit_2017_Summary[DBA]_HiramFleitas_SQL_PASS_Summit_2017_Summary
[DBA]_HiramFleitas_SQL_PASS_Summit_2017_Summary
Hiram Fleitas León
 
Parallel Distributed Deep Learning on HPCC Systems
Parallel Distributed Deep Learning on HPCC SystemsParallel Distributed Deep Learning on HPCC Systems
Parallel Distributed Deep Learning on HPCC Systems
HPCC Systems
 
Scaling tappsi
Scaling tappsiScaling tappsi
Scaling tappsi
Óscar Andrés López
 
Designing, Building, and Maintaining Large Cubes using Lessons Learned
Designing, Building, and Maintaining Large Cubes using Lessons LearnedDesigning, Building, and Maintaining Large Cubes using Lessons Learned
Designing, Building, and Maintaining Large Cubes using Lessons Learned
Denny Lee
 
Everything I Ever Learned About JVM Performance Tuning @Twitter
Everything I Ever Learned About JVM Performance Tuning @TwitterEverything I Ever Learned About JVM Performance Tuning @Twitter
Everything I Ever Learned About JVM Performance Tuning @Twitter
Attila Szegedi
 
Fundamentals.pptx
Fundamentals.pptxFundamentals.pptx
Fundamentals.pptx
dhivyak49
 
Cassandra CLuster Management by Japan Cassandra Community
Cassandra CLuster Management by Japan Cassandra CommunityCassandra CLuster Management by Japan Cassandra Community
Cassandra CLuster Management by Japan Cassandra Community
Hiromitsu Komatsu
 
PAC 2019 virtual Alexander Podelko
PAC 2019 virtual Alexander Podelko PAC 2019 virtual Alexander Podelko
PAC 2019 virtual Alexander Podelko
Neotys
 
AWS Webcast - An Introduction to High Performance Computing on AWS
AWS Webcast - An Introduction to High Performance Computing on AWSAWS Webcast - An Introduction to High Performance Computing on AWS
AWS Webcast - An Introduction to High Performance Computing on AWS
Amazon Web Services
 
Simulation of Heterogeneous Cloud Infrastructures
Simulation of Heterogeneous Cloud InfrastructuresSimulation of Heterogeneous Cloud Infrastructures
Simulation of Heterogeneous Cloud Infrastructures
CloudLightning
 
Introduction to Algorithms And DataStructure
Introduction to Algorithms And DataStructureIntroduction to Algorithms And DataStructure
Introduction to Algorithms And DataStructure
Prasanna996462
 
Memory efficient java tutorial practices and challenges
Memory efficient java tutorial practices and challengesMemory efficient java tutorial practices and challenges
Memory efficient java tutorial practices and challenges
mustafa sarac
 
JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]
JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]
JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]
Malin Weiss
 
JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]
JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]
JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]
Speedment, Inc.
 
Low-latency Multi-threaded Ensemble Learning for Dynamic Big Data Streams
Low-latency Multi-threaded Ensemble Learning for Dynamic Big Data StreamsLow-latency Multi-threaded Ensemble Learning for Dynamic Big Data Streams
Low-latency Multi-threaded Ensemble Learning for Dynamic Big Data Streams
Diego Marrón Vida
 

Similar to Very largeoptimizationparallel (20)

CPLEX Optimization Studio, Modeling, Theory, Best Practices and Case Studies
CPLEX Optimization Studio, Modeling, Theory, Best Practices and Case StudiesCPLEX Optimization Studio, Modeling, Theory, Best Practices and Case Studies
CPLEX Optimization Studio, Modeling, Theory, Best Practices and Case Studies
 
Large scalecplex
Large scalecplexLarge scalecplex
Large scalecplex
 
Solving Large Scale Optimization Problems using CPLEX Optimization Studio
Solving Large Scale Optimization Problems using CPLEX Optimization StudioSolving Large Scale Optimization Problems using CPLEX Optimization Studio
Solving Large Scale Optimization Problems using CPLEX Optimization Studio
 
Scaling with sync_replication using Galera and EC2
Scaling with sync_replication using Galera and EC2Scaling with sync_replication using Galera and EC2
Scaling with sync_replication using Galera and EC2
 
[DBA]_HiramFleitas_SQL_PASS_Summit_2017_Summary
[DBA]_HiramFleitas_SQL_PASS_Summit_2017_Summary[DBA]_HiramFleitas_SQL_PASS_Summit_2017_Summary
[DBA]_HiramFleitas_SQL_PASS_Summit_2017_Summary
 
Parallel Distributed Deep Learning on HPCC Systems
Parallel Distributed Deep Learning on HPCC SystemsParallel Distributed Deep Learning on HPCC Systems
Parallel Distributed Deep Learning on HPCC Systems
 
Scaling tappsi
Scaling tappsiScaling tappsi
Scaling tappsi
 
Designing, Building, and Maintaining Large Cubes using Lessons Learned
Designing, Building, and Maintaining Large Cubes using Lessons LearnedDesigning, Building, and Maintaining Large Cubes using Lessons Learned
Designing, Building, and Maintaining Large Cubes using Lessons Learned
 
Everything I Ever Learned About JVM Performance Tuning @Twitter
Everything I Ever Learned About JVM Performance Tuning @TwitterEverything I Ever Learned About JVM Performance Tuning @Twitter
Everything I Ever Learned About JVM Performance Tuning @Twitter
 
Fundamentals.pptx
Fundamentals.pptxFundamentals.pptx
Fundamentals.pptx
 
Cassandra CLuster Management by Japan Cassandra Community
Cassandra CLuster Management by Japan Cassandra CommunityCassandra CLuster Management by Japan Cassandra Community
Cassandra CLuster Management by Japan Cassandra Community
 
PAC 2019 virtual Alexander Podelko
PAC 2019 virtual Alexander Podelko PAC 2019 virtual Alexander Podelko
PAC 2019 virtual Alexander Podelko
 
AWS Webcast - An Introduction to High Performance Computing on AWS
AWS Webcast - An Introduction to High Performance Computing on AWSAWS Webcast - An Introduction to High Performance Computing on AWS
AWS Webcast - An Introduction to High Performance Computing on AWS
 
Simulation of Heterogeneous Cloud Infrastructures
Simulation of Heterogeneous Cloud InfrastructuresSimulation of Heterogeneous Cloud Infrastructures
Simulation of Heterogeneous Cloud Infrastructures
 
Introduction to Algorithms And DataStructure
Introduction to Algorithms And DataStructureIntroduction to Algorithms And DataStructure
Introduction to Algorithms And DataStructure
 
Memory efficient java tutorial practices and challenges
Memory efficient java tutorial practices and challengesMemory efficient java tutorial practices and challenges
Memory efficient java tutorial practices and challenges
 
PraveenBOUT++
PraveenBOUT++PraveenBOUT++
PraveenBOUT++
 
JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]
JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]
JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]
 
JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]
JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]
JavaOne2016 - Microservices: Terabytes in Microseconds [CON4516]
 
Low-latency Multi-threaded Ensemble Learning for Dynamic Big Data Streams
Low-latency Multi-threaded Ensemble Learning for Dynamic Big Data StreamsLow-latency Multi-threaded Ensemble Learning for Dynamic Big Data Streams
Low-latency Multi-threaded Ensemble Learning for Dynamic Big Data Streams
 

More from Alkis Vazacopoulos

Automatic Fine-tuning Xpress-MP to Solve MIP
Automatic Fine-tuning Xpress-MP to Solve MIPAutomatic Fine-tuning Xpress-MP to Solve MIP
Automatic Fine-tuning Xpress-MP to Solve MIP
Alkis Vazacopoulos
 
Data mining 2004
Data mining 2004Data mining 2004
Data mining 2004
Alkis Vazacopoulos
 
Amazing results with ODH|CPLEX
Amazing results with ODH|CPLEXAmazing results with ODH|CPLEX
Amazing results with ODH|CPLEX
Alkis Vazacopoulos
 
Bia project poster fantasy football
Bia project poster  fantasy football Bia project poster  fantasy football
Bia project poster fantasy football
Alkis Vazacopoulos
 
NFL Game schedule optimization
NFL Game schedule optimization NFL Game schedule optimization
NFL Game schedule optimization
Alkis Vazacopoulos
 
2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...
2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...
2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...
Alkis Vazacopoulos
 
Posters 2017
Posters 2017Posters 2017
Posters 2017
Alkis Vazacopoulos
 
Retail Pricing Optimization
Retail Pricing Optimization Retail Pricing Optimization
Retail Pricing Optimization
Alkis Vazacopoulos
 
Informs 2016 Solving Planning and Scheduling Problems with CPLEX
Informs 2016 Solving Planning and Scheduling Problems with CPLEX Informs 2016 Solving Planning and Scheduling Problems with CPLEX
Informs 2016 Solving Planning and Scheduling Problems with CPLEX
Alkis Vazacopoulos
 
ODHeuristics
ODHeuristicsODHeuristics
ODHeuristics
Alkis Vazacopoulos
 
Missing-Value Handling in Dynamic Model Estimation using IMPL
Missing-Value Handling in Dynamic Model Estimation using IMPL Missing-Value Handling in Dynamic Model Estimation using IMPL
Missing-Value Handling in Dynamic Model Estimation using IMPL
Alkis Vazacopoulos
 
Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...
Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...
Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...
Alkis Vazacopoulos
 
Industrial Modeling Service (IMS-IMPL)
Industrial Modeling Service (IMS-IMPL)Industrial Modeling Service (IMS-IMPL)
Industrial Modeling Service (IMS-IMPL)
Alkis Vazacopoulos
 
Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...
Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...
Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...Alkis Vazacopoulos
 
Xmr im
Xmr imXmr im
Distillation Curve Optimization Using Monotonic Interpolation
Distillation Curve Optimization Using Monotonic InterpolationDistillation Curve Optimization Using Monotonic Interpolation
Distillation Curve Optimization Using Monotonic Interpolation
Alkis Vazacopoulos
 
Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...
Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...
Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...
Alkis Vazacopoulos
 
Advanced Parameter Estimation (APE) for Motor Gasoline Blending (MGB) Indust...
Advanced Parameter Estimation (APE) for Motor Gasoline Blending (MGB)  Indust...Advanced Parameter Estimation (APE) for Motor Gasoline Blending (MGB)  Indust...
Advanced Parameter Estimation (APE) for Motor Gasoline Blending (MGB) Indust...
Alkis Vazacopoulos
 
Hybrid Dynamic Simulation (HDS) Industrial Modeling Framework (HDS-IMF)
Hybrid Dynamic Simulation (HDS)  Industrial Modeling Framework (HDS-IMF)Hybrid Dynamic Simulation (HDS)  Industrial Modeling Framework (HDS-IMF)
Hybrid Dynamic Simulation (HDS) Industrial Modeling Framework (HDS-IMF)Alkis Vazacopoulos
 
Partial Differential Equations (PDE’s) Industrial Modeling Framework (PDE-IMF)
Partial Differential Equations (PDE’s)  Industrial Modeling Framework (PDE-IMF)Partial Differential Equations (PDE’s)  Industrial Modeling Framework (PDE-IMF)
Partial Differential Equations (PDE’s) Industrial Modeling Framework (PDE-IMF)
Alkis Vazacopoulos
 

More from Alkis Vazacopoulos (20)

Automatic Fine-tuning Xpress-MP to Solve MIP
Automatic Fine-tuning Xpress-MP to Solve MIPAutomatic Fine-tuning Xpress-MP to Solve MIP
Automatic Fine-tuning Xpress-MP to Solve MIP
 
Data mining 2004
Data mining 2004Data mining 2004
Data mining 2004
 
Amazing results with ODH|CPLEX
Amazing results with ODH|CPLEXAmazing results with ODH|CPLEX
Amazing results with ODH|CPLEX
 
Bia project poster fantasy football
Bia project poster  fantasy football Bia project poster  fantasy football
Bia project poster fantasy football
 
NFL Game schedule optimization
NFL Game schedule optimization NFL Game schedule optimization
NFL Game schedule optimization
 
2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...
2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...
2017 Business Intelligence & Analytics Corporate Event Stevens Institute of T...
 
Posters 2017
Posters 2017Posters 2017
Posters 2017
 
Retail Pricing Optimization
Retail Pricing Optimization Retail Pricing Optimization
Retail Pricing Optimization
 
Informs 2016 Solving Planning and Scheduling Problems with CPLEX
Informs 2016 Solving Planning and Scheduling Problems with CPLEX Informs 2016 Solving Planning and Scheduling Problems with CPLEX
Informs 2016 Solving Planning and Scheduling Problems with CPLEX
 
ODHeuristics
ODHeuristicsODHeuristics
ODHeuristics
 
Missing-Value Handling in Dynamic Model Estimation using IMPL
Missing-Value Handling in Dynamic Model Estimation using IMPL Missing-Value Handling in Dynamic Model Estimation using IMPL
Missing-Value Handling in Dynamic Model Estimation using IMPL
 
Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...
Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...
Finite Impulse Response Estimation of Gas Furnace Data in IMPL Industrial Mod...
 
Industrial Modeling Service (IMS-IMPL)
Industrial Modeling Service (IMS-IMPL)Industrial Modeling Service (IMS-IMPL)
Industrial Modeling Service (IMS-IMPL)
 
Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...
Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...
Dither Signal Design Problem (DSDP) for Closed-Loop Estimation Industrial Mod...
 
Xmr im
Xmr imXmr im
Xmr im
 
Distillation Curve Optimization Using Monotonic Interpolation
Distillation Curve Optimization Using Monotonic InterpolationDistillation Curve Optimization Using Monotonic Interpolation
Distillation Curve Optimization Using Monotonic Interpolation
 
Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...
Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...
Multi-Utility Scheduling Optimization (MUSO) Industrial Modeling Framework (M...
 
Advanced Parameter Estimation (APE) for Motor Gasoline Blending (MGB) Indust...
Advanced Parameter Estimation (APE) for Motor Gasoline Blending (MGB)  Indust...Advanced Parameter Estimation (APE) for Motor Gasoline Blending (MGB)  Indust...
Advanced Parameter Estimation (APE) for Motor Gasoline Blending (MGB) Indust...
 
Hybrid Dynamic Simulation (HDS) Industrial Modeling Framework (HDS-IMF)
Hybrid Dynamic Simulation (HDS)  Industrial Modeling Framework (HDS-IMF)Hybrid Dynamic Simulation (HDS)  Industrial Modeling Framework (HDS-IMF)
Hybrid Dynamic Simulation (HDS) Industrial Modeling Framework (HDS-IMF)
 
Partial Differential Equations (PDE’s) Industrial Modeling Framework (PDE-IMF)
Partial Differential Equations (PDE’s)  Industrial Modeling Framework (PDE-IMF)Partial Differential Equations (PDE’s)  Industrial Modeling Framework (PDE-IMF)
Partial Differential Equations (PDE’s) Industrial Modeling Framework (PDE-IMF)
 

Recently uploaded

做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
axoqas
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
enxupq
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
AbhimanyuSinha9
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
TravisMalana
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
balafet
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
axoqas
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Subhajit Sahu
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
NABLAS株式会社
 
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
pchutichetpong
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
haila53
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Boston Institute of Analytics
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Subhajit Sahu
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
NABLAS株式会社
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
nscud
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
John Andrews
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
ewymefz
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
Opendatabay
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
oz8q3jxlp
 

Recently uploaded (20)

做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
做(mqu毕业证书)麦考瑞大学毕业证硕士文凭证书学费发票原版一模一样
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单一比一原版(QU毕业证)皇后大学毕业证成绩单
一比一原版(QU毕业证)皇后大学毕业证成绩单
 
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...Best best suvichar in gujarati english meaning of this sentence as Silk road ...
Best best suvichar in gujarati english meaning of this sentence as Silk road ...
 
Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)Malana- Gimlet Market Analysis (Portfolio 2)
Malana- Gimlet Market Analysis (Portfolio 2)
 
Machine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptxMachine learning and optimization techniques for electrical drives.pptx
Machine learning and optimization techniques for electrical drives.pptx
 
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
哪里卖(usq毕业证书)南昆士兰大学毕业证研究生文凭证书托福证书原版一模一样
 
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
Algorithmic optimizations for Dynamic Levelwise PageRank (from STICD) : SHORT...
 
Criminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdfCriminal IP - Threat Hunting Webinar.pdf
Criminal IP - Threat Hunting Webinar.pdf
 
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
【社内勉強会資料_Octo: An Open-Source Generalist Robot Policy】
 
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
Data Centers - Striving Within A Narrow Range - Research Report - MCG - May 2...
 
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdfCh03-Managing the Object-Oriented Information Systems Project a.pdf
Ch03-Managing the Object-Oriented Information Systems Project a.pdf
 
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project PresentationPredicting Product Ad Campaign Performance: A Data Analysis Project Presentation
Predicting Product Ad Campaign Performance: A Data Analysis Project Presentation
 
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
Levelwise PageRank with Loop-Based Dead End Handling Strategy : SHORT REPORT ...
 
社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .社内勉強会資料_LLM Agents                              .
社内勉強会資料_LLM Agents                              .
 
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
一比一原版(CBU毕业证)卡普顿大学毕业证成绩单
 
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
Chatty Kathy - UNC Bootcamp Final Project Presentation - Final Version - 5.23...
 
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
一比一原版(IIT毕业证)伊利诺伊理工大学毕业证成绩单
 
Opendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptxOpendatabay - Open Data Marketplace.pptx
Opendatabay - Open Data Marketplace.pptx
 
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
一比一原版(Deakin毕业证书)迪肯大学毕业证如何办理
 

Very largeoptimizationparallel

  • 1. Alkis Vazacopoulos Robert Ashford Optimization Direct Inc. CPLEX Very Large Optimization Models And parallel processing
  • 2. Summary • Challenges of Large Scale Optimization • Heuristic Software Approach • Scheduling, supply chain and telecomms examples • Benefits and problems of parallelism
  • 3. Large Scale Optimization • Many models now solved routinely which would have been impossible (‘unsolvable’) a few years ago • BUT: have super-linear growth of solving effort as model size/complexity increases • AND: customer models keep getting larger • Globalized business has larger and more complex supply chain • Optimization expandinginto new areas, especially scheduling • Detailed models easier to sell to management and end- users
  • 4. The Curse of Dimensionality: Size Matters • Super-linear solve time growth often supposed • The reality is worse • Few data sets available to support this • Look at randomly selected sub-models of two scheduling models • Simple basic model • More complex model with additional entity types • Two hour time limit on each solve • 8 threads on 4 core hyperthreaded Intel i7-4790K • See how solve time varies with integers after presolve
  • 5. Simple model 0 1000 2000 3000 4000 5000 6000 7000 8000 0 10000 20000 30000 40000 50000 Solution  time  in  seconds Numer  of  ineteger  entities
  • 6. Complex model 0 1000 2000 3000 4000 5000 6000 7000 8000 0 5000 10000 15000 20000 25000 30000 Solution  time Integer  entities
  • 7. Why size matters • Solver has to • (Presolve, probe and) solve LP relaxation • Find and apply cuts • Branch on remaining infeasibilities (and find and apply cuts too) • Look for feasible solutions with heuristics all the while • Simplex relaxation solves theoretically NP, but in practice effort increases between linearly and quadratic • Barrier solver effort grows more slowly, but: • cross-over still grows quickly • usually get more integer infeasibilities • can’t use last solution/basis to accelerate • Cutting grows faster than quadratic: each cut requires more effort, more cuts/round, more rounds of cuts, each round harder to apply. • Branching is exponential: 2n in number of (say) binaries n
  • 8. What can be done? • Decomposition • Solve smaller models • Use ‘good’ formulations • As tight as possible • Avoid symmetry • Settle for a good solution • Use heuristics • Use more powerful hardware • Can usually make minor improvements by having a faster processor and memory • Big potential is from parallel processing • Use 4, 8 12, 24,… or more threads on separate ‘processors’
  • 9. Parallel Processing • CPU clock speed is not improving • Power consumed (and heat generated accordingto the square of the speed • Memory speed is not improving (much) • Can fit more processors onto a single chip • Can get wider registers • Vectorization • do several (up to 8) fp calculationsat once on 512 bit register (SIMD) • of limited use in sparse optimization • Cannot use full processor capability if using many cores
  • 10. Heuristic Solution Software • Proof of optimality may be impractical, but want good solutions to (say) 20% • Uses CPLEX callable library • First-feasible-solution heuristics • Improvement heuristic • Solves sequence of smaller sub-model(s) • approach used e.g. by RINS and local branching • Use model structure to create sub-models and combine solutions • Assess solution quality by a very aggressive root solve of whole model • Multiple instances can be run concurrently with different seeds • Can run on only one core • Can interrupt at any point and take best solution so far time limit / call-back /SIGINT
  • 11. Parallel Heuristic Approach • Run several heuristic threads with different seeds simultaneously • CPLEX callable library very flexible, so • Exchange solution information between runs • Kill sub-model solves when done better elsewhere • Improves sub-model selection • Opportunistic or deterministic • 5 instances run on 24 core  Intel  2  x  Xeon  E5-­‐2690v3  running   at  up  to  3.5  GHz  (DDR4-­‐2133  memory)
  • 12. Example: Large Scale Scheduling, Supply Chain and Telecomms Models † No usable (say within 30% gap) solution after 3 days run time on fastest hardware (Intel i7 4790K ‘Devil’s Canyon’) Model entities rows cols integers Easy 314 299288 57804 57804 Medium† 314 389560 94200 94200 Difficult† 406 371964 149132 149132 Large 302965 2836736 4892396 18271400 Huge 27000 2577916 12944400 12944400
  • 13. Heuristic Results on Scheduling Models 8  Cores  on  Intel  2  x  Xeon  E5-­‐2690v3  3GHz Solution Time Gap Easy 96 231.06 0% Medium 113 28800 ≤  13% Difficult 773.8 28800 ≤  56% Large 1.1493E+7 28800 ≤  1% Huge 370 28800 ≤  61% Lower  bounds    established  by  separate  CPLEX  runs Times  are  in  seconds
  • 14. Huge Model Heuristic Behavior 300 500 700 900 1100 1300 1500 0 5000 10000 15000 20000 25000 30000 Solution  Value Seconds 1  Threads 4  Threads 8  Threads 12  Threads 16  Threads 24  Threads
  • 15. Large Model Heuristic Behavior 0.00E+00 5.00E+08 1.00E+09 1.50E+09 2.00E+09 2.50E+09 3.00E+09 3.50E+09 4.00E+09 4.50E+09 5.00E+09 0 5000 10000 15000 20000 25000 30000 Solution  Value Seconds 1  Thread 4  Threads 8  Threads 12  Threads 16  Threads 24  Threads
  • 16. Large Model Heuristic Behavior 11000000 11500000 12000000 12500000 13000000 13500000 14000000 14500000 15000000 0 5000 10000 15000 20000 25000 30000 Solution  Value Seconds 1  Thread 4  Threads 8  Threads 12  Threads 16  Threads 24  Threads
  • 17. Difficult Model Heuristic Behavior 300 500 700 900 1100 1300 1500 0 5000 10000 15000 20000 25000 30000 Solution  Value Seconds 1  Thread 4  Threads 8  Threads 12  Threads 16  Threads 24  Threads
  • 18. Medium Model Heuristic Behavior 100 110 120 130 140 150 160 170 180 190 200 0 5000 10000 15000 20000 25000 30000 Solution  Value Seconds 1  Threads 4  Threads 8  Threads 12  Threads 16  Threads 24  Threads
  • 19. Easy Model Heuristic Behavior 0 500 1000 1500 2000 2500 0 100 200 300 400 500 600 Solution  Value Seconds 1  Thread 4  Threads 8  Threads 12  Threads 16  Threads 24  Threads
  • 20. What’s Gone Wrong? • Size (or rather density) matters again • More threads can give worse results • Used 24 core Intel Xeon E5-2690v3 server • Not used hyperthreading • Memory transfer speed is ~20GB/sec • MIP solves become memory bus bound
  • 21. Work Rate 0 200 400 600 800 1000 1200 1400 1 6 11 16 21 Work  Rate  (ticks/thread/sec) Threads Easy  (13.0) Medium  (10.5) Difficult  (8.5) Large  (2.7) Huge  (4.2)
  • 22. Conclusions • Hard size barriers to solve (to optimality) times • May have to be satisfied with solutions of unproven quality/optimality • Heuristic methods demand serious consideration • Parallel solution methods best way of exploiting modern hardware • Even these are limited by memory bus speeds
  • 23. Thanks for listening Robert Ashford rwa@optimizationdirect.com www.optimizationdirect.com