<?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.yomogi2017.xyz/</blog_url>
  <categories>
    <anon>PC</anon>
  </categories>
  <description>こないだの記事の続きというか焼き直しです。www.yomogi2017.xyz 扱うのは同じ「0-1ナップサック問題」で、詳細を再掲します。 価値、重量がそれぞれ異なるアイテムがいくつかあり、定められた上限重量以内で価値が最大になるようにアイテムを選択する 1つのアイテムを分割したり2回以上選択することはできない 重量は整数とする 解法も同様に動的計画法とします。 ではやってみます。 まずはワークシート。 入力部 上限重量入力欄……B4 アイテム価値/重量入力欄……B8:C107 （ただし下記のコードは価値と重量の両方が入力されている限り、アイテムが100個を超えても処理します） 出力部 価値…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fwww.yomogi2017.xyz%2Fentry%2F2019%2F01%2F15%2F182847&quot; title=&quot;ナップサック問題をEXCEL VBAで解く - しいたけと猫が好き&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/20190115/20190115175904.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-15 18:28:47</published>
  <title>ナップサック問題をEXCEL VBAで解く</title>
  <type>rich</type>
  <url>https://www.yomogi2017.xyz/entry/2019/01/15/182847</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
