We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ERROR: LoadError: ArgumentError: The optimizer ParametricOptInterface.Optimizer{Float64, Xpress.Optimizer} does not support `compute_conflict!` Stacktrace: [1] compute_conflict!(optimizer::ParametricOptInterface.Optimizer{Float64, Xpress.Optimizer}) @ MathOptInterface C:\Users\guilhermebodin\.julia\packages\MathOptInterface\mz9FK\src\MathOptInterface.jl:108 [2] compute_conflict!(model::Model) @ JuMP C:\Users\guilhermebodin\.julia\packages\JuMP\glJ0u\src\optimizer_interface.jl:502
Probably a simple new dispatch would do the trick
The text was updated successfully, but these errors were encountered:
I got waylaid by #151, but then this should be sufficient:
diff --git a/src/MOI_wrapper.jl b/src/MOI_wrapper.jl index 4915b22..34b1850 100644 --- a/src/MOI_wrapper.jl +++ b/src/MOI_wrapper.jl @@ -1363,3 +1363,19 @@ function MOI.optimize!(model::Optimizer) end return end + +# +# compute_conflict! +# + +function MOI.compute_conflict!(model::Optimizer) + return MOI.compute_conflict!(model.optimizer) +end + +function MOI.get( + model::Optimizer, + attr::MOI.ConstraintConflictStatus, + ci::MOI.ConstraintIndex{MOI.VariableIndex,<:MOI.Parameter}, +) + return MOI.MAYBE_IN_CONFLICT +end
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Probably a simple new dispatch would do the trick
The text was updated successfully, but these errors were encountered: