<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Glpk on Daniel Hugenroth</title>
    <link>https://www.danielhugenroth.com/tags/glpk/</link>
    <description>Recent content in Glpk on Daniel Hugenroth</description>
    <image>
      <title>Daniel Hugenroth</title>
      <url>https://www.danielhugenroth.com/photo_square.jpg</url>
      <link>https://www.danielhugenroth.com/photo_square.jpg</link>
    </image>
    <generator>Hugo -- 0.140.1</generator>
    <language>en-gb</language>
    <lastBuildDate>Wed, 23 Mar 2022 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://www.danielhugenroth.com/tags/glpk/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Using linear programming (GLPK) for scheduling problems</title>
      <link>https://www.danielhugenroth.com/posts/2022_03_glpk_tutorial/</link>
      <pubDate>Wed, 23 Mar 2022 00:00:00 +0000</pubDate>
      <guid>https://www.danielhugenroth.com/posts/2022_03_glpk_tutorial/</guid>
      <description>&lt;p&gt;&lt;em&gt;This article is an intermediate-level tutorial on using the GNU Linear Programming Kit (GLPK) to solve a real-world scheduling problem. I wrote it, because I found only few good resources online that show specific solution strategies. This article wants to demystify linear programming and help you to start from a working example.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Let&amp;rsquo;s first visit the problem.
Scheduling outings for a rowing club can be tedious &amp;ndash; and sometimes quite hard.
Given a list of squad members and their availabilities, we want to create outings with exactly 1 coach, 1 cox, and 4 people for each side of the boat (bow/stroke).
Rowing is sometimes duped the &amp;ldquo;ultimate team sport&amp;rdquo;, because even one missing person means that the entire crew cannot go out.
When faced with this challenge during term break where many people are only available sporadically, I gave up after trying to do so manually and resorted to &lt;a href=&#34;https://xkcd.com/1319/&#34;&gt;automating it&lt;/a&gt;.
In turn, this allowed me to do more &amp;ldquo;bespoke&amp;rdquo; scheduling where I could offer everyone to provide fine-grained availability and preferences.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
