orcompetition1
When submitting a solution to a match, please make sure to meet the following conditions.
参加者は、以下の2116要素(=46*46)の1次元配列をJSON形式で入力してください。
ここで は 番目の都道府県から 番目の都道府県に送る際に次に送る都道府県のprefecture_code(int)です。
例)1:北海道から13:東京へ送る際に、次に2:青森へ送付する場合
また同じ都道府県に送る場合は入力によらずどの都道府県をコストは0となります。
(評価システムの都合上、整数値を入力する必要があるため、 としてください。(自身のprefecture_codeにする。))
検証のためローカルで評価器を実行することができます。
> uv sync
> uv run python linehaul-problem\main.py -c problem -t problem < .\case\test\input.json
INFO:__main__:{'case_name': 'problem', 'case_type': 'problem'}
INFO:__main__:result: {'objective': 211351547.4309249, 'feasible': True, 'constraint': None}
{"objective": 211351547.4309249, "feasible": true, "constraint": null}