© author(s) of these slides 2014 including research results of the research network ES and TU Darmstadt otherwise as specified at the respective slide.

Slides:



Advertisements
Similar presentations
L3S Research Center University of Hanover Germany
Advertisements

QoS-based Management of Multiple Shared Resources in Dynamic Real-Time Systems Klaus Ecker, Frank Drews School of EECS, Ohio University, Athens, OH {ecker,
Algorithm Design Methods (I) Fall 2003 CSE, POSTECH.
Algorithm Design Methods Spring 2007 CSE, POSTECH.
IEOR 4004: Introduction to Operations Research Deterministic Models January 22, 2014.
Interactive Configuration
Leena Suhl University of Paderborn, Germany
Coverage by Directional Sensors Jing Ai and Alhussein A. Abouzeid Dept. of Electrical, Computer and Systems Engineering Rensselaer Polytechnic Institute.
EMIS 8373: Integer Programming Valid Inequalities updated 4April 2011.
All Hands Meeting, 2006 Title: Grid Workflow Scheduling in WOSE (Workflow Optimisation Services for e- Science Applications) Authors: Yash Patel, Andrew.
Simulation of End-of-Life Computer Recovery Operations Design Team Jordan Akselrad, John Marshall Mikayla Shorrock, Nestor Velilla Nicolas Yunis Project.
OPTIMIZATION Lecture 24. Optimization Uses sophisticated mathematical modeling techniques for the analysis Multi-step process Provides improved benefit.
1 Approximate Solution to an Exam Timetabling Problem Adam White Dept of Computing Science University of Alberta Adam White Dept of Computing Science University.
Software Factory Assembling Applications with Models, Patterns, Frameworks and Tools Anna Liu Senior Architect Advisor Microsoft Australia.
Supply Chain Design Problem Tuukka Puranen Postgraduate Seminar in Information Technology Wednesday, March 26, 2009.
PROFITABLE CONNECTION ASSIGNMENT IN ALL OPTICAL WDM NETWORKS VISHAL ANAND LANDER (Lab. for Advanced Network Design, Evaluation and Research) In collaboration.
Time-Decaying Sketches for Sensor Data Aggregation Graham Cormode AT&T Labs, Research Srikanta Tirthapura Dept. of Electrical and Computer Engineering.
Linear and Integer Programming Models
Jan 6-10th, 2007VLSI Design A Reduced Complexity Algorithm for Minimizing N-Detect Tests Kalyana R. Kantipudi Vishwani D. Agrawal Department of Electrical.
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 5: February 2, 2009 Architecture Synthesis (Provisioning, Allocation)
Developing a Deterministic Patrolling Strategy for Security Agents Nicola Basilico, Nicola Gatti, Francesco Amigoni.
1 University of Freiburg Computer Networks and Telematics Prof. Christian Schindelhauer Wireless Sensor Networks 13th Lecture Christian Schindelhauer.
1 1 Slide Chapter 14: Goal Programming Goal programming is used to solve linear programs with multiple objectives, with each objective viewed as a "goal".
1 Contents college 3 en 4 Book: Appendix A.1, A.3, A.4, §3.4, §3.5, §4.1, §4.2, §4.4, §4.6 (not: §3.6 - §3.8, §4.2 - §4.3) Extra literature on resource.
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 5: February 2, 2009 Architecture Synthesis (Provisioning, Allocation)
Distributed Constraint Optimization * some slides courtesy of P. Modi
LINEAR PROGRAMMING PROBLEM Definition and Examples.
Tomo-gravity Yin ZhangMatthew Roughan Nick DuffieldAlbert Greenberg “A Northern NJ Research Lab” ACM.
Platzhalter für Bild, Bild auf Titelfolie hinter das Logo einsetzen Prof. Dr.-Ing. Ina Schaefer (joint work with Mirco Tribastone and Matthias Kowal) Institute.
Rohit Aggarwal, Kunal Verma, John Miller, Willie Milnor Large Scale Distributed Information Systems (LSDIS) Lab University of Georgia, Athens Presented.
Testing : A Roadmap Mary Jean Harrold Georgia Institute of Technology Presented by : Navpreet Bawa.
Advanced Technology Center Slide 1 Requirements-Based Testing Dr. Mats P. E. Heimdahl University of Minnesota Software Engineering Center Dr. Steven P.
Transformation of Timed Automata into Mixed Integer Linear Programs Sebastian Panek.
Introduction to Job Shop Scheduling Problem Qianjun Xu Oct. 30, 2001.
New Modeling Techniques for the Global Routing Problem Anthony Vannelli Department of Electrical and Computer Engineering University of Waterloo Waterloo,
Coverage Criteria for Testing of Object Interactions in Sequence Diagrams Atanas (Nasko) Rountev Scott Kagan Jason Sawin Ohio State University.
The Application of The Improved Hybrid Ant Colony Algorithm in Vehicle Routing Optimization Problem International Conference on Future Computer and Communication,
Penn ESE535 Spring DeHon 1 ESE535: Electronic Design Automation Day 10: February 18, 2015 Architecture Synthesis (Provisioning, Allocation)
Bi-directional incremental evolution Dr Tatiana Kalganova Electronic and Computer Engineering Dept. Bio-Inspired Intelligent Systems Group Brunel University.
The System and Software Development Process Instructor: Dr. Hany H. Ammar Dept. of Computer Science and Electrical Engineering, WVU.
Resource Mapping and Scheduling for Heterogeneous Network Processor Systems Liang Yang, Tushar Gohad, Pavel Ghosh, Devesh Sinha, Arunabha Sen and Andrea.
Goal Programming Linear program has multiple objectives, often conflicting in nature Target values or goals can be set for each objective identified Not.
Zibin Zheng DR 2 : Dynamic Request Routing for Tolerating Latency Variability in Cloud Applications CLOUD 2013 Jieming Zhu, Zibin.
Mobile Agent Migration Problem Yingyue Xu. Energy efficiency requirement of sensor networks Mobile agent computing paradigm Data fusion, distributed processing.
CONTROL ENGINEERING IN DRYING TECHNOLOGY FROM 1979 TO 2005: REVIEW AND TRENDS by: Pascal DUFOUR IDS’06, Budapest, 21-23/08/2006.
1 Iterative Integer Programming Formulation for Robust Resource Allocation in Dynamic Real-Time Systems Sethavidh Gertphol and Viktor K. Prasanna University.
Approximation Algorithms Department of Mathematics and Computer Science Drexel University.
Performance of Distributed Constraint Optimization Algorithms A.Gershman, T. Grinshpon, A. Meisels and R. Zivan Dept. of Computer Science Ben-Gurion University.
Written by Changhyun, SON Chapter 5. Introduction to Design Optimization - 1 PART II Design Optimization.
Large-Scale Matrix Factorization with Missing Data under Additional Constraints Kaushik Mitra University of Maryland, College Park, MD Sameer Sheoreyy.
Quality Assurance in the Presence of Variability Kim Lauenroth, Andreas Metzger, Klaus Pohl Institute for Computer Science and Business Information Systems.
It is the fuel of modern life Business are run Government rule Scientists Industries Education However, building and maintaining software is hard and getting.
Management Science 461 Lecture 4a – P center September 30, 2008.
AUTOMATED COURSE AND EXAMINATION TIMETABLING Dr. S. Kanmani Professor and Head Department of Information Technology Pondicherry Engineering College Puducherry.
A PRELIMINARY EMPIRICAL ASSESSMENT OF SIMILARITY FOR COMBINATORIAL INTERACTION TESTING OF SOFTWARE PRODUCT LINES Stefan Fischer Roberto E. Lopez-Herrejon.
OPTIMAL PLANNING OF ENERGY EFFICIENCY PROGRAMS WITH THE PAID-FROM-SAVINGS STRATEGY Seyedmohammadhossein Hosseinian Ph.D. Student, Zachry Department of.
Data Driven Resource Allocation for Distributed Learning
Distributed Vehicle Routing Approximation
SS 2017 Software Verification Bounded Model Checking, Outlook
Consistency Methods for Temporal Reasoning
James D. Z. Ma Department of Electrical and Computer Engineering
Liang Chen Advisor: Gagan Agrawal Computer Science & Engineering
Effective Social Network Quarantine with Minimal Isolation Costs
Master Thesis Presentation
Multi-Objective Optimization
Constraint Programming and Backtracking Search Algorithms
Planning and Scheduling in Manufacturing and Services
Structural Optimization Design ( Structural Analysis & Optimization )
Vehicle routing in Python
Integer Programming (IP)
Presentation transcript:

© author(s) of these slides 2014 including research results of the research network ES and TU Darmstadt otherwise as specified at the respective slide Malte Lochau TU Darmstadt ES Real-Time Systems Lab Prof. Dr. rer. nat. Andy Schürr Dept. of Electrical Engineering and Information Technology Dept. of Computer Science (adjunct Professor) Multi-Objective Test Suite Optimization for Incremental Product Family Testing (joint work with Hauke Baller, Sascha Lity and Ina Schaefer) , Copenhagen

ES – Real-Time Systems Lab 2 | | PLE Contents  „What is a good ordering for testing the members of a product family?“  Extension of the classical Test Suite Minimization Problem  Weights  Bounds  Variability  Approx. optimal solution(s) for Multi-Objectives via ILP Solving  Incremental heuristic solution based on dynamic programming to appear at ICST‘2014

ES – Real-Time Systems Lab 3 | | PLE Test Suite Minimization Problem [Harrold et al., 1993] t1 r1 r2 r3 r4 r5 r6 t2 t3 t4 … Test Cases Test Requirements Complete Test Suite

ES – Real-Time Systems Lab 4 | | PLE  All-Transitions Coverage R = {r 1,r 2, …, r 8 }  Complete Test Suite TS (4 Test Cases)  Minimal Complete Test Suite TS ‘ (1 Test Case) Example: Model-Based Testing r1r1 r2r2 r3r3 r4r4 r5r5 r6r6 r7r7 r8r8 test model Test Suites  TS = {(r 1 r 2 ),(r 1 r 4 ),(r 3 r 7 r 8 ),(r 3 r 5 r 6 )}  TS ‘ = {(r 1 r 2 r 3 r 5 r 4 r 7 r 8 r 5 r 6 )}

ES – Real-Time Systems Lab 5 | | PLE Minimum Set Cover Problem Assumptions:  All Test Cases are relevant:  Each Requirement is satisfiable:

ES – Real-Time Systems Lab 6 | | PLE Cost/Profit Test Suite Optimization [Malishevsky et al. 2006, Xu et al. 2012, Rout et al. 2013] t1 r1 r2 r3 r4 r5 r6 t2 t3 t4 … Test Cases Test Requirements Adequate Test Suite Testing Profits p TS Testing Costs c TS +++++= +++= ≥ Profit Goal k p ≤ Cost Bound k c ∑=7 Minimal Test Suite ∑=8

ES – Real-Time Systems Lab 7 | | PLE Test Suite Profits p TS  TS = {(r 1 r 2 ),(r 1 r 4 ),(r 3 r 7 r 8 ),(r 3 r 5 r 6 )}  p TS =(2+1)+(2+1)+(2+2+4)+(2+2+1)=15  TS ‘ = {(r 1 r 2 r 3 r 5 r 4 r 7 r 8 r 5 r 6 )}  p TS =( )=15  TS ‘‘ = {(r 1 r 4 r 5 r 2 ),(r 3 r 7 )}  p TS =( )+(2+2)=10 TS ‘‘ is Adequate Test Suite for k p = 10 Example: Model-Based Testing with Costs/Profits Test Suite Costs c TS  TS = {(r 1 r 2 ),(r 1 r 4 ),(r 3 r 7 r 8 ),(r 3 r 5 r 6 )}  c TS = = 10  TS ‘ = {(r 1 r 2 r 3 r 5 r 4 r 7 r 8 r 5 r 6 )}  c TS = 9  TS ‘‘ = {(r 1 r 4 r 5 r 2 ),(r 3 r 7 )}  c TS = 5+2 = 7 r 1 (2) r 2 (1) r 3 (2) r 4 (1) r 5 (2 ) r 6 (1) r 7 (2 ) r 8 (4 ) Profits are counted once k p =10

ES – Real-Time Systems Lab 8 | | PLE Minimum Partial Weighted Set Cover Problem [Könemann et al., 2011]

ES – Real-Time Systems Lab 9 | | PLE Product Line Analysis

ES – Real-Time Systems Lab 10 | | PLE Sample-based Product Line Analysis [Cohen et al. 2006], [Gustafsson 2007], [Oster et al., 2010], [Perrouin et al, 2010], [Kim et al. 2011], [Johansen et al., 2012], [Henard et al., 2013], [Haslinger et al., 2013], ….

ES – Real-Time Systems Lab 11 | | PLE Family-based Product Line Analysis [Krishnamurti et al., 2006], [Gruler et al., 2010], [Classen et al. 2010], [Gnesi et al. 2011], [Cordy et al., 2013], …

ES – Real-Time Systems Lab 12 | | PLE Incremental Product Line Analysis [Batory et al. 2007], [Engström et al. 2011], [Lochau et al. 2012], …

ES – Real-Time Systems Lab 13 | | PLE T={t 1, …, t 15 }  t 7 =(r 1 r 6 r 8 r 7 )  t 8 =(r 1 r 4 r 5 r 2 )  t 11 =(r 1 r 4 r 7 )  t 12 =(r 9 r 10 r 8 )  t 13 =(r 3 r 11 )  t 14 =(r 1 r 4 r 11 )  t 15= (r 3 r 7 )} Family-based Product Line Test Suite Design  4 Product Variants r 1 (2) r 2 (1) r 3 (2) r 4 (1)r 5 (2) r 6 (1) r 7 (2) r 8 (4) r 9 (2) r 10 (2) r 11 (8)

ES – Real-Time Systems Lab 14 | | PLE Complete Minimal Product Line Test Suite [Cichos et al. 2011]

ES – Real-Time Systems Lab 15 | | PLE Constraint Minimum Set Cover Problem t1 r1 r2 r3 r4 r5 r6 t2 t3 t4 … Test Cases Test Requirements p1 Product Variants p2 p Product Costs/Profits pp TS Testing Costs Testing Profits ++ = ≥ Profit Goal k pp p TS ≥ k p rp TS ≥ k rp

ES – Real-Time Systems Lab 16 | | PLE Constraint (Minimum) Partial Weighted Set Cover Problem

ES – Real-Time Systems Lab 17 | | PLE Integer Linear Programming (ILP)

ES – Real-Time Systems Lab 18 | | PLE ILP for Product Line Test Suite Optimization Product p j selected  x j =1 Test Case t selected into TS  y t =1 Requirement r i satisfied  z i =1 Binary Variables pp TS Product selected  Requirements must be satisfied p j  select Test Case from Test Case Set NOT p j OR One Test Case from Test Case Set Product selected  Requirements must be satisfied p j  select Test Case from Test Case Set NOT p j OR One Test Case from Test Case Set t t p p For all Requirements (of a Product) For all Requirements (of a Product) Requirement satisfied  For all Products, a Test Case must be selected Again ( r i  Set)  (NOT r i OR Set) Requirement satisfied  For all Products, a Test Case must be selected Again ( r i  Set)  (NOT r i OR Set) r r t t Test Cases must be applied to a Product t t p p Priotization pp TS ≥ k pp  pp TS - Δ pp = k pp pp TS ≥ k pp c TS ≤ k c rp TS ≥ k rp Differences must not be negativ Normalization Value

ES – Real-Time Systems Lab 19 | | PLE Re-Formulation as Product Selection Problem  ILP finds Adequate Test Suite (if exists), but Problem is NP-hard  Another Point-of-View: Incremental Product Selection t1 r1 r2 r3 r4 r5 r6 t2 t3 t4 p1 p2 p3 rp TS c TS pp TS

ES – Real-Time Systems Lab 20 | | PLE Adequate Product Sub Set

ES – Real-Time Systems Lab 21 | | PLE Incremental Product Selection p1 p2 p3 p4 p1 p2 p3 p4 p5 p7 p6 p8 p9 p5 + + profit goals reached? select next product cost bounds exceeded? no adequate solution found

ES – Real-Time Systems Lab 22 | | PLE Product Selection Heuristic 1.Are Profit Goals reached? ( rp TS ≥ k rp and pp TS ≥ k pp ) 2.No: a. For each unselected Product i.While unsatisfied Requirements exist, select one:  With high profit and uniqueness/rareness  Select a satisfying Test Case :  With the ability to satisfy many other open Requirements for many other Products and low cost b.Rank Products and Select  By: Product profit, resulting Test Case costs, and Requirement profit (weighted) c.Recalculate pp TS, rp TS and c TS d.Is Test budget excelled ( c TS > k c ) i.Yes: “Error”  End e.Goto 1. 3.Yes: “Success”  End r r n n t t n n cf. [Harrold et al., 1993] cf. [Harrold et al., 1993] [Harrold et al., 1993] + Products [Harrold et al., 1993] + Products

ES – Real-Time Systems Lab 23 | | PLE Experimental Results  Varying:  Number of: Requirements, Test Cases, and Products  Mapping: Requirements/Test Cases and Test Cases/Products  Weights  In Total: 51 generated Data Sets  Time Limit: 24h t1 r1 r2 r3 r4 r5 r6 t2 t3 t4 p1 p2 p3 50, 100, and 500 Test Cases 50, 100, and 500 Products 50, 100, and 500 Requirements Mean and Variance -/o/+ Heuristic is 21.5 times faster 68.6% less accuracy Efficency improvement factor:

ES – Real-Time Systems Lab 24 | | PLE Discussion & Future Work Summary  Heuristic produces useful results and scales  Feasible tradeoff between accuracy and efficiency Ongoing and Future Work  Backtracking if bounds are exceeded  Search-based optimization techniques  Methods and criteria to find appropriate weights and bounds  Beyond ILP:  Dynamic weight function,  On-the-fly generation of test artifacts, …  Application to Real-World Case Studies

ES – Real-Time Systems Lab 25 | | PLE Industrial Case Study: Heidelberg Ion-Beam Therapy Center  DCU Case Study for Beam Cycle Creation  Complex Automation Engineering Software  Highly-Configurable and Runtime Adaptive  Re-Engineered as (D)SPL  ~ 200 Features (Boolean and Non-Boolean)  150% Test Model ~ 640 Transitions  SPL Implementation in C ~ LOC Treatment Rooms Gantry DCU-Z DCU-R DCU-P

ES – Real-Time Systems Lab 26 | | PLE Model-Driven Development of DCU Code Parameters + User Data.h Hand-written ECA Code.c.h + States Transition Trigger.h Automata Stubs.c insert deploy generate SFT

ES – Real-Time Systems Lab 27 | | PLE DCU SPL Test Model Specification 150% SFT +

ES – Real-Time Systems Lab 28 | | PLE Thank Your For Your Attention! Integrated Model-based Testing of Continuously Evolving Software Product Lines Multi-Mechanismen Adaption für das künftige Internet