mobook / MO-book

Hands-On Optimization with Python
https://mobook.github.io/MO-book/
MIT License
162 stars 47 forks source link

Issue on page /notebooks/04/04-exam-room-scheduling.html #86

Open sin3000x opened 3 weeks ago

sin3000x commented 3 weeks ago

For the "each node has to be assigned exactly one color" constraint, the mathematical model says

$$ \sum{i}x{ik}=1, \quad\forall k, $$

but it should be

$$ \sum{k}x{ik}=1, \quad\forall i $$

as in the pyomo model.