SlideShare une entreprise Scribd logo
1  sur  11
By: Mohammad Khosravi , Reza Ramezani
To: Dr Moosavi
1
Electronic & Computer Department
Isfahan University Of Technology
 Input:
given a list of clauses C1, . . . ,Cm
 Output:
the maximum number of clauses which
satisfied.
 Unit Propagation (UP) algorithm use for
compute LB when we have at least one unit
clause, otherwise we will use Failed literal
detection.
2
 Let 1 be the Max-SAT instance
{x1, x2, x3,¬x1 x4,¬x1 x5,¬x4 ¬x5,¬x1 ¬x2 ¬x3, x1 ¬x2}
Q = [x1, x2, x3]
 x1 propagate
{ x2, x3, x4, x5,¬x4 ¬x5, ¬x2 ¬x3}
Q = [x2,x3,x4,x5]
 x2 propagate
{x3, x4, x5,¬x4 ¬x5,¬x3}
Q =[x3, x4, x5,¬x3]
3
 x3 propagate
{#,x4, x5,¬x4 ¬x5}
Inconsistent subformula detected
by UP is {x1, x2, x3,¬x1 ¬x2 ¬x3}
The remaining clauses {¬x1 x4,¬x1 x5,¬x4 ¬x5, x1 ¬x2}
4
{x1, x2, x3,¬x1 x4,¬x1 x5,¬x4 ¬x5,¬x1 ¬x2 ¬x3, x1
¬x2}
Q1 = [x1, x2, x3]
 x1 propagate
Q1 = [ x2, x3]
{ x2, x3, x4, x5,¬x4 ¬x5, ¬x2 ¬x3}
Q2 = [x4, x5]
 x4 propagate
Q2 = [x5,¬x5]
 x5 propagate
5
 Inconsistent subformula : {x1,¬x1 x4,¬x1 x5,¬x4
¬x5}
 remaining clauses:
{x2, x3,¬x1 ¬x2 ¬x3, x1 ¬x2}
Q1 = [x2, x3]
 x2 propagate
{x3,¬x1 ¬x3, x1 }
Q1 = [x3]
Q2 = [x1]
 x1 propagate
6
{x3, ¬x3 }
Q2 = [¬x3 ]
 inconsistent subformula : {x2, x3,¬x1 ¬x2 ¬x3, x1 ¬x2}.
7
P={#,#, y ¬x,¬y z,¬y ¬z, y x}
 P U {x},with UP
 inconsistent subformula 1 = {x, y ¬x,¬y z,¬y ¬z},
P U {¬ x}, with UP inconsistent
 Subformula 2= {¬x,¬y z,¬y ¬z, y x}
 Final incosistant subformula=(1 U 2) {x,¬x} = {y
¬x,¬y z,¬y ¬z, y x}
 We can use FL whit UP & UP*
8
Solutions for solving maxsat efficiency:
Rules
Unit Propagation
Failed Literal Detection
Selecting variables for propagation
Data Structure
9
Each variable order computed from:
 Binary-Length with two value.
 Unit-Length with one value.
 Total-Length that contain the number of clauses that
variable occurs.
 W(i) is sum of all above weights.
 This weight will calculate for Var(i) and Var(-i).
 Final Variable’s weight is W(i) + W(-i)
 Each Variable with higher weight with select earlier for
propagation
10
Each variable order computed from:
 Binary-Length with three value.
 Unit-Length with two value.
 Third-Length with one value.
 Total-Length that contain the number of clauses that
variable occurs.
AKMax-Sat solver ReCompute this weights at each
level, such as: propagate variable, remove variable and
restore variable.
11

Contenu connexe

Tendances

False Point Method / Regula falsi method
False Point Method / Regula falsi methodFalse Point Method / Regula falsi method
False Point Method / Regula falsi methodNasima Akhtar
 
Regulafalsi_bydinesh
Regulafalsi_bydineshRegulafalsi_bydinesh
Regulafalsi_bydineshDinesh Kumar
 
Quotient of polynomial using (Synthetic Division) and Zeros of Polynomial Fu...
Quotient of polynomial using (Synthetic Division) and Zeros of Polynomial  Fu...Quotient of polynomial using (Synthetic Division) and Zeros of Polynomial  Fu...
Quotient of polynomial using (Synthetic Division) and Zeros of Polynomial Fu...magnesium121
 
1 5 graphs of functions
1 5 graphs of functions1 5 graphs of functions
1 5 graphs of functionsAlaina Wright
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equationsRifat Rahamatullah
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson methodMOHIT AGARWAL
 
Complexity and Order: Modelling Functions with Mixed Order Hyper-Networks
Complexity and Order: Modelling Functions with Mixed Order Hyper-NetworksComplexity and Order: Modelling Functions with Mixed Order Hyper-Networks
Complexity and Order: Modelling Functions with Mixed Order Hyper-NetworksKevin Swingler
 
Statistics Powerpoint Standard Dev.
Statistics Powerpoint Standard Dev.Statistics Powerpoint Standard Dev.
Statistics Powerpoint Standard Dev.arm74
 
Bwm21403 mathematics iv assignments
Bwm21403 mathematics iv assignmentsBwm21403 mathematics iv assignments
Bwm21403 mathematics iv assignmentsAzalina Harun
 
Applied numerical methods lec4
Applied numerical methods lec4Applied numerical methods lec4
Applied numerical methods lec4Yasser Ahmed
 

Tendances (20)

False Point Method / Regula falsi method
False Point Method / Regula falsi methodFalse Point Method / Regula falsi method
False Point Method / Regula falsi method
 
Bisection
BisectionBisection
Bisection
 
Poisson distribution jen
Poisson distribution jenPoisson distribution jen
Poisson distribution jen
 
Regulafalsi_bydinesh
Regulafalsi_bydineshRegulafalsi_bydinesh
Regulafalsi_bydinesh
 
Quotient of polynomial using (Synthetic Division) and Zeros of Polynomial Fu...
Quotient of polynomial using (Synthetic Division) and Zeros of Polynomial  Fu...Quotient of polynomial using (Synthetic Division) and Zeros of Polynomial  Fu...
Quotient of polynomial using (Synthetic Division) and Zeros of Polynomial Fu...
 
1 5 graphs of functions
1 5 graphs of functions1 5 graphs of functions
1 5 graphs of functions
 
Presentation on Solution to non linear equations
Presentation on Solution to non linear equationsPresentation on Solution to non linear equations
Presentation on Solution to non linear equations
 
Es272 ch5b
Es272 ch5bEs272 ch5b
Es272 ch5b
 
Newton raphson method
Newton raphson methodNewton raphson method
Newton raphson method
 
Bisection and fixed point method
Bisection and fixed point methodBisection and fixed point method
Bisection and fixed point method
 
Es272 ch3a
Es272 ch3aEs272 ch3a
Es272 ch3a
 
Bisection
BisectionBisection
Bisection
 
Complexity and Order: Modelling Functions with Mixed Order Hyper-Networks
Complexity and Order: Modelling Functions with Mixed Order Hyper-NetworksComplexity and Order: Modelling Functions with Mixed Order Hyper-Networks
Complexity and Order: Modelling Functions with Mixed Order Hyper-Networks
 
Statistics Powerpoint Standard Dev.
Statistics Powerpoint Standard Dev.Statistics Powerpoint Standard Dev.
Statistics Powerpoint Standard Dev.
 
Bisection method
Bisection methodBisection method
Bisection method
 
Iterative1
Iterative1Iterative1
Iterative1
 
Bwm21403 mathematics iv assignments
Bwm21403 mathematics iv assignmentsBwm21403 mathematics iv assignments
Bwm21403 mathematics iv assignments
 
Applied numerical methods lec4
Applied numerical methods lec4Applied numerical methods lec4
Applied numerical methods lec4
 
Numerical Method
Numerical MethodNumerical Method
Numerical Method
 
Ml presentation
Ml presentationMl presentation
Ml presentation
 

Similaire à Max-SAT algorithm using unit propagation and failed literal detection

Open GL T0074 56 sm2
Open GL T0074 56 sm2Open GL T0074 56 sm2
Open GL T0074 56 sm2Roziq Bahtiar
 
Concentration inequality in Machine Learning
Concentration inequality in Machine LearningConcentration inequality in Machine Learning
Concentration inequality in Machine LearningVARUN KUMAR
 
Lecture7 channel capacity
Lecture7   channel capacityLecture7   channel capacity
Lecture7 channel capacityFrank Katta
 
Monte Carlo Methods
Monte Carlo MethodsMonte Carlo Methods
Monte Carlo MethodsJames Bell
 
Intro to Quant Trading Strategies (Lecture 2 of 10)
Intro to Quant Trading Strategies (Lecture 2 of 10)Intro to Quant Trading Strategies (Lecture 2 of 10)
Intro to Quant Trading Strategies (Lecture 2 of 10)Adrian Aley
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlabsheetslibrary
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equationsZunAib Ali
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlabZunAib Ali
 
2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3MuhannadSaleh
 
Probability distribution
Probability distributionProbability distribution
Probability distributionManoj Bhambu
 
CPSC531-Probability.pptx
CPSC531-Probability.pptxCPSC531-Probability.pptx
CPSC531-Probability.pptxRidaIrfan10
 
Jacobi iteration method
Jacobi iteration methodJacobi iteration method
Jacobi iteration methodMONIRUL ISLAM
 
SOLUTION OF DIFFERENTIAL EQUATIONS
SOLUTION OF DIFFERENTIAL EQUATIONSSOLUTION OF DIFFERENTIAL EQUATIONS
SOLUTION OF DIFFERENTIAL EQUATIONSPARTH PANCHAL
 

Similaire à Max-SAT algorithm using unit propagation and failed literal detection (20)

Open GL T0074 56 sm2
Open GL T0074 56 sm2Open GL T0074 56 sm2
Open GL T0074 56 sm2
 
Term paper
Term paperTerm paper
Term paper
 
Concentration inequality in Machine Learning
Concentration inequality in Machine LearningConcentration inequality in Machine Learning
Concentration inequality in Machine Learning
 
Lecture7 channel capacity
Lecture7   channel capacityLecture7   channel capacity
Lecture7 channel capacity
 
Monte Carlo Methods
Monte Carlo MethodsMonte Carlo Methods
Monte Carlo Methods
 
Nl eqn lab
Nl eqn labNl eqn lab
Nl eqn lab
 
Ou3425912596
Ou3425912596Ou3425912596
Ou3425912596
 
Intro to Quant Trading Strategies (Lecture 2 of 10)
Intro to Quant Trading Strategies (Lecture 2 of 10)Intro to Quant Trading Strategies (Lecture 2 of 10)
Intro to Quant Trading Strategies (Lecture 2 of 10)
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlab
 
Solution of non-linear equations
Solution of non-linear equationsSolution of non-linear equations
Solution of non-linear equations
 
Non linearequationsmatlab
Non linearequationsmatlabNon linearequationsmatlab
Non linearequationsmatlab
 
2 random variables notes 2p3
2 random variables notes 2p32 random variables notes 2p3
2 random variables notes 2p3
 
Probability distribution
Probability distributionProbability distribution
Probability distribution
 
CPSC531-Probability.pptx
CPSC531-Probability.pptxCPSC531-Probability.pptx
CPSC531-Probability.pptx
 
Jacobi iteration method
Jacobi iteration methodJacobi iteration method
Jacobi iteration method
 
E10
E10E10
E10
 
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
QMC Program: Trends and Advances in Monte Carlo Sampling Algorithms Workshop,...
 
Probabilistic systems assignment help
Probabilistic systems assignment helpProbabilistic systems assignment help
Probabilistic systems assignment help
 
SOLUTION OF DIFFERENTIAL EQUATIONS
SOLUTION OF DIFFERENTIAL EQUATIONSSOLUTION OF DIFFERENTIAL EQUATIONS
SOLUTION OF DIFFERENTIAL EQUATIONS
 
Probabilistic systems exam help
Probabilistic systems exam helpProbabilistic systems exam help
Probabilistic systems exam help
 

Plus de Reza Ramezani

Real time operating systems for safety-critical applications
Real time operating systems for safety-critical applicationsReal time operating systems for safety-critical applications
Real time operating systems for safety-critical applicationsReza Ramezani
 
Fault tolerant real-time scheduling
Fault tolerant real-time schedulingFault tolerant real-time scheduling
Fault tolerant real-time schedulingReza Ramezani
 
Authorship attribution
Authorship attributionAuthorship attribution
Authorship attributionReza Ramezani
 
An introduction to forensic linguistics
An introduction to forensic linguisticsAn introduction to forensic linguistics
An introduction to forensic linguisticsReza Ramezani
 
Feature selection concepts and methods
Feature selection concepts and methodsFeature selection concepts and methods
Feature selection concepts and methodsReza Ramezani
 
Multi criteria decision support system on mobile phone selection with ahp and...
Multi criteria decision support system on mobile phone selection with ahp and...Multi criteria decision support system on mobile phone selection with ahp and...
Multi criteria decision support system on mobile phone selection with ahp and...Reza Ramezani
 
Deadlock detection in distributed systems
Deadlock detection in distributed systemsDeadlock detection in distributed systems
Deadlock detection in distributed systemsReza Ramezani
 
Fault injection techniques, design pattern for fault injector system
Fault injection techniques, design pattern for fault injector systemFault injection techniques, design pattern for fault injector system
Fault injection techniques, design pattern for fault injector systemReza Ramezani
 
Question answering in linked data
Question answering in linked dataQuestion answering in linked data
Question answering in linked dataReza Ramezani
 
Finding Association Rules in Linked Data
Finding Association Rules in Linked DataFinding Association Rules in Linked Data
Finding Association Rules in Linked DataReza Ramezani
 

Plus de Reza Ramezani (10)

Real time operating systems for safety-critical applications
Real time operating systems for safety-critical applicationsReal time operating systems for safety-critical applications
Real time operating systems for safety-critical applications
 
Fault tolerant real-time scheduling
Fault tolerant real-time schedulingFault tolerant real-time scheduling
Fault tolerant real-time scheduling
 
Authorship attribution
Authorship attributionAuthorship attribution
Authorship attribution
 
An introduction to forensic linguistics
An introduction to forensic linguisticsAn introduction to forensic linguistics
An introduction to forensic linguistics
 
Feature selection concepts and methods
Feature selection concepts and methodsFeature selection concepts and methods
Feature selection concepts and methods
 
Multi criteria decision support system on mobile phone selection with ahp and...
Multi criteria decision support system on mobile phone selection with ahp and...Multi criteria decision support system on mobile phone selection with ahp and...
Multi criteria decision support system on mobile phone selection with ahp and...
 
Deadlock detection in distributed systems
Deadlock detection in distributed systemsDeadlock detection in distributed systems
Deadlock detection in distributed systems
 
Fault injection techniques, design pattern for fault injector system
Fault injection techniques, design pattern for fault injector systemFault injection techniques, design pattern for fault injector system
Fault injection techniques, design pattern for fault injector system
 
Question answering in linked data
Question answering in linked dataQuestion answering in linked data
Question answering in linked data
 
Finding Association Rules in Linked Data
Finding Association Rules in Linked DataFinding Association Rules in Linked Data
Finding Association Rules in Linked Data
 

Dernier

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningLars Bell
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piececharlottematthew16
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024Stephanie Beckett
 

Dernier (20)

Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 
DSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine TuningDSPy a system for AI to Write Prompts and Do Fine Tuning
DSPy a system for AI to Write Prompts and Do Fine Tuning
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Story boards and shot lists for my a level piece
Story boards and shot lists for my a level pieceStory boards and shot lists for my a level piece
Story boards and shot lists for my a level piece
 
TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024What's New in Teams Calling, Meetings and Devices March 2024
What's New in Teams Calling, Meetings and Devices March 2024
 

Max-SAT algorithm using unit propagation and failed literal detection

  • 1. By: Mohammad Khosravi , Reza Ramezani To: Dr Moosavi 1 Electronic & Computer Department Isfahan University Of Technology
  • 2.  Input: given a list of clauses C1, . . . ,Cm  Output: the maximum number of clauses which satisfied.  Unit Propagation (UP) algorithm use for compute LB when we have at least one unit clause, otherwise we will use Failed literal detection. 2
  • 3.  Let 1 be the Max-SAT instance {x1, x2, x3,¬x1 x4,¬x1 x5,¬x4 ¬x5,¬x1 ¬x2 ¬x3, x1 ¬x2} Q = [x1, x2, x3]  x1 propagate { x2, x3, x4, x5,¬x4 ¬x5, ¬x2 ¬x3} Q = [x2,x3,x4,x5]  x2 propagate {x3, x4, x5,¬x4 ¬x5,¬x3} Q =[x3, x4, x5,¬x3] 3
  • 4.  x3 propagate {#,x4, x5,¬x4 ¬x5} Inconsistent subformula detected by UP is {x1, x2, x3,¬x1 ¬x2 ¬x3} The remaining clauses {¬x1 x4,¬x1 x5,¬x4 ¬x5, x1 ¬x2} 4
  • 5. {x1, x2, x3,¬x1 x4,¬x1 x5,¬x4 ¬x5,¬x1 ¬x2 ¬x3, x1 ¬x2} Q1 = [x1, x2, x3]  x1 propagate Q1 = [ x2, x3] { x2, x3, x4, x5,¬x4 ¬x5, ¬x2 ¬x3} Q2 = [x4, x5]  x4 propagate Q2 = [x5,¬x5]  x5 propagate 5
  • 6.  Inconsistent subformula : {x1,¬x1 x4,¬x1 x5,¬x4 ¬x5}  remaining clauses: {x2, x3,¬x1 ¬x2 ¬x3, x1 ¬x2} Q1 = [x2, x3]  x2 propagate {x3,¬x1 ¬x3, x1 } Q1 = [x3] Q2 = [x1]  x1 propagate 6
  • 7. {x3, ¬x3 } Q2 = [¬x3 ]  inconsistent subformula : {x2, x3,¬x1 ¬x2 ¬x3, x1 ¬x2}. 7
  • 8. P={#,#, y ¬x,¬y z,¬y ¬z, y x}  P U {x},with UP  inconsistent subformula 1 = {x, y ¬x,¬y z,¬y ¬z}, P U {¬ x}, with UP inconsistent  Subformula 2= {¬x,¬y z,¬y ¬z, y x}  Final incosistant subformula=(1 U 2) {x,¬x} = {y ¬x,¬y z,¬y ¬z, y x}  We can use FL whit UP & UP* 8
  • 9. Solutions for solving maxsat efficiency: Rules Unit Propagation Failed Literal Detection Selecting variables for propagation Data Structure 9
  • 10. Each variable order computed from:  Binary-Length with two value.  Unit-Length with one value.  Total-Length that contain the number of clauses that variable occurs.  W(i) is sum of all above weights.  This weight will calculate for Var(i) and Var(-i).  Final Variable’s weight is W(i) + W(-i)  Each Variable with higher weight with select earlier for propagation 10
  • 11. Each variable order computed from:  Binary-Length with three value.  Unit-Length with two value.  Third-Length with one value.  Total-Length that contain the number of clauses that variable occurs. AKMax-Sat solver ReCompute this weights at each level, such as: propagate variable, remove variable and restore variable. 11