Skip to content

Commit

Permalink
Update ParametricOptInterface.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Oct 9, 2023
1 parent a6d0f17 commit 2b9e66d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/ParametricOptInterface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -689,11 +689,17 @@ function MOI.get(model::Optimizer, ::MOI.RawStatusString)
return MOI.get(model.optimizer, MOI.RawStatusString())
end

function MOI.supports(model::Optimizer, attr::MOI.AbstractOptimizerAttribute)
return MOI.supports(model.optimizer, attr)
end

function MOI.get(model::Optimizer, attr::MOI.AbstractOptimizerAttribute)
return MOI.get(model.optimizer, attr)
end

function MOI.set(model::Optimizer, attr::MOI.AbstractOptimizerAttribute, value)
return MOI.set(model.optimizer, attr, value)
MOI.set(model.optimizer, attr, value)
return

Check warning on line 702 in src/ParametricOptInterface.jl

View check run for this annotation

Codecov / codecov/patch

src/ParametricOptInterface.jl#L700-L702

Added lines #L700 - L702 were not covered by tests
end

function MOI.get(model::Optimizer, ::MOI.NumberOfConstraints{F,S}) where {F,S}
Expand Down

0 comments on commit 2b9e66d

Please sign in to comment.