# Packing students into dorm using simulated annealing

DevFeed: [Packing students into dorm using simulated annealing](<https://devfeed.tech/articles/packing-students-into-dorm-using-simulated-annealing-20580.md>)

Original publisher: [Read original article](<https://yurichev.com/blog/students/>)

Published: 2019-06-27T22:00:00Z

Content type: tutorial

Language: en

Sources: [Dennis Yurichev](<https://devfeed.tech/sources/dennis-yurichev.md>)

Topics: [Algorithm](<https://devfeed.tech/topics/algorithm.md>), [Algorithms](<https://devfeed.tech/topics/algorithms.md>)

Tags: [algorithm](<https://devfeed.tech/tags/algorithm.md>), [examples](<https://devfeed.tech/tags/examples.md>)

## AI overview

The article explains how to assign students to dormitory rooms using simulated annealing so roommates share as many interests as possible. It notes that repeated execution can improve the result and contrasts the approach with a MaxSAT solution.

## Source excerpt

Packing students into dorm using simulated annealing