Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions docs/source/getting_started.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ The typical paths where the dynamic library of optimizers are located are as fol
- `C:\Program Files\Artelys\KNITRO 15.1\lib`
- `/opt/knitro/15.1/lib`
- `/opt/knitro/15.1/lib`
- `/opt/knitro/15.1/lib`
- ``
:::

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

KNITRO dropped support for MacOS intel since version 15.0, so using KNITRO on MacOS intel is not supported.

## Manually specifying the path of the dynamic library of optimizer

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.
Expand Down Expand Up @@ -242,7 +244,7 @@ The typical paths where the dynamic library of optimizers are located are as fol
- `C:\Program Files\Artelys\KNITRO 15.1\lib\knitro.dll`
- `/opt/knitro/15.1/lib/libknitro.so`
- `/opt/knitro/15.1/lib/libknitro.dylib`
- `/opt/knitro/15.1/lib/libknitro.dylib`
- ``
:::

## Let's build a simple model and solve it
Expand Down
2 changes: 1 addition & 1 deletion docs/source/knitro.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ For [solver-specific parameters](https://www.artelys.com/app/docs/knitro/2_userG
model = knitro.Model()

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

Expand Down
Loading