CS Propagators

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/10

encourage image

There are no tags or description

Looks like no tags are added yet.

11 Terms

1
New cards

What are linear integer inequalities

Constraint requires that a weighted sum of variables

must meet or exceed a given threshold. Throughout this section, we consider inequalities of

the form

∑aixi ≥ b,

2
New cards

How do we do conflict detection on Linear integer inequalities

To determine whether the constraint is already violated we consider the most optimistic assignment for satisfying the constraint

<p>To determine whether the constraint is already violated we consider the most optimistic assignment for satisfying the constraint</p>
3
New cards

What does an explanation of LII look like?

infeasibility arises because each variable is restricted to a bound that prevents the left-hand side from reaching the right-hand side threshold value. These bounds are the source of the conflict.

For variables with positive coefficients, the optimistic value is the upper bound; for variables with negative coefficients, it is the lower bound.

4
New cards

Explain the Cumulative constraint

Used for activities characterised by start date, resource requirements and usage, it enforces that at any time the total resource consumption all executing activities does not exceed a given capacity.

Why propagators necessary?
Determining whether a feasible assignment exists for the CUMULATIVE constraint is

NP-complete. As a result, a wide range of propagation algorithms with varying strengths and computational costs have been proposed in the literature.

5
New cards

Explain propagator for Cumulative Constraint

Propagators for the CUMULATIVE constraint infer lower and upper bounds on the start

times of tasks by accounting for resource availability and the possible start times of other

6
New cards

Formally define the Cumulative Constraint

Using this we do Conflict Detection as well.

<p>Using this we do Conflict Detection as well. </p>
7
New cards

What is a Resource Profile and when to use

RP = compulsory parts of all tasks.

Use it for timetabling.

<p>RP = compulsory parts of all tasks.</p><p>Use it for timetabling.</p>
8
New cards

What is the advantage of the Cumulative propagator over the decomposition?

More efficient implementations avoid storing information for every time slot; instead, they operate on contiguous time ranges, which is essential for large problems with long time horizons. This is a key advantage over the decomposition of the cumulative.

9
New cards

How is an explanation of a conflict using RP setup?

Variables corresponding to tasks whose mandatory parts collectively exceed the resource capacity appear in the explanation. Since the bounds of these variables directly determine the mandatory parts, these bounds form the explanation.

<p>Variables corresponding to tasks whose mandatory parts collectively exceed the resource capacity appear in the explanation. Since the bounds of these variables directly determine the mandatory parts, these bounds form the explanation.</p>
10
New cards

Compare the Timetabling Propagator with the decomposition

Timetabling propagation is based on reasoning over the resource profile, which is derived directly from the decomposition and the activity variables. Consequently, timetabling reasoning offers the same propagation strength as the decomposition, but it avoids the overhead of maintaining a large number of per-time-slot variables.

A key advantage of timetabling is that it does not require explicitly representing each

time slot. Instead, it works naturally with interval variables that describe the domains of

task start times using only their lower and upper bounds. This allows us to reason efficiently

even when domains are large. As a result, the cost of propagation does not grow with the

granularity of time representation. For example, if we multiply all task durations by 100, the

decomposition-based approach would create one hundred times more resource constraints,

whereas the timetabling algorithm would remain unchanged. This makes timetabling highly

suitable for problems with fine-grained time scales or large domains.

Another benefit of this approach is that explanations derived from timetabling can often

be made stronger through lifting. Because we keep information about the structure, we can

apply lifting to relax some of the predicates appearing in explanations while still preserving

correctness. This can produce more general explanations that prune larger portions of the

search space. In practice, such lifted explanations can make a substantial difference in solver

performance.

11
New cards

When Energetic Reasoning?

Timetabling is sometimes not able to propagate everything that can be propagated. It strictly subsumes timetabling: any propagation detected by timetabling will also be detected by energetic reasoning, but not necessarily the other way around.
However, energetic reasoning is computationally more expensive than timetabling. → Can grow quadratically