{"title":"pulp \u306e\u30d0\u30b0\uff1a\u76ee\u7684\u95a2\u6570\u304c\u96f6\u306e\u3068\u304d valid() \u306e\u8fd4\u308a\u5024\u304c\u6b63\u3057\u304f\u306a\u3044","published":"2016-03-16 13:27:31","provider_url":"https://hatena.blog","blog_url":"https://buq.hateblo.jp/","url":"https://buq.hateblo.jp/entry/2016/03/16/132731","author_name":"buq","version":"1.0","author_url":"https://blog.hatena.ne.jp/buq/","blog_title":"buq\u2019s blog","height":"190","width":"100%","description":"python \u306e LP/MIP \u30bd\u30eb\u30d0\u30fc\uff08\u306e\u30e9\u30c3\u30d1\u30fc\uff09\u3067\u3042\u308b pulp \u306e\u30d0\u30b0\u3092\u307f\u3064\u3051\u305f\u306e\u3067\u30e1\u30e2\uff0e GitHub - coin-or/pulp: A python Linear Programming API \u5177\u4f53\u7684\u306b\u306f\uff0c\u76ee\u7684\u95a2\u6570\u304c\u30bc\u30ed\u306e\u5834\u5408\uff0c\u30c0\u30df\u30fc\u5909\u6570\u304c\u73fe\u308c\u3066 solve() \u5f8c\u306e valid() \uff08\u73fe\u5728\u306e\u89e3\u304c\u5b9f\u884c\u53ef\u80fd\u304b\u3069\u3046\u304b\uff09\u306e\u6319\u52d5\u304c\u6b63\u3057\u304f\u306a\u304f\u306a\u308b\uff0e \u30b5\u30f3\u30d7\u30eb import pulp mip1 = pulp.LpProblem('****** MIP1 ******') x = pulp.LpVariable('x') mip1 += (0 * x) mip1 += (x >= 1) mi\u2026","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbuq.hateblo.jp%2Fentry%2F2016%2F03%2F16%2F132731\" title=\"pulp \u306e\u30d0\u30b0\uff1a\u76ee\u7684\u95a2\u6570\u304c\u96f6\u306e\u3068\u304d valid() \u306e\u8fd4\u308a\u5024\u304c\u6b63\u3057\u304f\u306a\u3044 - buq\u2019s blog\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["python","pulp","MIP","mathematical optimization"],"provider_name":"Hatena Blog","type":"rich"}