L01: Introduction Flashcards

1
Q

How do we solve problems with constraints?

A
  1. Describe the problem to be solved as a constraint model, a format suitable for input to a constraint solver.
  2. Search (automatically) for solutions to the model with a constraint solver.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the stages of constraint modelling and solving?

A
  1. Constraint modelling
  2. Map input problem to CSP
  3. Constraint solving
  4. Map solution of CSP to input problem

A constraint model maps the features of a given problem onto the features of a constraint satisfaction problem.

The CSP is input to a constraint solver, which produces a solution (or solutions).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a constraint?

A

Of the possible combinations of assignments to the
variables in its scope, a constraint specifies:
- Which are allowed
Assignments that satisfy the constraint.

  • Which are disallowed
    Assignments that violate the constraint
  • I.e. can think of a constraint as a relation.

E.g. if variables tA, tB, represent time for lectures A, B, both taken by student S:
tA ≠ tB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is a decision variable?

A

A decision variable corresponds to a choice that
must be made in solving a problem.

In simple words, something that decide the value of, e.g. the cell of a sudoku grid

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is a domain?

A

Values in the domain of a decision variable correspond to the options for a particular choice.

A decision variable is assigned a single value from its domain.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is a scope?

A

A scope is the subset of the decision variables a constraint involves.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a systematic search?

A

Systematic Search through a space of partial assignments.
- Extend an assignment to a subset of the variables
incrementally.
- Backtrack if establish that current partial assignment
cannot be extended to a solution.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is constraint programming?

A

An active field of Artificial Intelligence in which we study how to model and solve constraint satisfaction problems.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is constraint propagation?

A
  • Deduction based on constraints, current domains.
  • Usually recorded as reductions in domains.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the constraint satisfaction problem?

A

A general way in which we can represent and
solve decision-making problems:
Given:
1. A set of decision variables.
2. For each decision variable, a domain of potential
values.
3. A set of constraints on the decision variables.

Find:

An assignment of values to variables such that all
constraints are satisfied.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly