きのおもむくままに
記事一覧典型問題. ソルバや計算機性能の確認用.
import numpy as np
import pynet as pn
f = './calculation_time.csv'
# output .csv
pn.mp.ilp.tsp.evaluate_calculation_time(
filename=f,
nvs=np.arange(5,16),
nsample=20
)
# read .csv and plot
pn.mp.ilp.tsp.show_calculation_time(filename=f)
M. Desrochers and G. Laporte, “Improvements and extensions to the Miller-Tucker-Zemlin subtour elimination constraints”, Operations Research Letters 10, 27–36 (1991) ↩