Skip to content

Commit 7d49f05

Browse files
committed
update
1 parent bc5c110 commit 7d49f05

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,6 @@ deps/artelys*
55
deps/build.log
66
test/*.mps
77
deps/knitro*
8+
9+
# VSCode settings
10+
.vscode/

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,16 @@ model = Model(KNITROMathOptInterfaceExt.Optimizer)
130130
## Use with AMPL
131131

132132
To use KNITRO with [AmplNLWriter.jl](https://github.com/jump-dev/AmplNLWriter.jl),
133-
use `KNITRO.amplexe`:
133+
use `KNITRO_jll.knitroampl`:
134+
135+
```julia
136+
using JuMP
137+
import AmplNLWriter
138+
import KNITRO_jll
139+
model = Model(() -> AmplNLWriter.Optimizer(KNITRO_jll.knitroampl, ["outlev=3"]))
140+
```
141+
142+
However, if you have installed KNITRO manually (see above), you will need to use `KNITRO.amplexe` instead:
134143

135144
```julia
136145
using JuMP

0 commit comments

Comments
 (0)