Knitro command line interface (CLI)ΒΆ
Knitro offers a command line interface via an executable contained
in the bin folder of Knitro distributions, called knitro.exe
on Windows and knitro on Linux/MacOS. It currently supports models formulated in
MPS or LP format.
Usage of the CLI is as follows:
<executable> <input-file> [option1=value] [option2=value] ...
where executable is the path to the Knitro CLI executable and
input-file is the path to the problem definition file in MPS or LP format.
For easy detection of problem format, it is recommended that the file extension be
.mps or .lp.
You can append an arbitrary number of option/value pairs specifying Knitro user options,
with an = sign between option and value and a whitespace after each pair.
Please refer to Knitro user options for the list of supported user options.