We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a481d6e commit 0d4ecccCopy full SHA for 0d4eccc
docs/src/apimanual.md
@@ -839,10 +839,10 @@ will additionally support `ScalarAffineFunction`-in-`Interval`.
839
840
Solver-specific attributes should either be passed to the optimizer on creation,
841
e.g., `MyPackage.Optimizer(PrintLevel = 0)`, or through a sub-type of
842
-[`AbstractSolverAttribute`](@ref). For example, inside `MyPackage`, we could add
+[`AbstractOptimizerAttribute`](@ref). For example, inside `MyPackage`, we could add
843
the following:
844
```julia
845
-struct PrintLevel <: MOI.AbstractSolverAttribute end
+struct PrintLevel <: MOI.AbstractOptimizerAttribute end
846
function MOI.set(model::Optimizer, ::PrintLevel, level::Int)
847
# ... set the print level ...
848
end
0 commit comments