SlideShare ist ein Scribd-Unternehmen logo
1 von 20
Dr. C.V. Suresh Babu
(CentreforKnowledgeTransfer)
institute
(CentreforKnowledgeTransfer)
institute
Topics
Covered
 Introduction
 Need for Problem formulation
 Problem Solving Components
 Definition of Problem
 Problem Limitation
 Goal or Solution
 Solution Space
 Operators
 Examples of Problem Formulation
 Well-defined Problems and Solution
 Examples of Well-Defined Problems
 Constraint satisfaction problems (CSPs)
 Examples of constraint satisfaction problem
 Decision problem
(CentreforKnowledgeTransfer)
institute
Introduction
Problem formation is the step in problem
definition that is used to understand and
decide a course of action that needs to be
considered to achieve a goal.
(CentreforKnowledgeTransfer)
institute
Need for
Problem
formulation
Every problem should be properly
formulated in artificial intelligence.
Problem formulation is very
important before applying any
search algorithm.
Every algorithm demands problem is
specific form.
Before problem formulation it is very
important to know components of
problem.
(CentreforKnowledgeTransfer)
institute
Problem
Solving
Components
In AI one must identify components
of problems, which are:-
Problem Statement
Definition
Limitation or Constraints or
Restrictions
Problem Solution
Solution Space
Operators
(CentreforKnowledgeTransfer)
institute
Definition of
Problem
The information about what is to be
done?
Why it is important to build AI
system?
What will be the advantages of
proposed system?
For example “I want to predict the
price of house using AI system”.
(CentreforKnowledgeTransfer)
institute
Problem
Limitation
There always some limitations
while solving problems.
All these limitations or constraints
must be fulfil while creating
system.
For example “I have only few
features, some records are
missing. System must be 90%
accurate otherwise will be
useless”.
(CentreforKnowledgeTransfer)
institute
Goal or
Solution
What is expected from system?
The Goal state or final state or the
solution of problem is defined here.
This will help us to proposed
appropriate solution for problem.
For example “we can use some
machine learning technique to
solve this problem”.
(CentreforKnowledgeTransfer)
institute
Solution
Space
Problem can be solve in many ways.
Some solution will be efficient than
others.
Some will consume less resources,
some will be simple etc.
There are always alternatives exists.
Many possible ways with which we can
solve problem is known as Solution
Space.
For example “price of house can be
predict using many machine learning
algorithms”.
(CentreforKnowledgeTransfer)
institute
Operators
Operators are the actions
taken during solving problem.
Complete problem is solved
using tiny steps or actions and
all these consecutive actions
leads to solution of problem.
(CentreforKnowledgeTransfer)
institute
Examples of
Problem
Formulation
Mouse Path
Problem
 Problem Statement
 Problem Definition: Mouse is hungry, mouse is in a
puzzle where there are some cheese. Mouse will
only be satisfied if mouse eat cheese
 Problem Limitation: Some paths are close i-e dead
end, mouse can only travel through open paths
 Problem Solution: Reach location where is
cheese and eat minimum one cheese.There are
possible solutions (cheese pieces)
 Solution Space: To reach cheese there are
multiple paths possible
 Operators: Mouse can move in four possible
directions, these directions are operators or
actions which are UP, DOWN, LEFT and RIGHT
(CentreforKnowledgeTransfer)
institute
(CentreforKnowledgeTransfer)
institute
Water Jug
Problem
 Problem Statement
 Problem Definition:You have to measure 4 liter (L) water by
using three buckets 8L, 5L and 3L.
 Problem Limitation:You can only use these (8L, 5L and 3L)
buckets
Problem Solution: Measure exactly 4L water
Solution Space: There are multiple ways doing this.
Operators: Possible actions are fill water in any bucket and remove
water from any bucket.
(CentreforKnowledgeTransfer)
institute
Path Finding
Problem
 Problem Statement
 Definition: Going from Arad to Bucharest in given map
 Limitation: Must travel from location to other if there is path
Problem Solution: Reach Bucharest
Solution Space: There are multiple paths to reach Bucharest.
Operators: Move to other locations
(CentreforKnowledgeTransfer)
institute
Well-defined
Problems and
Solution
Problem solving components discussed above are
applicable to any problem. ForAI system
implementation, problem must be well defined. A well-
defined problem must have five components:-
 Initial State: Start point of problem
 Final State:The finish point of problem. Aka Goal or
solution state
 States:Total states in problem
 Transition Model: How one can shift from one state to
another
 Actions: Actions set, used to move from one state to
another
 Path Cost:What is total effort (cost) from initial state
to final state
(CentreforKnowledgeTransfer)
institute
Examples of
Well-Defined
Problems
8 Puzzle or
Slide Puzzle
 States:A state description specifies the location of each of the
eight tiles and the blank in one of the nine squares.
 Initial state:Any random shuffled state can be designated as
initial state
 Actions:
 Slide Left
 or Slide Right
 or Slide Up
 And Slide Down
 Transition model: Given a state and action, this returns the
resulting state
 Goal test:This checks whether the state matches the goal
 Path cost: Each step costs 1
(CentreforKnowledgeTransfer)
institute
8Queens
Problem
 States:Any arrangement of 0 to 8 queens on the chess board is a state.
 Initial state: No queens on the board or randomly shuffled 8 queens on
board
 Actions: Add a queen to any empty square or move queens one by one
 Transition model: Returns the board with a queen added to the specified
square.
 Goal test: 8 queens are on the board, none attacked.
(CentreforKnowledgeTransfer)
institute
Constraint
satisfaction
problems
(CSPs)
 Constraint satisfaction problems (CSPs) are mathematical questions
defined as a set of objects whose state must satisfy a number of
constraints or limitations.
 CSPs represent the entities in a problem as a homogeneous collection
of finite constraints over variables, which is solved by constraint
satisfaction methods.
 CSPs are the subject of research in both artificial intelligence and
operations research, since the regularity in their formulation provides
a common basis to analyze and solve problems of many seemingly
unrelated families.
 CSPs often exhibit high complexity, requiring a combination of
heuristics and combinatorial search methods to be solved in a
reasonable time. Constraint Programming (CP) is the field of research
that specifically focuses on tackling these kinds of problems.
 Additionally, boolean satisfiability problem (SAT), the satisfiability
modulo theories (SMT), mixed integer programming (MIP) and
answer set programming (ASP) are all fields of research focusing on
the resolution of particular forms of the constraint satisfaction
problem.
(CentreforKnowledgeTransfer)
institute
Examples of
problems
that can be
modelled as
a constraint
satisfaction
problem
include:
 Type inference
 Eight queens puzzle
 Map coloring problem
 Sudoku, Crosswords, Futoshiki, Kakuro (Cross
Sums), Numbrix, Hidato and many other logic
puzzles
"Real life" examples
 automated planning,
 lexical disambiguation,
 musicology,
 product configuration
 resource allocation
(CentreforKnowledgeTransfer)
institute
Decision
problem
The existence of a solution to a CSP can
be viewed as a decision problem.
This can be decided by finding a solution,
or failing to find a solution after
exhaustive search (stochastic algorithms
typically never reach an exhaustive
conclusion, while directed searches often
do, on sufficiently small problems).
In some cases the CSP might be known to
have solutions beforehand, through
some other mathematical inference
process.

Weitere ähnliche Inhalte

Was ist angesagt?

Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AI
Vishal Singh
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
Tech_MX
 
Knowledge Representation & Reasoning
Knowledge Representation & ReasoningKnowledge Representation & Reasoning
Knowledge Representation & Reasoning
Sajid Marwat
 
Issues in knowledge representation
Issues in knowledge representationIssues in knowledge representation
Issues in knowledge representation
Sravanthi Emani
 

Was ist angesagt? (20)

Knowledge representation in AI
Knowledge representation in AIKnowledge representation in AI
Knowledge representation in AI
 
Knowledge based agents
Knowledge based agentsKnowledge based agents
Knowledge based agents
 
AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)AI Lecture 3 (solving problems by searching)
AI Lecture 3 (solving problems by searching)
 
AI: AI & Problem Solving
AI: AI & Problem SolvingAI: AI & Problem Solving
AI: AI & Problem Solving
 
Informed and Uninformed search Strategies
Informed and Uninformed search StrategiesInformed and Uninformed search Strategies
Informed and Uninformed search Strategies
 
Heuristc Search Techniques
Heuristc Search TechniquesHeuristc Search Techniques
Heuristc Search Techniques
 
I. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHMI. AO* SEARCH ALGORITHM
I. AO* SEARCH ALGORITHM
 
Predicate logic
 Predicate logic Predicate logic
Predicate logic
 
8 queens problem using back tracking
8 queens problem using back tracking8 queens problem using back tracking
8 queens problem using back tracking
 
Knowledge Representation & Reasoning
Knowledge Representation & ReasoningKnowledge Representation & Reasoning
Knowledge Representation & Reasoning
 
Problem reduction AND OR GRAPH & AO* algorithm.ppt
Problem reduction AND OR GRAPH & AO* algorithm.pptProblem reduction AND OR GRAPH & AO* algorithm.ppt
Problem reduction AND OR GRAPH & AO* algorithm.ppt
 
AI 7 | Constraint Satisfaction Problem
AI 7 | Constraint Satisfaction ProblemAI 7 | Constraint Satisfaction Problem
AI 7 | Constraint Satisfaction Problem
 
weak slot and filler structure
weak slot and filler structureweak slot and filler structure
weak slot and filler structure
 
State Space Search in ai
State Space Search in aiState Space Search in ai
State Space Search in ai
 
Artificial Intelligence- TicTacToe game
Artificial Intelligence- TicTacToe gameArtificial Intelligence- TicTacToe game
Artificial Intelligence- TicTacToe game
 
State space search
State space searchState space search
State space search
 
Unification and Lifting
Unification and LiftingUnification and Lifting
Unification and Lifting
 
Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence Knowledge Representation in Artificial intelligence
Knowledge Representation in Artificial intelligence
 
Issues in knowledge representation
Issues in knowledge representationIssues in knowledge representation
Issues in knowledge representation
 
I. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AII. Mini-Max Algorithm in AI
I. Mini-Max Algorithm in AI
 

Ähnlich wie Problem Formulation in Artificial Inteligence Projects

Assignment oprations research luv
Assignment oprations research luvAssignment oprations research luv
Assignment oprations research luv
Ashok Sharma
 
Quantitative management
Quantitative managementQuantitative management
Quantitative management
smumbahelp
 
02 problem solving_search_control
02 problem solving_search_control02 problem solving_search_control
02 problem solving_search_control
Praveen Kumar
 
Topic_6
Topic_6Topic_6
Topic_6
butest
 

Ähnlich wie Problem Formulation in Artificial Inteligence Projects (20)

Operation research history and overview application limitation
Operation research history and overview application limitationOperation research history and overview application limitation
Operation research history and overview application limitation
 
Assignment oprations research luv
Assignment oprations research luvAssignment oprations research luv
Assignment oprations research luv
 
Fundamentals of Quantitative Analysis
Fundamentals of Quantitative AnalysisFundamentals of Quantitative Analysis
Fundamentals of Quantitative Analysis
 
Application Issues For Multiobjective Evolutionary Algorithms
Application Issues For Multiobjective Evolutionary AlgorithmsApplication Issues For Multiobjective Evolutionary Algorithms
Application Issues For Multiobjective Evolutionary Algorithms
 
138755986 problem-solving-methods-ppt
138755986 problem-solving-methods-ppt138755986 problem-solving-methods-ppt
138755986 problem-solving-methods-ppt
 
Moea introduction by deb
Moea introduction by debMoea introduction by deb
Moea introduction by deb
 
Ai planning with evolutionary computing
Ai planning with evolutionary computingAi planning with evolutionary computing
Ai planning with evolutionary computing
 
Introduction to Programming
Introduction to ProgrammingIntroduction to Programming
Introduction to Programming
 
Quantitative management
Quantitative managementQuantitative management
Quantitative management
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
Mb0048 operations research
Mb0048  operations researchMb0048  operations research
Mb0048 operations research
 
Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2
 
Classification of optimization Techniques
Classification of optimization TechniquesClassification of optimization Techniques
Classification of optimization Techniques
 
Optimization Using Evolutionary Computing Techniques
Optimization Using Evolutionary Computing Techniques Optimization Using Evolutionary Computing Techniques
Optimization Using Evolutionary Computing Techniques
 
02 problem solving_search_control
02 problem solving_search_control02 problem solving_search_control
02 problem solving_search_control
 
algorithm design.pptx
algorithm design.pptxalgorithm design.pptx
algorithm design.pptx
 
Topic_6
Topic_6Topic_6
Topic_6
 
Particle swarm optimization
Particle swarm optimizationParticle swarm optimization
Particle swarm optimization
 
Constraint Satisfaction.pdf
Constraint Satisfaction.pdfConstraint Satisfaction.pdf
Constraint Satisfaction.pdf
 
A Genetic Algorithm Problem Solver For Archaeology
A Genetic Algorithm Problem Solver For ArchaeologyA Genetic Algorithm Problem Solver For Archaeology
A Genetic Algorithm Problem Solver For Archaeology
 

Mehr von Dr. C.V. Suresh Babu

Mehr von Dr. C.V. Suresh Babu (20)

Data analytics with R
Data analytics with RData analytics with R
Data analytics with R
 
Association rules
Association rulesAssociation rules
Association rules
 
Clustering
ClusteringClustering
Clustering
 
Classification
ClassificationClassification
Classification
 
Blue property assumptions.
Blue property assumptions.Blue property assumptions.
Blue property assumptions.
 
Introduction to regression
Introduction to regressionIntroduction to regression
Introduction to regression
 
DART
DARTDART
DART
 
Mycin
MycinMycin
Mycin
 
Expert systems
Expert systemsExpert systems
Expert systems
 
Dempster shafer theory
Dempster shafer theoryDempster shafer theory
Dempster shafer theory
 
Bayes network
Bayes networkBayes network
Bayes network
 
Bayes' theorem
Bayes' theoremBayes' theorem
Bayes' theorem
 
Rule based system
Rule based systemRule based system
Rule based system
 
Formal Logic in AI
Formal Logic in AIFormal Logic in AI
Formal Logic in AI
 
Production based system
Production based systemProduction based system
Production based system
 
Game playing in AI
Game playing in AIGame playing in AI
Game playing in AI
 
Diagnosis test of diabetics and hypertension by AI
Diagnosis test of diabetics and hypertension by AIDiagnosis test of diabetics and hypertension by AI
Diagnosis test of diabetics and hypertension by AI
 
A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”
 
A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”A study on “impact of artificial intelligence in covid19 diagnosis”
A study on “impact of artificial intelligence in covid19 diagnosis”
 
A study on “the impact of data analytics in covid 19 health care system”
A study on “the impact of data analytics in covid 19 health care system”A study on “the impact of data analytics in covid 19 health care system”
A study on “the impact of data analytics in covid 19 health care system”
 

Kürzlich hochgeladen

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Kürzlich hochgeladen (20)

Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 

Problem Formulation in Artificial Inteligence Projects

  • 1. Dr. C.V. Suresh Babu (CentreforKnowledgeTransfer) institute
  • 2. (CentreforKnowledgeTransfer) institute Topics Covered  Introduction  Need for Problem formulation  Problem Solving Components  Definition of Problem  Problem Limitation  Goal or Solution  Solution Space  Operators  Examples of Problem Formulation  Well-defined Problems and Solution  Examples of Well-Defined Problems  Constraint satisfaction problems (CSPs)  Examples of constraint satisfaction problem  Decision problem
  • 3. (CentreforKnowledgeTransfer) institute Introduction Problem formation is the step in problem definition that is used to understand and decide a course of action that needs to be considered to achieve a goal.
  • 4. (CentreforKnowledgeTransfer) institute Need for Problem formulation Every problem should be properly formulated in artificial intelligence. Problem formulation is very important before applying any search algorithm. Every algorithm demands problem is specific form. Before problem formulation it is very important to know components of problem.
  • 5. (CentreforKnowledgeTransfer) institute Problem Solving Components In AI one must identify components of problems, which are:- Problem Statement Definition Limitation or Constraints or Restrictions Problem Solution Solution Space Operators
  • 6. (CentreforKnowledgeTransfer) institute Definition of Problem The information about what is to be done? Why it is important to build AI system? What will be the advantages of proposed system? For example “I want to predict the price of house using AI system”.
  • 7. (CentreforKnowledgeTransfer) institute Problem Limitation There always some limitations while solving problems. All these limitations or constraints must be fulfil while creating system. For example “I have only few features, some records are missing. System must be 90% accurate otherwise will be useless”.
  • 8. (CentreforKnowledgeTransfer) institute Goal or Solution What is expected from system? The Goal state or final state or the solution of problem is defined here. This will help us to proposed appropriate solution for problem. For example “we can use some machine learning technique to solve this problem”.
  • 9. (CentreforKnowledgeTransfer) institute Solution Space Problem can be solve in many ways. Some solution will be efficient than others. Some will consume less resources, some will be simple etc. There are always alternatives exists. Many possible ways with which we can solve problem is known as Solution Space. For example “price of house can be predict using many machine learning algorithms”.
  • 10. (CentreforKnowledgeTransfer) institute Operators Operators are the actions taken during solving problem. Complete problem is solved using tiny steps or actions and all these consecutive actions leads to solution of problem.
  • 11. (CentreforKnowledgeTransfer) institute Examples of Problem Formulation Mouse Path Problem  Problem Statement  Problem Definition: Mouse is hungry, mouse is in a puzzle where there are some cheese. Mouse will only be satisfied if mouse eat cheese  Problem Limitation: Some paths are close i-e dead end, mouse can only travel through open paths  Problem Solution: Reach location where is cheese and eat minimum one cheese.There are possible solutions (cheese pieces)  Solution Space: To reach cheese there are multiple paths possible  Operators: Mouse can move in four possible directions, these directions are operators or actions which are UP, DOWN, LEFT and RIGHT
  • 13. (CentreforKnowledgeTransfer) institute Water Jug Problem  Problem Statement  Problem Definition:You have to measure 4 liter (L) water by using three buckets 8L, 5L and 3L.  Problem Limitation:You can only use these (8L, 5L and 3L) buckets Problem Solution: Measure exactly 4L water Solution Space: There are multiple ways doing this. Operators: Possible actions are fill water in any bucket and remove water from any bucket.
  • 14. (CentreforKnowledgeTransfer) institute Path Finding Problem  Problem Statement  Definition: Going from Arad to Bucharest in given map  Limitation: Must travel from location to other if there is path Problem Solution: Reach Bucharest Solution Space: There are multiple paths to reach Bucharest. Operators: Move to other locations
  • 15. (CentreforKnowledgeTransfer) institute Well-defined Problems and Solution Problem solving components discussed above are applicable to any problem. ForAI system implementation, problem must be well defined. A well- defined problem must have five components:-  Initial State: Start point of problem  Final State:The finish point of problem. Aka Goal or solution state  States:Total states in problem  Transition Model: How one can shift from one state to another  Actions: Actions set, used to move from one state to another  Path Cost:What is total effort (cost) from initial state to final state
  • 16. (CentreforKnowledgeTransfer) institute Examples of Well-Defined Problems 8 Puzzle or Slide Puzzle  States:A state description specifies the location of each of the eight tiles and the blank in one of the nine squares.  Initial state:Any random shuffled state can be designated as initial state  Actions:  Slide Left  or Slide Right  or Slide Up  And Slide Down  Transition model: Given a state and action, this returns the resulting state  Goal test:This checks whether the state matches the goal  Path cost: Each step costs 1
  • 17. (CentreforKnowledgeTransfer) institute 8Queens Problem  States:Any arrangement of 0 to 8 queens on the chess board is a state.  Initial state: No queens on the board or randomly shuffled 8 queens on board  Actions: Add a queen to any empty square or move queens one by one  Transition model: Returns the board with a queen added to the specified square.  Goal test: 8 queens are on the board, none attacked.
  • 18. (CentreforKnowledgeTransfer) institute Constraint satisfaction problems (CSPs)  Constraint satisfaction problems (CSPs) are mathematical questions defined as a set of objects whose state must satisfy a number of constraints or limitations.  CSPs represent the entities in a problem as a homogeneous collection of finite constraints over variables, which is solved by constraint satisfaction methods.  CSPs are the subject of research in both artificial intelligence and operations research, since the regularity in their formulation provides a common basis to analyze and solve problems of many seemingly unrelated families.  CSPs often exhibit high complexity, requiring a combination of heuristics and combinatorial search methods to be solved in a reasonable time. Constraint Programming (CP) is the field of research that specifically focuses on tackling these kinds of problems.  Additionally, boolean satisfiability problem (SAT), the satisfiability modulo theories (SMT), mixed integer programming (MIP) and answer set programming (ASP) are all fields of research focusing on the resolution of particular forms of the constraint satisfaction problem.
  • 19. (CentreforKnowledgeTransfer) institute Examples of problems that can be modelled as a constraint satisfaction problem include:  Type inference  Eight queens puzzle  Map coloring problem  Sudoku, Crosswords, Futoshiki, Kakuro (Cross Sums), Numbrix, Hidato and many other logic puzzles "Real life" examples  automated planning,  lexical disambiguation,  musicology,  product configuration  resource allocation
  • 20. (CentreforKnowledgeTransfer) institute Decision problem The existence of a solution to a CSP can be viewed as a decision problem. This can be decided by finding a solution, or failing to find a solution after exhaustive search (stochastic algorithms typically never reach an exhaustive conclusion, while directed searches often do, on sufficiently small problems). In some cases the CSP might be known to have solutions beforehand, through some other mathematical inference process.