Skip to content

Commit 0860e9c

Browse files
authored
[KNITRO] Update docs (#93)
* Fix parameter name for setting NLP algorithm in KNITRO model * Update KNITRO installation instructions to reflect MacOS support changes
1 parent accc9c1 commit 0860e9c

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

docs/source/getting_started.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ The typical paths where the dynamic library of optimizers are located are as fol
105105
- `C:\Program Files\Artelys\KNITRO 15.1\lib`
106106
- `/opt/knitro/15.1/lib`
107107
- `/opt/knitro/15.1/lib`
108-
- `/opt/knitro/15.1/lib`
108+
- ``
109109
:::
110110

111111
### Gurobi
@@ -171,6 +171,8 @@ For KNITRO, the automatic detection looks for the following things in order:
171171
2. `knitro.dll`/`libknitro.so`/`libknitro.dylib` in the system loadable path
172172
3. The installation of `knitro` PyPI package.
173173

174+
KNITRO dropped support for MacOS intel since version 15.0, so using KNITRO on MacOS intel is not supported.
175+
174176
## Manually specifying the path of the dynamic library of optimizer
175177

176178
If the automatic detection fails or you want to use the optimizer in a customized location, you can manually specify the path of the dynamic library of the optimizer.
@@ -242,7 +244,7 @@ The typical paths where the dynamic library of optimizers are located are as fol
242244
- `C:\Program Files\Artelys\KNITRO 15.1\lib\knitro.dll`
243245
- `/opt/knitro/15.1/lib/libknitro.so`
244246
- `/opt/knitro/15.1/lib/libknitro.dylib`
245-
- `/opt/knitro/15.1/lib/libknitro.dylib`
247+
- ``
246248
:::
247249

248250
## Let's build a simple model and solve it

docs/source/knitro.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ For [solver-specific parameters](https://www.artelys.com/app/docs/knitro/2_userG
6262
model = knitro.Model()
6363

6464
# Set the value of a parameter by name
65-
model.set_raw_parameter("algorithm", 1)
65+
model.set_raw_parameter("nlp_algorithm", 1)
6666
model.set_raw_parameter("feastol", 1e-8)
6767
model.set_raw_parameter("opttol", 1e-8)
6868

0 commit comments

Comments
 (0)