Installation

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

PLATFORM OPERATING SYSTEM PROCESSOR
Windows 32-bit Windows Server 2008, Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 AMD Duron/Intel Pentium3 or later x86 CPU
Windows 64-bit Windows Server 2008, Vista, Windows 7, Windows 8, Windows 8.1, Windows 10 Any AMD64 or Intel EM64T enabled 64-bit CPU
Linux 64-bit RedHat (glibc2.5+) compatible (parallel features require OpenMP) Any AMD64 or Intel EM64T enabled 64-bit CPU
Mac OS X 64-bit Version 10.8 (Mountain Lion) or later Intel EM64T enabled 64-bit CPU

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

Listed below are the C/C++ compilers used to build Knitro, and the Java and Fortran compilers used to test programmatic interfaces. It is usually not difficult for Artelys to compile Knitro in a different environment (for example, it is routinely recompiled to specific versions of gcc on Linux). Contact us if your application requires special compilation of Knitro.

> Windows (32-bit x86)
> > C/C++    > Microsoft Visual Studio C++ 10.0
> > Java:    > 1.6
> > R:       > R 3.0 (R interface)
> Windows (64-bit x86_64)
> > C/C++:   > Microsoft Visual Studio C++ 10.0
> > Java:    > 1.6
> > R:       > R 3.0 (R interface)
> Linux (64-bit x86_64)
> > C/C++:   > gcc/g++ 4.4.7
> > C/C++:   > gcc/g++ 4.1.2 (sequential version)
> > Java:    > 1.6
> > R:       > R 3.0 (R interface), gcc/g++ 4.6.3
> Mac OS X (64-bit x86_64)
> > C/C++:   > gcc/g++ 4.2.1 (XCode 4.4.0)
> > Java:    > 1.6
> > R:       > R 3.0 (R interface)

Note

Note that for 64-bit Linux, the parallel features in the standard Knitro libraries require you to have versions of gcc/g++ that support OpenMP so that these libraries are compatible for linking against. If you wish to use an older version of gcc/g++ on Linux, then you can only use the sequential versions of the Knitro libraries on this platform. See the README file provided in the lib directory for more information.

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.