<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>buq</author_name>
  <author_url>https://blog.hatena.ne.jp/buq/</author_url>
  <blog_title>buq’s blog</blog_title>
  <blog_url>https://buq.hateblo.jp/</blog_url>
  <categories>
    <anon>python</anon>
    <anon>pulp</anon>
    <anon>MIP</anon>
    <anon>mathematical optimization</anon>
  </categories>
  <description>python の LP/MIP ソルバー（のラッパー）である pulp のバグをみつけたのでメモ． GitHub - coin-or/pulp: A python Linear Programming API 具体的には，目的関数がゼロの場合，ダミー変数が現れて solve() 後の valid() （現在の解が実行可能かどうか）の挙動が正しくなくなる． サンプル import pulp mip1 = pulp.LpProblem('****** MIP1 ******') x = pulp.LpVariable('x') mip1 += (0 * x) mip1 += (x &gt;= 1) mi…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbuq.hateblo.jp%2Fentry%2F2016%2F03%2F16%2F132731&quot; title=&quot;pulp のバグ：目的関数が零のとき valid() の返り値が正しくない - buq’s blog&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>2016-03-16 13:27:31</published>
  <title>pulp のバグ：目的関数が零のとき valid() の返り値が正しくない</title>
  <type>rich</type>
  <url>https://buq.hateblo.jp/entry/2016/03/16/132731</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
