Make default implementations of to_model, etc generate an error

This commit is contained in:
2020-08-30 12:02:28 -05:00
parent 083a527a76
commit 4b386613cc
2 changed files with 12 additions and 4 deletions

View File

@@ -2,7 +2,8 @@
# Copyright (C) 2020, UChicago Argonne, LLC. All rights reserved.
# Released under the modified BSD license. See COPYING.md for more details.
import MIPLearn: get_instance_features,
import MIPLearn: to_model,
get_instance_features,
get_variable_features
find_violated_lazy_constraints
using JuMP
@@ -26,7 +27,6 @@ function get_instance_features(data::KnapsackData)
return [0.]
end
function get_variable_features(data::KnapsackData, var, index)
return [0.]
end