Kastalia Knowledge Management System · Glasperlenspiel template · knot 1081

Constraint programming

🌐 public · created AE531029 (29.10.2023) · by DDH · open in the standard editor view · 📽 open as presentation

baumhaus.digital/Design & Computation/Perspectives in Engineering/IOPS/Constraints/Constraint programming
Constraint programming is a programming paradigm where relationships between variables are expressed as constraints. The objective is to find values for these variables that satisfy all given constraints. It is particularly useful for solving combinatorial problems, such as scheduling, planning, and resource allocation, where traditional algorithms might be inefficient. Instead of specifying steps to achieve a solution, one defines the desired properties of a solution, and the system determines a valid assignment, if one exists.

Ancestors (1 superordinated path)

Descendants (at least 6 branches originate here)

  • Constraint programming
    Constraint programming is a programming paradigm where relationships between variables are expressed as constraints. The objective is to find values for these v
    • is_parent Constraint Satisfaction Problem ·
      A Constraint Satisfaction Problem (CSP) is a mathematical problem defined by a set of variables, a domain of possible values for each variable, and a collection
    • is_parent Exercise: Adam and Eve scheduling
      Adam and Eve are happily married and have two cute sons, Cain and Abel. In general they love each other, but sometimes divirgent opinions relating to house mana
      • is_parent Assignment ·
        Everyone: define tasks (and their lengths), resources (and their availability), precedence relations (if any), capacity constraints (if any) and costs of option
      • is_parent Solution ·
        #Adam has one hour time on Monday and Wednesday, three hours time on Thursday and fours hours time on each weekend day, Eve has two hours on Tuesday, three hour
    • is_parent Python libraries ·
      https://github.com/python-constraint/python-constraint https://github.com/timnon/pyschedule Note: install the most recent fork, (e.g. pip3.10 install "pyschedul