Skip to content

Commit 80098c0

Browse files
authored
don't recommend passing optimizer attributes to constructors (#995)
1 parent b55cc2e commit 80098c0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/src/apimanual.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1100,8 +1100,7 @@ appropriate constraint bridges for unsupported constraints.
11001100

11011101
### Solver-specific attributes
11021102

1103-
Solver-specific attributes should either be passed to the optimizer on creation,
1104-
e.g., `MyPackage.Optimizer(PrintLevel = 0)`, or through a sub-type of
1103+
Solver-specific attributes should be specified by creating an
11051104
[`AbstractOptimizerAttribute`](@ref). For example, inside `MyPackage`, we could
11061105
add the following:
11071106
```julia

0 commit comments

Comments
 (0)