knitro 15.1.0


pip install knitro

  Latest version

Released: Dec 17, 2025


Meta
Author: Artelys
Maintainer: Artelys
Requires Python: >=3.6

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers
  • Information Technology
  • Science/Research

Topic
  • Scientific/Engineering
  • Scientific/Engineering :: Mathematics
  • Software Development :: Libraries :: Python Modules

Programming Language
  • Python :: 3
  • Python
  • C++
  • C
  • C#
  • Java
  • Fortran
  • R

Artelys Knitro 15.1

Knitro is a software package for solving optimization problems, with or without constraints. It is the leading solver for non-linear programs, including non-convex ones, and is also suited to easier classes of problems such as linear, quadratic or convex programs.

This package contains the solver binaries and the Python interface for Knitro.

Acquiring a user license

In order to use Knitro, you will need a valid license. If you do not yet have one, please visit http://www.artelys.com/knitro in order to obtain a trial license and start using Knitro.

To generate a license for you, we often require an Artelys-specific identifier called the "machine-id". To know your machine-id, the simplest method is to open a Python console in an environment with the Knitro package installed, and run the command: python -c "import knitro; knitro.KN_new()". A message detailing your machine-id will appear near the top of the output.

Once you've obtained it, the simplest way to ensure your license is recognized is to place the license file in the appropriate folder: C:\Program Files\Artelys\ on Windows, and the home directory on Unix systems (Linux, macOS...).

Getting started with Knitro

For further details on Knitro and its Python interface, please consult the Knitro user manual at https://www.artelys.com/app/docs/knitro/index.html. It includes several examples of how to use the Python interface in order to model and solve problems using Knitro.

Other

For questions not answered by the user manual or bug reports, please contact your local Knitro distributor or Artelys at:

info-knitro@artelys.com http://www.artelys.com/knitro

Copyright 2025 Artelys. All rights reserved.

No dependencies