Skip to main content

Python interface to the nonlinear programming solver Artelys Knitro

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

knitro-15.1.0-py3-none-win_amd64.whl (68.5 MB view details)

Uploaded Python 3Windows x86-64

knitro-15.1.0-py3-none-manylinux_2_28_x86_64.whl (70.5 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ x86-64

knitro-15.1.0-py3-none-manylinux_2_28_aarch64.whl (12.7 MB view details)

Uploaded Python 3manylinux: glibc 2.28+ ARM64

knitro-15.1.0-py3-none-macosx_13_0_arm64.whl (8.6 MB view details)

Uploaded Python 3macOS 13.0+ ARM64

File details

Details for the file knitro-15.1.0-py3-none-win_amd64.whl.

File metadata

  • Download URL: knitro-15.1.0-py3-none-win_amd64.whl
  • Upload date:
  • Size: 68.5 MB
  • Tags: Python 3, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.2

File hashes

Hashes for knitro-15.1.0-py3-none-win_amd64.whl
Algorithm Hash digest
SHA256 4e790660e7805dedcea896360d4f750afb82f5eab8233f83c636c58cc889e82d
MD5 48b30c4ce2a4675663af7bbec00669ca
BLAKE2b-256 dac5543ec0e5f11ed965ac59e6003eeecbf8d7c6201baade717981bbd59950c5

See more details on using hashes here.

File details

Details for the file knitro-15.1.0-py3-none-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for knitro-15.1.0-py3-none-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 87afd12e2a4ef7eb468b46d5ac5aa89e1a4bb96d00f12aabf260037f13cdddcc
MD5 841bb62970922656de86bdc657b290d5
BLAKE2b-256 0ddedc56dd6c368fdcda8227c026d792095e1b49f9d3ef6ebccc3b2118a92147

See more details on using hashes here.

File details

Details for the file knitro-15.1.0-py3-none-manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for knitro-15.1.0-py3-none-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 97bea046c6bf0ce4dd1272148d97caf21ebadd4deca2ea65d68f927aa381ab56
MD5 42586ea00c51c229015c40fae2e865f0
BLAKE2b-256 53c4716861f408ca9cd6d25e36ee81f369ba7f7e84cbfa458c830f4abb2b3954

See more details on using hashes here.

File details

Details for the file knitro-15.1.0-py3-none-macosx_13_0_arm64.whl.

File metadata

File hashes

Hashes for knitro-15.1.0-py3-none-macosx_13_0_arm64.whl
Algorithm Hash digest
SHA256 86bb47e608f5f9978d0067af536a69dc48427867bd15d3070885883a09728dcc
MD5 69a6e1b92bb8b81e086abcdec4217ecd
BLAKE2b-256 35b42fe70abca447113efdbda7bea2f87d55e4aa1101da7da2af4437014d6059

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page