Skip to content

Commit e76e5f6

Browse files
committed
update Nutshell
1 parent 2c6d14b commit e76e5f6

2 files changed

Lines changed: 16 additions & 8 deletions

File tree

content/en/docs/_index.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ menu:
1010

1111
This section is where the documentation for Choco-solver lives - all the information you need to understand and successfully use in your project.
1212

13+
<big>📽️</big> If you don't know what CP stands for, here is <a href="/nutshell/#" target="_blank">a presentation</a>.
14+
1315
<big>📽️</big> One way to get started is to follow <a href="/overview/#" target="_blank">this presentation</a> before consulting the documentation.
1416

1517
<big>📽️</big> One way to understand how a CP solver works is to follow <a href="/tinytiny/#" target="_blank">this presentation</a>.

content/en/nutshell/_index.md

Lines changed: 14 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ highlight_theme = "github"
1111
## CP in a Nutshell
1212

1313
</br>
14-
Charles Prud'homme, Sept. 2025
14+
Charles Prud'homme, Philippe David
15+
16+
Sept. 2025
1517

1618
IMT Atlantique, LS2N, TASC
1719

@@ -22,11 +24,11 @@ IMT Atlantique, LS2N, TASC
2224

2325
## Constraint Programming
2426

25-
CP is a powerful paradigm for solving combinatorial problems.
27+
Powerful paradigm for solving {{% calert c="combinatorial problems" %}}
2628

27-
Originated from AI and operations research.
29+
Originated from {{% calert c="AI" %}} and {{% calert c="OR" %}}
2830

29-
Widely used in scheduling, planning, and resource allocation.
31+
Widely used in scheduling, planning, configuration, etc.
3032

3133
---
3234

@@ -73,6 +75,10 @@ CP is more flexible in expressing combinatorial relationships.
7375

7476
# P = (V,D,C)
7577

78+
- A set of variables : X = {X1, X2, ..., Xn}
79+
- A domain for each variable: D = {D1, D2, ..., Dn}
80+
- A set of constraints: C = {C1, C2, ..., Cm}
81+
7682
---
7783

7884
## What is a Variable?
@@ -106,10 +112,10 @@ A constraint defines a condition that must be satisfied by the variables in its
106112
---
107113

108114
### Examples
109-
- In Sudoku, "each row must contain all numbers from 1 to 9" is a constraint.
110-
- In scheduling, "no two tasks can happen at the same time" is a constraint.
111-
- In routing, "each node must be visited exactly once" is a constraint.
112-
- In packing, "the sum of weights in each bin must not exceed the bin capacity" is a constraint.
115+
- In Sudoku, "_each row must contain all numbers from 1 to 9_" is a constraint.
116+
- In scheduling, "_no two tasks can happen at the same time_" is a constraint.
117+
- In routing, "_each node must be visited exactly once_" is a constraint.
118+
- In packing, "_the sum of weights in each bin must not exceed the bin capacity_" is a constraint.
113119

114120
---
115121

0 commit comments

Comments
 (0)