ファイル配置最適化問題に対して MIP(混合整数計画問題) と LP(線形計画問題) の解を比較する。ちなみに MIP の方は変数に binary 条件(0 か 1)が付いていて、LP の方は 0 から 1 の間の実数条件が付いている。少し見にくいのだが、例えば MIP の最適解では x[h40] = x[h42] = 1 になっているが、LP の最適解では x[h40] = x[h42] = 0 になっている。また、MIP では x[h95 から h102] までが 0 で、x[h103] のみが、1になっているが、LP では x[h95 から h103] までが 0.1 になっている。
MIP として簡単な問題は LP の最適解と MIP の最適解の変数の値が近い場合もあるが、このように少し複雑な MIP になってくると、両者の変数の値が大きく離れてくる場合もある。よって、LP の解を使って(変形して)、近似解法を作るのは困難な場合もあるだろう。
min_rep_under_thput_39600.0_test18.mip.out
No. Column name Activity Lower bound Upper bound
------ ------------ ------------- ------------- -------------
39 x[h39] * 0 0 1
40 x[h40] * 1 0 1
41 x[h42] * 1 0 1
42 x[h43] * 0 0 1
中略
91 x[h94] * 0 0 1
92 x[h95] * 0 0 1
93 x[h96] * 0 0 1
94 x[h97] * 0 0 1
95 x[h98] * 0 0 1
96 x[h99] * 0 0 1
97 x[h100] * 0 0 1
98 x[h101] * 0 0 1
99 x[h102] * 0 0 1
100 x[h103] * 1 0 1
min_rep_under_thput_39600.0_test18.lp.out
No. Column name St Activity Lower bound Upper bound Marginal
------ ------------ -- ------------- ------------- ------------- -------------
39 x[h39] NL 0 0 1 <eps
中略
91 x[h94] B 0 0 1
92 x[h95] B 0.1 0 1
93 x[h96] B 0.1 0 1
94 x[h97] B 0.1 0 1
95 x[h98] B 0.1 0 1
96 x[h99] B 0.1 0 1
97 x[h100] B 0.1 0 1
98 x[h101] B 0.1 0 1
99 x[h102] B 0.1 0 1
100 x[h103] B 0.1 0 1
MIP として簡単な問題は LP の最適解と MIP の最適解の変数の値が近い場合もあるが、このように少し複雑な MIP になってくると、両者の変数の値が大きく離れてくる場合もある。よって、LP の解を使って(変形して)、近似解法を作るのは困難な場合もあるだろう。
min_rep_under_thput_39600.0_test18.mip.out
No. Column name Activity Lower bound Upper bound
------ ------------ ------------- ------------- -------------
39 x[h39] * 0 0 1
40 x[h40] * 1 0 1
41 x[h42] * 1 0 1
42 x[h43] * 0 0 1
中略
91 x[h94] * 0 0 1
92 x[h95] * 0 0 1
93 x[h96] * 0 0 1
94 x[h97] * 0 0 1
95 x[h98] * 0 0 1
96 x[h99] * 0 0 1
97 x[h100] * 0 0 1
98 x[h101] * 0 0 1
99 x[h102] * 0 0 1
100 x[h103] * 1 0 1
min_rep_under_thput_39600.0_test18.lp.out
No. Column name St Activity Lower bound Upper bound Marginal
------ ------------ -- ------------- ------------- ------------- -------------
39 x[h39] NL 0 0 1 <eps
中略
91 x[h94] B 0 0 1
92 x[h95] B 0.1 0 1
93 x[h96] B 0.1 0 1
94 x[h97] B 0.1 0 1
95 x[h98] B 0.1 0 1
96 x[h99] B 0.1 0 1
97 x[h100] B 0.1 0 1
98 x[h101] B 0.1 0 1
99 x[h102] B 0.1 0 1
100 x[h103] B 0.1 0 1