SlideShare une entreprise Scribd logo
1  sur  22
Télécharger pour lire hors ligne
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development and Market
Introduction of Advanced Information and Communication
Technologies
PETRI NET BASED
TRAJECTORY OPTIMIZATION
Ákos Hajdu, Róbert Német,
Szilvia Varró-Gyapay, András Vörös
VOCAL 2014, Veszprém, Hungary, 16.12.2014.
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
OUTLINE OF THE TALK
1. Introduction
2. The CEGAR approach on Petri nets
3. Trajectory optimization using CEGAR
4. Evaluation
5. Conclusions
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
OUTLINE OF THE TALK
1. Introduction
2. The CEGAR approach on Petri nets
3. Trajectory optimization using CEGAR
4. Evaluation
5. Conclusions
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
INTRODUCTION
Petri Nets
• Information systems are becoming more complex
– Modeling and automatic analysis is important
• Modeling: Petri Nets
– Widely used modeling formalism
• Asynchronous, distributed, parallel,
non-deterministic systems
– Behavior: possible states and transitions
– Optimization problems
• Optimal trajectory from the initial state
to a given goal state
• Reachability analysis
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
INTRODUCTION
Reachability analysis
• Reachability analysis
– Checks, if a given state is reachable from the initial state
– m1 ∈ R(PN, m0)  „Is m1 reachable from m0 in the Petri net PN?”
– Drawback: complexity
• Complexity
– State space can be large or infinite
– Reachability is decidable, but at least EXPSPACE-hard
– No upper bound is known
– A possible solution is to use abstraction
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
INTRODUCTION
The CEGAR approach
• CounterExample Guided Abstraction Refinement
– General approach
• Can handle large or infinite state spaces
– Works on an abstraction of the original model
• Less detailed state space
• Finite, smaller representation
– Abstraction refinement is required
• An action in the abstract model may not be realizable in the original
model
• Refine the abstraction using the information from the explored part
of the state space
– H. Wimmel, K. Wolf
• Applying CEGAR to the Petri Net State Equation (2011)
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
OUTLINE OF THE TALK
1. Introduction
2. The CEGAR approach on Petri nets
3. Trajectory optimization using CEGAR
4. Evaluation
5. Conclusions
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
CEGAR APPROACH ON PETRI NETS
Initial abstraction
• Abstraction of Petri nets: state equation
m0 + Cx = m1
Initial
abstraction
Reachability
problem
State
equation
Initial state Target state
Firing count
of transitions
(unknown)
Incidence matrix
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
CEGAR APPROACH ON PETRI NETS
Analysis of the abstract model
• Solving the state equation for the
firing count of transitions
• Integer Linear Programming problem
• Necessary, but not sufficient criterion for reachability
Initial
abstraction
Reachability
problem
State
equation Analysis of the
abstract model
Not reachable
No solution
m0 + Cx = m1
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
CEGAR APPROACH ON PETRI NETS
Examining the solution
• Bounded exploration of the state space
– Try to fire the transitions in some order
Initial
abstraction
Analysis of the
abstract modelReachability
problem
State
equation
Not reachable
No solution
Examine the
solution
Reachable
Solution
Realizable
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
CEGAR APPROACH ON PETRI NETS
Abstraction refinement
• Exclude the counterexample without
losing any realizable solution
• Constraints can be added to the state equation
– The state equation may become infeasible
– A new solution can be obtained
• Traversing the solution space instead of the state space
Initial
abstraction
Analysis of the
abstract model
Examine the
solutionReachability
problem
State
equation
Not reachable Reachable
No solution
Solution
Realizable
Refine the
abstraction Not realizableConstraints
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
CEGAR APPROACH ON PETRI NETS
Solution space
• Semi-linear space
– Base solutions
– T-invariants
• Solutions of the homogenous part Cy = 0
• Possible cycles in the Petri Net
• Two types of constraints
– Jump: switch between base solutions
– Increment: reach non-base solutions
Initial
abstraction
Analysis of the
abstract model
Examine the
solutionReachability
problem
State
equation
Not reachable Reachable
No solution
Solution
Realizable
Refine the
abstraction Not realizableConstraints
m0 + Cx = m1
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
OUTLINE OF THE TALK
1. Introduction
2. The CEGAR approach on Petri nets
3. Trajectory optimization using CEGAR
4. Evaluation
5. Conclusions
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
TRAJECTORY OPTIMIZATION
Extensions to the CEGAR approach
• Our previous work
– Analyzing the algorithm
• Correctness
• Completeness
– Extending the set of decidable problems
– New optimizations
• Current work
– Trajectory optimization using CEGAR
• Assigning costs to transitions
• New strategy for the solution space traversal
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
TRAJECTORY OPTIMIZATION
Assigning costs to transitions
• Core of the CEGAR approach: state equation
– ILP problem
– ILP solver minimizes a function over the variables
– Variables are transitions in our case
• Original algorithm
– Verification purpose  Is there a soluton or not?
– Equal cost for each transition  shortest trajectories
• Our new approach
– Optimization purpose  What is the optimal solution?
– Arbitrary cost for transitions
– ILP solver minimizes using the given cost
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
TRAJECTORY OPTIMIZATION
New solution space traversal strategy
• Traversing the solution space of the state equation
• Original algorithm
– Verification purpose  Is there a soluton or not?
– Fast convergence  DFS
• Our new approach
– Optimization purpose  What is the optimal solution?
– Store the solutions in a sorted queue
– Continue with the one with the lowest cost
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
PSEUDO CODE
Input: Reachability problem m1 ∈ R(PN, m0) and cost function z
Output: Trajectory σ or „Not reachable”
1. C  incidence matrix of PN
2. Q  SolveILP(m0, m1, C, z, ∅)
3. while Q ≠ ∅ do
4. | x  solution from Q minimizing z∙x
5. | if x is realizable then stop and output σ for x
6. | else
7. | | foreach jump and increment constraint c’ do
8. | | | Q  SolveILP(m0, m1, C, z, {constraints of x} ∪ {c’})
9. | | end foreach
10. | end else
11. end while
12. Output „Not reachable”
Initial abstraction
Examine solution
Analysis of the abstract model
Refine abstraction
Rechable
Not reachable
Analysis of the abstract model
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
OUTLINE OF THE TALK
1. Introduction
2. The CEGAR approach on Petri nets
3. Trajectory optimization using CEGAR
4. Evaluation
5. Conclusions
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
EVALUATION
• Implementation
– PetriDotNet framework
• Modeling and analysis of Petri nets
• Supports add-ins
• Measurements
– Traveling salesman problem
• Graph traversal optimization
• NP-complete
Number of nodes Runtime (s)
4 0,04
6 0,14
8 0,66
9 0,90
10 1,95
11 9,49
12 24,57
13 1067,00
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
OUTLINE OF THE TALK
1. Introduction
2. The CEGAR approach on Petri nets
3. Trajectory optimization using CEGAR
4. Evaluation
5. Conclusions
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development
and Market Introduction of Advanced
Information and Communication
Technologies
CONCLUSIONS
• New approach for the optimal trajectory problem
– Translation to the reachability of Petri nets
– Solving reachability using CEGAR
• Handle transition costs
• New strategy for solution space traversal
• Implementation and evaluation
• Possible future direction
– Optimization of continuous systems
TÁMOP-4.2.2.C-11/1/KONV-2012-0004
National Research Center for Development and Market
Introduction of Advanced Information and Communication
Technologies
THANK YOU FOR YOUR ATTENTION!
QUESTIONS?
hajduakos182@gmail.com; vori@mit.bme.hu
https://inf.mit.bme.hu/en/research/tools/petridotnet

Contenu connexe

En vedette

Roberson_UHD_completedMS-transcript
Roberson_UHD_completedMS-transcriptRoberson_UHD_completedMS-transcript
Roberson_UHD_completedMS-transcript
Eric Roberson
 
Antalis Guide for Pulp and Paper Production.pdf
Antalis Guide for Pulp and Paper Production.pdfAntalis Guide for Pulp and Paper Production.pdf
Antalis Guide for Pulp and Paper Production.pdf
Matthew Botfield
 
Curriculum_vitae[1]_(1)
Curriculum_vitae[1]_(1)Curriculum_vitae[1]_(1)
Curriculum_vitae[1]_(1)
Anett Kelemen
 
Jun's Presentation
Jun's PresentationJun's Presentation
Jun's Presentation
Jun Jiang
 
500225_AWC Newsletter_Volume 3_FINAL_7-1-14
500225_AWC Newsletter_Volume 3_FINAL_7-1-14500225_AWC Newsletter_Volume 3_FINAL_7-1-14
500225_AWC Newsletter_Volume 3_FINAL_7-1-14
Shawn Groth
 

En vedette (18)

Roberson_UHD_completedMS-transcript
Roberson_UHD_completedMS-transcriptRoberson_UHD_completedMS-transcript
Roberson_UHD_completedMS-transcript
 
Trabajo practico n° 3
Trabajo practico n° 3Trabajo practico n° 3
Trabajo practico n° 3
 
Master mx 44ª edicion
Master mx 44ª edicionMaster mx 44ª edicion
Master mx 44ª edicion
 
DCHQ
DCHQDCHQ
DCHQ
 
My curriculum
My curriculumMy curriculum
My curriculum
 
Кейс по мониторингу образования
Кейс по мониторингу образованияКейс по мониторингу образования
Кейс по мониторингу образования
 
High quality afterschool_programs
High quality afterschool_programsHigh quality afterschool_programs
High quality afterschool_programs
 
Antalis Guide for Pulp and Paper Production.pdf
Antalis Guide for Pulp and Paper Production.pdfAntalis Guide for Pulp and Paper Production.pdf
Antalis Guide for Pulp and Paper Production.pdf
 
Curriculum_vitae[1]_(1)
Curriculum_vitae[1]_(1)Curriculum_vitae[1]_(1)
Curriculum_vitae[1]_(1)
 
Finding The Right Cosmetic Dental Services for You
Finding The Right Cosmetic Dental Services for YouFinding The Right Cosmetic Dental Services for You
Finding The Right Cosmetic Dental Services for You
 
Jun's Presentation
Jun's PresentationJun's Presentation
Jun's Presentation
 
500225_AWC Newsletter_Volume 3_FINAL_7-1-14
500225_AWC Newsletter_Volume 3_FINAL_7-1-14500225_AWC Newsletter_Volume 3_FINAL_7-1-14
500225_AWC Newsletter_Volume 3_FINAL_7-1-14
 
Diploma
DiplomaDiploma
Diploma
 
Blacks Island
Blacks IslandBlacks Island
Blacks Island
 
Eric alrasid powerpoint upload
Eric alrasid powerpoint  uploadEric alrasid powerpoint  upload
Eric alrasid powerpoint upload
 
Personal Statement Power Point
Personal Statement Power PointPersonal Statement Power Point
Personal Statement Power Point
 
Corporate Insurance Management
Corporate Insurance ManagementCorporate Insurance Management
Corporate Insurance Management
 
Electronic cigarettes
Electronic cigarettesElectronic cigarettes
Electronic cigarettes
 

Similaire à Petri Net Based Trajectory Optimization

Qo s based mac protocol for medical wireless body area sensor networks
Qo s based mac protocol for medical wireless body area sensor networksQo s based mac protocol for medical wireless body area sensor networks
Qo s based mac protocol for medical wireless body area sensor networks
Iffat Anjum
 
Jawad Ali Khan
Jawad Ali KhanJawad Ali Khan
Jawad Ali Khan
Jawad Khan
 

Similaire à Petri Net Based Trajectory Optimization (20)

Overview of the FlexPlan project. Focus on EU regulatory analysis and TSO-DSO...
Overview of the FlexPlan project. Focus on EU regulatory analysis and TSO-DSO...Overview of the FlexPlan project. Focus on EU regulatory analysis and TSO-DSO...
Overview of the FlexPlan project. Focus on EU regulatory analysis and TSO-DSO...
 
Licentiate Presentation
Licentiate PresentationLicentiate Presentation
Licentiate Presentation
 
7th sem open elective list and syllabus
7th sem open elective list and syllabus7th sem open elective list and syllabus
7th sem open elective list and syllabus
 
Real time traffic management - challenges and solutions
Real time traffic management - challenges and solutionsReal time traffic management - challenges and solutions
Real time traffic management - challenges and solutions
 
Qo s based mac protocol for medical wireless body area sensor networks
Qo s based mac protocol for medical wireless body area sensor networksQo s based mac protocol for medical wireless body area sensor networks
Qo s based mac protocol for medical wireless body area sensor networks
 
Dubey Kaushalchandra resume
Dubey Kaushalchandra resumeDubey Kaushalchandra resume
Dubey Kaushalchandra resume
 
Jawad Ali Khan
Jawad Ali KhanJawad Ali Khan
Jawad Ali Khan
 
IRJET- High Speed Multi-Rate Approach based Adaptive Filter using Multiplier-...
IRJET- High Speed Multi-Rate Approach based Adaptive Filter using Multiplier-...IRJET- High Speed Multi-Rate Approach based Adaptive Filter using Multiplier-...
IRJET- High Speed Multi-Rate Approach based Adaptive Filter using Multiplier-...
 
Low Power High-Performance Computing on the BeagleBoard Platform
Low Power High-Performance Computing on the BeagleBoard PlatformLow Power High-Performance Computing on the BeagleBoard Platform
Low Power High-Performance Computing on the BeagleBoard Platform
 
Satellite ground station
Satellite ground stationSatellite ground station
Satellite ground station
 
Technology roadmap highlights_report 2015
Technology roadmap highlights_report 2015Technology roadmap highlights_report 2015
Technology roadmap highlights_report 2015
 
Solutions and Protocolos for Vehicles Accident Notifications Using IoT
Solutions and Protocolos for Vehicles Accident Notifications Using IoTSolutions and Protocolos for Vehicles Accident Notifications Using IoT
Solutions and Protocolos for Vehicles Accident Notifications Using IoT
 
A detection technique of signal in mimo system
A detection technique of signal in mimo systemA detection technique of signal in mimo system
A detection technique of signal in mimo system
 
A detection technique of signal in mimo system
A detection technique of signal in mimo systemA detection technique of signal in mimo system
A detection technique of signal in mimo system
 
DCCN 2016 - Tutorial 3 - QoS for D2D
DCCN 2016 - Tutorial 3 - QoS for D2DDCCN 2016 - Tutorial 3 - QoS for D2D
DCCN 2016 - Tutorial 3 - QoS for D2D
 
Profile tulasi v1.1
Profile tulasi v1.1Profile tulasi v1.1
Profile tulasi v1.1
 
IT6511 Networks Laboratory
IT6511 Networks LaboratoryIT6511 Networks Laboratory
IT6511 Networks Laboratory
 
Grant free IoT, Ericsson Research Presentation
Grant free IoT, Ericsson Research PresentationGrant free IoT, Ericsson Research Presentation
Grant free IoT, Ericsson Research Presentation
 
Vehicular Ad-hoc network (VANET)
Vehicular Ad-hoc network (VANET)Vehicular Ad-hoc network (VANET)
Vehicular Ad-hoc network (VANET)
 
Impacto del 5G en los seres humanos
Impacto del 5G en los seres humanosImpacto del 5G en los seres humanos
Impacto del 5G en los seres humanos
 

Plus de Akos Hajdu

Plus de Akos Hajdu (10)

solc-verify: A Modular Verifier for Solidity Smart Contracts
solc-verify: A Modular Verifier for Solidity Smart Contractssolc-verify: A Modular Verifier for Solidity Smart Contracts
solc-verify: A Modular Verifier for Solidity Smart Contracts
 
Software Verification with Abstraction-Based Methods
Software Verification with Abstraction-Based MethodsSoftware Verification with Abstraction-Based Methods
Software Verification with Abstraction-Based Methods
 
A Preliminary Analysis on the Effect of Randomness in a CEGAR Framework
 A Preliminary Analysis on the Effect of Randomness in a CEGAR Framework A Preliminary Analysis on the Effect of Randomness in a CEGAR Framework
A Preliminary Analysis on the Effect of Randomness in a CEGAR Framework
 
Theta: a Framework for Abstraction Refinement-Based Model Checking
Theta: a Framework for Abstraction Refinement-Based Model CheckingTheta: a Framework for Abstraction Refinement-Based Model Checking
Theta: a Framework for Abstraction Refinement-Based Model Checking
 
Towards Evaluating Size Reduction Techniques for Software Model Checking
Towards Evaluating Size Reduction Techniques for Software Model CheckingTowards Evaluating Size Reduction Techniques for Software Model Checking
Towards Evaluating Size Reduction Techniques for Software Model Checking
 
Exploiting Hierarchy in the Abstraction-Based Verification of Statecharts Usi...
Exploiting Hierarchy in the Abstraction-Based Verification of Statecharts Usi...Exploiting Hierarchy in the Abstraction-Based Verification of Statecharts Usi...
Exploiting Hierarchy in the Abstraction-Based Verification of Statecharts Usi...
 
Exploratory Analysis of the Performance of a Configurable CEGAR Framework
Exploratory Analysis of the Performance of a Configurable CEGAR FrameworkExploratory Analysis of the Performance of a Configurable CEGAR Framework
Exploratory Analysis of the Performance of a Configurable CEGAR Framework
 
A Configurable CEGAR Framework with Interpolation-Based Refinements
A Configurable CEGAR Framework with Interpolation-Based RefinementsA Configurable CEGAR Framework with Interpolation-Based Refinements
A Configurable CEGAR Framework with Interpolation-Based Refinements
 
Extensions to the CEGAR Approach on Petri Nets
Extensions to the CEGAR Approach on Petri NetsExtensions to the CEGAR Approach on Petri Nets
Extensions to the CEGAR Approach on Petri Nets
 
New Search Strategies for the Petri Net CEGAR Approach
New Search Strategies for the Petri Net CEGAR ApproachNew Search Strategies for the Petri Net CEGAR Approach
New Search Strategies for the Petri Net CEGAR Approach
 

Dernier

biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
1301aanya
 
LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.
Silpa
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.
Silpa
 
CYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptxCYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptx
Silpa
 
Phenolics: types, biosynthesis and functions.
Phenolics: types, biosynthesis and functions.Phenolics: types, biosynthesis and functions.
Phenolics: types, biosynthesis and functions.
Silpa
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virus
NazaninKarimi6
 

Dernier (20)

Use of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptxUse of mutants in understanding seedling development.pptx
Use of mutants in understanding seedling development.pptx
 
biology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGYbiology HL practice questions IB BIOLOGY
biology HL practice questions IB BIOLOGY
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
 
Genome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptxGenome sequencing,shotgun sequencing.pptx
Genome sequencing,shotgun sequencing.pptx
 
module for grade 9 for distance learning
module for grade 9 for distance learningmodule for grade 9 for distance learning
module for grade 9 for distance learning
 
LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.LUNULARIA -features, morphology, anatomy ,reproduction etc.
LUNULARIA -features, morphology, anatomy ,reproduction etc.
 
Dr. E. Muralinath_ Blood indices_clinical aspects
Dr. E. Muralinath_ Blood indices_clinical  aspectsDr. E. Muralinath_ Blood indices_clinical  aspects
Dr. E. Muralinath_ Blood indices_clinical aspects
 
Genetics and epigenetics of ADHD and comorbid conditions
Genetics and epigenetics of ADHD and comorbid conditionsGenetics and epigenetics of ADHD and comorbid conditions
Genetics and epigenetics of ADHD and comorbid conditions
 
Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.Porella : features, morphology, anatomy, reproduction etc.
Porella : features, morphology, anatomy, reproduction etc.
 
CYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptxCYTOGENETIC MAP................ ppt.pptx
CYTOGENETIC MAP................ ppt.pptx
 
300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx300003-World Science Day For Peace And Development.pptx
300003-World Science Day For Peace And Development.pptx
 
GBSN - Microbiology (Unit 3)Defense Mechanism of the body
GBSN - Microbiology (Unit 3)Defense Mechanism of the body GBSN - Microbiology (Unit 3)Defense Mechanism of the body
GBSN - Microbiology (Unit 3)Defense Mechanism of the body
 
Phenolics: types, biosynthesis and functions.
Phenolics: types, biosynthesis and functions.Phenolics: types, biosynthesis and functions.
Phenolics: types, biosynthesis and functions.
 
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
Human & Veterinary Respiratory Physilogy_DR.E.Muralinath_Associate Professor....
 
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIACURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
CURRENT SCENARIO OF POULTRY PRODUCTION IN INDIA
 
Role of AI in seed science Predictive modelling and Beyond.pptx
Role of AI in seed science  Predictive modelling and  Beyond.pptxRole of AI in seed science  Predictive modelling and  Beyond.pptx
Role of AI in seed science Predictive modelling and Beyond.pptx
 
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICEPATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
PATNA CALL GIRLS 8617370543 LOW PRICE ESCORT SERVICE
 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdf
 
development of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virusdevelopment of diagnostic enzyme assay to detect leuser virus
development of diagnostic enzyme assay to detect leuser virus
 
Atp synthase , Atp synthase complex 1 to 4.
Atp synthase , Atp synthase complex 1 to 4.Atp synthase , Atp synthase complex 1 to 4.
Atp synthase , Atp synthase complex 1 to 4.
 

Petri Net Based Trajectory Optimization

  • 1. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies PETRI NET BASED TRAJECTORY OPTIMIZATION Ákos Hajdu, Róbert Német, Szilvia Varró-Gyapay, András Vörös VOCAL 2014, Veszprém, Hungary, 16.12.2014.
  • 2. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies OUTLINE OF THE TALK 1. Introduction 2. The CEGAR approach on Petri nets 3. Trajectory optimization using CEGAR 4. Evaluation 5. Conclusions
  • 3. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies OUTLINE OF THE TALK 1. Introduction 2. The CEGAR approach on Petri nets 3. Trajectory optimization using CEGAR 4. Evaluation 5. Conclusions
  • 4. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies INTRODUCTION Petri Nets • Information systems are becoming more complex – Modeling and automatic analysis is important • Modeling: Petri Nets – Widely used modeling formalism • Asynchronous, distributed, parallel, non-deterministic systems – Behavior: possible states and transitions – Optimization problems • Optimal trajectory from the initial state to a given goal state • Reachability analysis
  • 5. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies INTRODUCTION Reachability analysis • Reachability analysis – Checks, if a given state is reachable from the initial state – m1 ∈ R(PN, m0)  „Is m1 reachable from m0 in the Petri net PN?” – Drawback: complexity • Complexity – State space can be large or infinite – Reachability is decidable, but at least EXPSPACE-hard – No upper bound is known – A possible solution is to use abstraction
  • 6. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies INTRODUCTION The CEGAR approach • CounterExample Guided Abstraction Refinement – General approach • Can handle large or infinite state spaces – Works on an abstraction of the original model • Less detailed state space • Finite, smaller representation – Abstraction refinement is required • An action in the abstract model may not be realizable in the original model • Refine the abstraction using the information from the explored part of the state space – H. Wimmel, K. Wolf • Applying CEGAR to the Petri Net State Equation (2011)
  • 7. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies OUTLINE OF THE TALK 1. Introduction 2. The CEGAR approach on Petri nets 3. Trajectory optimization using CEGAR 4. Evaluation 5. Conclusions
  • 8. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies CEGAR APPROACH ON PETRI NETS Initial abstraction • Abstraction of Petri nets: state equation m0 + Cx = m1 Initial abstraction Reachability problem State equation Initial state Target state Firing count of transitions (unknown) Incidence matrix
  • 9. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies CEGAR APPROACH ON PETRI NETS Analysis of the abstract model • Solving the state equation for the firing count of transitions • Integer Linear Programming problem • Necessary, but not sufficient criterion for reachability Initial abstraction Reachability problem State equation Analysis of the abstract model Not reachable No solution m0 + Cx = m1
  • 10. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies CEGAR APPROACH ON PETRI NETS Examining the solution • Bounded exploration of the state space – Try to fire the transitions in some order Initial abstraction Analysis of the abstract modelReachability problem State equation Not reachable No solution Examine the solution Reachable Solution Realizable
  • 11. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies CEGAR APPROACH ON PETRI NETS Abstraction refinement • Exclude the counterexample without losing any realizable solution • Constraints can be added to the state equation – The state equation may become infeasible – A new solution can be obtained • Traversing the solution space instead of the state space Initial abstraction Analysis of the abstract model Examine the solutionReachability problem State equation Not reachable Reachable No solution Solution Realizable Refine the abstraction Not realizableConstraints
  • 12. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies CEGAR APPROACH ON PETRI NETS Solution space • Semi-linear space – Base solutions – T-invariants • Solutions of the homogenous part Cy = 0 • Possible cycles in the Petri Net • Two types of constraints – Jump: switch between base solutions – Increment: reach non-base solutions Initial abstraction Analysis of the abstract model Examine the solutionReachability problem State equation Not reachable Reachable No solution Solution Realizable Refine the abstraction Not realizableConstraints m0 + Cx = m1
  • 13. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies OUTLINE OF THE TALK 1. Introduction 2. The CEGAR approach on Petri nets 3. Trajectory optimization using CEGAR 4. Evaluation 5. Conclusions
  • 14. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies TRAJECTORY OPTIMIZATION Extensions to the CEGAR approach • Our previous work – Analyzing the algorithm • Correctness • Completeness – Extending the set of decidable problems – New optimizations • Current work – Trajectory optimization using CEGAR • Assigning costs to transitions • New strategy for the solution space traversal
  • 15. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies TRAJECTORY OPTIMIZATION Assigning costs to transitions • Core of the CEGAR approach: state equation – ILP problem – ILP solver minimizes a function over the variables – Variables are transitions in our case • Original algorithm – Verification purpose  Is there a soluton or not? – Equal cost for each transition  shortest trajectories • Our new approach – Optimization purpose  What is the optimal solution? – Arbitrary cost for transitions – ILP solver minimizes using the given cost
  • 16. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies TRAJECTORY OPTIMIZATION New solution space traversal strategy • Traversing the solution space of the state equation • Original algorithm – Verification purpose  Is there a soluton or not? – Fast convergence  DFS • Our new approach – Optimization purpose  What is the optimal solution? – Store the solutions in a sorted queue – Continue with the one with the lowest cost
  • 17. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies PSEUDO CODE Input: Reachability problem m1 ∈ R(PN, m0) and cost function z Output: Trajectory σ or „Not reachable” 1. C  incidence matrix of PN 2. Q  SolveILP(m0, m1, C, z, ∅) 3. while Q ≠ ∅ do 4. | x  solution from Q minimizing z∙x 5. | if x is realizable then stop and output σ for x 6. | else 7. | | foreach jump and increment constraint c’ do 8. | | | Q  SolveILP(m0, m1, C, z, {constraints of x} ∪ {c’}) 9. | | end foreach 10. | end else 11. end while 12. Output „Not reachable” Initial abstraction Examine solution Analysis of the abstract model Refine abstraction Rechable Not reachable Analysis of the abstract model
  • 18. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies OUTLINE OF THE TALK 1. Introduction 2. The CEGAR approach on Petri nets 3. Trajectory optimization using CEGAR 4. Evaluation 5. Conclusions
  • 19. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies EVALUATION • Implementation – PetriDotNet framework • Modeling and analysis of Petri nets • Supports add-ins • Measurements – Traveling salesman problem • Graph traversal optimization • NP-complete Number of nodes Runtime (s) 4 0,04 6 0,14 8 0,66 9 0,90 10 1,95 11 9,49 12 24,57 13 1067,00
  • 20. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies OUTLINE OF THE TALK 1. Introduction 2. The CEGAR approach on Petri nets 3. Trajectory optimization using CEGAR 4. Evaluation 5. Conclusions
  • 21. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies CONCLUSIONS • New approach for the optimal trajectory problem – Translation to the reachability of Petri nets – Solving reachability using CEGAR • Handle transition costs • New strategy for solution space traversal • Implementation and evaluation • Possible future direction – Optimization of continuous systems
  • 22. TÁMOP-4.2.2.C-11/1/KONV-2012-0004 National Research Center for Development and Market Introduction of Advanced Information and Communication Technologies THANK YOU FOR YOUR ATTENTION! QUESTIONS? hajduakos182@gmail.com; vori@mit.bme.hu https://inf.mit.bme.hu/en/research/tools/petridotnet