Skip to content

Commit 735a0d0

Browse files
committed
Fix parameter name for setting NLP algorithm in KNITRO model
1 parent 123d0cb commit 735a0d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)