InstallationΒΆ

Knitro 15.1 is supported on the platforms described in the table below.

PLATFORM

OPERATING SYSTEM

PROCESSOR

Windows 64-bit

Windows 10

Any AMD64 or Intel EM64T enabled 64-bit CPU

Linux 64-bit

RedHat (glibc2.28+) compatible

Any AMD64 or Intel EM64T enabled 64-bit CPU

Linux 64-bit

RedHat (glibc2.28+) compatible

ARM64 CPU

macOS

Version 13 (Big Sur) or later

Apple Silicon

Please, note that support for Mac Intel platform is deprecated from Knitro version 14.2. It will be removed in Knitro versions from 15.1.

For enquiries about using Knitro on unsupported platforms, please contact Artelys.

Listed below are the C/C++ compilers used to build Knitro, and the compilers and interpreters used to test programming interfaces. It is usually not difficult for Artelys to compile Knitro in a different environment. From the 11.1 release, Knitro is compiled with the Intel compilers on most platforms. Contact us if your application requires special compilation of Knitro.

> Windows (64-bit x86_64)
> > C/C++:   > Intel oneAPI C/C++ compiler 2024.2
> > C#:      > C# 4
> > Java:    > Java 8
> > Julia:   > Julia 1.11
> > MATLAB:  > MATLAB 2022b
> > Python:  > Python 3.10
> > R:       > R 4.2
> Linux (64-bit x86_64)
> > C/C++:   > Intel oneAPI C/C++ compiler 2024.2
> > Java:    > Java 8
> > Julia:   > Julia 1.11
> > MATLAB:  > MATLAB 2022b
> > Python:  > Python 3.10
> > R:       > R 4.2
> Linux (64-bit ARM64)
> > C/C++:   > GCC 8
> > Java:    > Java 8
> > Julia:   > Julia 1.11
> > Python:  > Python 3.10
> > R:       > R 4.2
> macOS (Apple Silicon)
> > C/C++:   > Apple clang C/C++ compiler 14
> > Java:    > Java 8
> > Julia:   > Julia 1.11
> > MATLAB:  > MATLAB 2022b
> > Python:  > Python 3.10
> > R:       > R 4.2

Instructions for installing the Knitro package on supported platforms are given below. After installing, view the INSTALL.txt, LICENSE_KNITRO.txt, and README.txt files, then test the installation by running one of the examples provided with the distribution.

The Knitro product contains example interfaces written in various programming languages under the directory examples. Each example consists of a main driver program coded in the given language that defines an optimization problem and invokes Knitro to solve it. Examples also contain a makefile illustrating how to link the Knitro library with the target language driver program.