<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>matsu7874</author_name>
  <author_url>https://blog.hatena.ne.jp/matsu7874/</author_url>
  <blog_title>matsu7874のブログ</blog_title>
  <blog_url>https://matsu7874.hatenablog.com/</blog_url>
  <categories>
    <anon>シフトスケジューリング</anon>
    <anon>Python</anon>
  </categories>
  <description>2015年にシフトを自動で組むプログラムをPythonで書いた - matsu7874のブログを書いているのですが、これはランダムで100案作って制約を満たすか確認する雑な実装なので、もう少し勉強して書き直してみるシリーズの第一回目です。 問題設定 N日分のシフト枠をM人のワーカーで埋める 入力 N,Mと各ワーカーのNG日程のリスト 例：5日3人の場合、下記の入力でworker0はday2がNG、worker3はday0,1,2がNGということを表します。 [ [2,], [3,], [4,], [0,1,2,], [2,3,4,], ] 満たすべき制約 各ワーカーのNGを優先する。 毎日ca…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmatsu7874.hatenablog.com%2Fentry%2F2019%2F05%2F29%2F045654&quot; title=&quot;Pythonでシフトを自動で組む - matsu7874のブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-05-29 04:56:54</published>
  <title>Pythonでシフトを自動で組む</title>
  <type>rich</type>
  <url>https://matsu7874.hatenablog.com/entry/2019/05/29/045654</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
