opthub-org / problem-machine-scheduling

0 stars 0 forks source link

SCIPのinfeasibleな解の取り扱い #53

Closed TakatoKinoshita closed 1 year ago

TakatoKinoshita commented 1 year ago

課題


~今の方針~

~今の方針~

今の方針


他の選択肢


参考

TakatoKinoshita commented 1 year ago

f28f6434c6399378692ecd4658f4ef6f6eb660ea での実行結果

{"timeout": 20000,"weights": [0.26987797048323037,0.5,0.5,0.7301220295167696],"schedule": [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}
{"objective": [-72000.0, 1.7976931348623157e+308, 1.7976931348623157e+308, 1.7976931348623157e+308], "constraint": null, "error": null, "info": {"exe_time": 0.6100991290004458}}

f1がsys.float_info.maxではなさそうなのが気になる.


予想される影響

TakatoKinoshita commented 1 year ago

56086bfa9dc8964eb81dccce8171173e6e8c57f7 での実行結果

{"timeout": 20000,"weights": [0.26987797048323037,0.5,0.5,0.7301220295167696],"schedule": [1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1]}
{"objective": null, "constraint": null, "error": null, "info": {"exe_time": 0.5444604110089131}}

この結果を使った,indicatorでの実行結果

{"objective": null, "constraint": null, "error": null, "info": {"exe_time": 0.5444604110089131}}
[{"objective": [0, 0.5, 1], "info": {"exe_time": 20}, "score": 0.06600000000000007}, {"objective": [0.5, 1, 0], "info": {"exe_time": 20}, "score": 0.12600000000000014}, {"objective": [1, 0.5, 0], "info": {"exe_time": 20}, "score": 0.17600000000000016}]
WARNING:__main__:Current solution is not feasible.
{"score": 0.17600000000000016}

上手くいってそうなので,とりあえずこれでPR