You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
MIPLearn.jl/src/extractors.jl

22 lines
884 B

# MIPLearn: Extensible Framework for Learning-Enhanced Mixed-Integer Optimization
# Copyright (C) 2020-2023, UChicago Argonne, LLC. All rights reserved.
# Released under the modified BSD license. See COPYING.md for more details.
global FeaturesExtractor = PyNULL()
global AlvLouWeh2017Extractor = PyNULL()
global DummyExtractor = PyNULL()
global H5FieldsExtractor = PyNULL()
function __init_extractors__()
copy!(FeaturesExtractor, pyimport("miplearn.extractors.abstract").FeaturesExtractor)
copy!(
AlvLouWeh2017Extractor,
pyimport("miplearn.extractors.AlvLouWeh2017").AlvLouWeh2017Extractor,
)
copy!(DummyExtractor, pyimport("miplearn.extractors.dummy").DummyExtractor)
copy!(H5FieldsExtractor, pyimport("miplearn.extractors.fields").H5FieldsExtractor)
end
export FeaturesExtractor, AlvLouWeh2017Extractor, DummyExtractor, H5FieldsExtractor