You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pyomo/contrib/solver/solvers/knitro/config.py
+13-2Lines changed: 13 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,13 @@ def __init__(
35
35
ConfigValue(
36
36
domain=Bool,
37
37
default=False,
38
-
doc="KNITRO solver does not allow variable removal. We can either make the variable a continuous free variable or rebuild the whole model when variable removal is attempted. When `rebuild_model_on_remove_var` is set to True, the model will be rebuilt.",
38
+
doc=(
39
+
"KNITRO solver does not allow variable removal. We can "
40
+
"either make the variable a continuous free variable or "
41
+
"rebuild the whole model when variable removal is "
42
+
"attempted. When `rebuild_model_on_remove_var` is set to "
43
+
"True, the model will be rebuilt."
44
+
),
39
45
),
40
46
)
41
47
@@ -44,6 +50,11 @@ def __init__(
44
50
ConfigValue(
45
51
domain=Bool,
46
52
default=False,
47
-
doc="To evaluate non-linear constraints, KNITRO solver sets explicit values on variables. This option controls whether to restore the original variable values after solving.",
0 commit comments