Make package compatible with miplearn:dev

This commit is contained in:
2021-07-28 08:26:47 -05:00
parent 9362c3b268
commit 837165575f
4 changed files with 13 additions and 7 deletions

View File

@@ -375,7 +375,7 @@ function get_variables(
rc = isempty(data.reduced_costs) ? nothing : data.reduced_costs
vf = miplearn.features.VariableFeatures(
vf = miplearn.solvers.internal.Variables(
names=names,
lower_bounds=lb,
upper_bounds=ub,
@@ -463,7 +463,7 @@ function get_constraints(
end
end
return miplearn.features.ConstraintFeatures(
return miplearn.solvers.internal.Constraints(
names=names,
senses=senses,
lhs=lhs,