Constraint programming
Programming paradigm wherein relations between variables are stated in the form of constraints
Constraint programming (CP) is a paradigm for solving combinatorial problems that draws on a wide range of techniques from artificial intelligence, computer science, and operations research. In constraint programming, users declaratively state the constraints on the feasible solutions for a set of decision variables.
Nº Q528588 ★
Common · Knowledge
Constraint programming
Programming paradigm wherein relations between variables are stated in the form of constraints
Constraint programming (CP) is a paradigm for solving combinatorial problems that draws on a wide range of techniques from artificial intelligence, computer science, and operations research. In constraint programming, users declaratively state the constraints on the feasible solutions for a set of decision variables.
Last price
—
Floor price
—
7-day median
—
30-day sales
0
30-day range
—
In circulation
0
Price history
median
low – high
sales
No sales in this period
Show table
| Date | median | Low | High | sales |
|---|
Sales history
- Last sale
- —
- 30-day average
- —
- 30-day low
- —
- 30-day high
- —
- Sales 7d
- 0
- Sales 30d
- 0
No sales yet.
Anonymous sales: no buyer or seller shown. Figures count player-to-player sales only.
From Wikipedia
Constraint programming (CP) is a paradigm for solving combinatorial problems that draws on a wide range of techniques from artificial intelligence, computer science, and operations research. In constraint programming, users declaratively state the constraints on the feasible solutions for a set of decision variables. Constraints differ from the common primitives of imperative programming languages in that they do not specify a step or sequence of steps to execute, but rather the properties of a solution to be found. In addition to constraints, users also need to specify a method to solve these constraints. This typically draws upon standard methods like chronological backtracking and constraint propagation, but may use customized code like a problem-specific branching heuristic. Constraint programming takes its root from and can be expressed in the form of constraint logic programming, which embeds constraints into a logic program. This variant of logic programming is due to Jaffar and Lassez, who extended in 1987 a specific class of constraints that were introduced in Prolog II. The first implementations of constraint logic programming were Prolog III, CLP(R), and CHIP. Instead of logic programming, constraints can be mixed with functional programming, term rewriting, and imperative languages. Programming languages with built-in support for constraints include Oz (functional programming) and Kaleidoscope (imperative programming). Mostly, constraints are implemented in imperative languages via constraint solving toolkits, which are separate libraries for an existing imperative language.
Text: Wikipédia, CC BY-SA 4.0. · Image: Vineet.karkera (CC BY-SA 3.0) ·
Related cards
-
D
Data-driven programming
Programming paradigm
Nº Q287472 ★
Not listed
-
P
Procedural programming
Programming paradigm
Nº Q1418502 ★★★
Not listed
-
F
Functional programming
Programming paradigm based on applying and composing functions
Nº Q193076 ★★★
Not listed
-
E
Event-driven programming
Programming paradigm
Nº Q1135914 ★★★
Not listed
-
C
Concurrent computing
Form of computing in which several computations logically execute during overlapping time periods
Nº Q128392 ★★
Not listed
-
Modular programming
Structured programming technique where a program is divided into modules with specific functions
Nº Q6453666 ★
Not listed