Skip to content

Commit

Permalink
Add LMcontext to README (#303)
Browse files Browse the repository at this point in the history
  • Loading branch information
odow authored Aug 29, 2024
1 parent 0fb4d31 commit a73b052
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,15 @@ set_attribute(model, "outlev", 1)
set_attribute(model, "algorithm", 4)
```

To use KNITRO's license manager, do:

```julia
using JuMP, KNITRO
manager = KNITRO.LMcontext()
model_1 = Model(() -> KNITRO.Optimizer(; license_manager = manager))
model_2 = Model(() -> KNITRO.Optimizer(; license_manager = manager))
```

## Use with AMPL

To use KNITRO with [AmplNLWriter.jl](https://github.com/jump-dev/AmplNLWriter.jl),
Expand Down

0 comments on commit a73b052

Please sign in to comment.