<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>accs2014</author_name>
  <author_url>https://blog.hatena.ne.jp/accs2014/</author_url>
  <blog_title>いきなり答える備忘録</blog_title>
  <blog_url>https://www.officeisyours.com/</blog_url>
  <categories>
    <anon>Googleスプレッドシート</anon>
  </categories>
  <description>Googleスプレッドシートで関数によりナップザック問題（ナップサック問題）を解く例についてです。 なお、ここでのナップザック問題とは1つのアイテムについて1個または0個を選択する0-1ナップザック問題です。 1セルでの解決にこだわったせいでかなり長い式になっています。 ナップザック問題のような問題も関数で扱うことができます。手順 B,C列にアイテムの価値と重量の組み合わせが記録されています。また、C2にはアイテム数が、C3には上限重量が記録されています。 上限重量を超えない範囲で価値が最大になるようなアイテムの組み合わせを選ぶものとします。 F4セルに次のように入力します。 =TRANSPO…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.officeisyours.com%2Fentry%2F2019%2F06%2F15%2F164843&quot; title=&quot;（Gスプレッドシート）ナップザック問題を関数で解く（総当たり法） - いきなり答える備忘録&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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/accs2014/20200209/20200209061636.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-06-15 16:48:43</published>
  <title>（Gスプレッドシート）ナップザック問題を関数で解く（総当たり法）</title>
  <type>rich</type>
  <url>https://www.officeisyours.com/entry/2019/06/15/164843</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
