<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>inarizuuuushi</author_name>
  <author_url>https://blog.hatena.ne.jp/inarizuuuushi/</author_url>
  <blog_title>Sabrou-mal サブロウ丸</blog_title>
  <blog_url>https://inarizuuuushi.hatenablog.com/</blog_url>
  <categories>
    <anon>線形計画法</anon>
    <anon>CBC</anon>
  </categories>
  <description>この記事の続きです。 inarizuuuushi.hatenablog.com この記事の中で2通りの方法を載せていますが、どちらの方が良いか調べてみたのでその報告です。 上の問題を解きます。 それぞれ制約の入れ方は 以前の記事では、2つ目のパターンでは分数の形で記述していましたが、実際にソルバー(cbc)に問題を入力する際は分母を払った方が劇的に実行時間が早くなりました。(他の高級なソルバーだと特に影響はないかもしれませんが...) それぞれ計算時間は n 1 2 1000 0.735s 0.465s 10000 5.95s 3.20s 100000 59.9s 33.3s 500000 5…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Finarizuuuushi.hatenablog.com%2Fentry%2F2017%2F08%2F25%2F072758&quot; title=&quot;線形計画問題における、とある条件を持つバイナリ変数の表現方法について - その2 - Sabrou-mal サブロウ丸&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/i/inarizuuuushi/20170816/20170816111716.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-08-25 07:27:58</published>
  <title>線形計画問題における、とある条件を持つバイナリ変数の表現方法について - その2</title>
  <type>rich</type>
  <url>https://inarizuuuushi.hatenablog.com/entry/2017/08/25/072758</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
