xpresslibs
FICO Xpress Optimizer libraries
Decision gist · record as of 2026-08-14
Yes, if you need to solve optimization problems and can accept a proprietary solver with a free community license tier. The package is actively maintained, has no Python dependency overhead, and runs on major platforms. Verify that the community license meets your use case and that your system can accommodate the compiled native libraries before committing to it in production.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- FICO Xpress Optimizer library must be installed on the system; community license is included but commercial use may require a separate license agreement with FICO.
- Medium install friction due to compiled native libraries across multiple platforms (macOS ARM64, Linux x86_64 and ARM64, Windows x64).
- Package is actively maintained with a release 42 days ago.
License · maintenance · safety
(unclear) — Proprietary software governed by the Xpress Shrinkwrap License Agreement. A community license is included with the package at no cost, but commercial use or advanced features may require a paid license. License treatment is unclear in metadata.
last release 2026-07-03 (42 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 144,717 downloads/mo, #11,145 on PyPI
Alternatives
Verify before relying
pip install xpresslibs
import xpress as xp
p = xp.problem(name='example')
x1 = p.addVariable(vartype=xp.integer, lb=-10, ub=10)
x2 = p.addVariable()
p.setObjective(x1**2 + 2*x2)
p.addConstraint(x1 + 3*x2 >= 4)
p.optimize()
print(p.getSolution(x1), p.getSolution(x2))- Whether the community license has restrictions on problem size, solver features, or commercial deployment
- Specific Python version compatibility (requires_python is unspecified in metadata)
- Whether GPU support via CUDA is production-ready or remains beta-only in version 9.9.1
- Integration capabilities with NumPy and callback support for custom solver logic
What it is and what it does
xpresslibs is a commercial mathematical optimization solver wrapped for Python, allowing you to define and solve optimization problems ranging from simple linear programs to complex mixed-integer nonlinear problems. You describe your problem using Python syntax—defining variables with bounds and types, setting an objective function, and adding constraints—then call optimize() to invoke the underlying FICO Xpress engine.
The package bundles the compiled Xpress Optimizer library itself, so installation includes native binaries for your platform rather than just Python code. It has no runtime Python dependencies, making it self-contained once installed. A community license is included free; commercial deployments or access to advanced solver features may require a paid FICO license.
Use it for
- Solve supply chain optimization problems with integer constraints and large numbers of variables
- Formulate and solve portfolio optimization or financial planning models with quadratic objectives
- Prototype mixed-integer nonlinear programs for engineering design or resource allocation
- Solve Linear Programming (LP), Quadratic Programming (QP), and Second-Order Conic Programming (SOCP) problems
- Deploy optimization models on Linux, macOS, and Windows platforms with consistent behavior
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need to solve optimization problems and can accept a proprietary solver with a free community license tier.
The package is actively maintained, has no Python dependency overhead, and runs on major platforms. Verify that the community license meets your use case and that your system can accommodate the compiled native libraries before committing to it in production.
Install
xpresslibs on PyPI
Before you install
Medium install friction due to compiled native libraries across multiple platforms (macOS ARM64, Linux x86_64 and ARM64, Windows x64). Package is actively maintained with a release 42 days ago. No runtime Python dependencies, reducing downstream compatibility issues.
FICO Xpress Optimizer library must be installed on the system; community license is included but commercial use may require a separate license agreement with FICO.
License in practice
Proprietary software governed by the Xpress Shrinkwrap License Agreement. A community license is included with the package at no cost, but commercial use or advanced features may require a paid license. License treatment is unclear in metadata.
Quickstart
pip install xpresslibs
import xpress as xp
p = xp.problem(name='example')
x1 = p.addVariable(vartype=xp.integer, lb=-10, ub=10)
x2 = p.addVariable()
p.setObjective(x1**2 + 2*x2)
p.addConstraint(x1 + 3*x2 >= 4)
p.optimize()
print(p.getSolution(x1), p.getSolution(x2))
Verify before relying
- Whether the community license has restrictions on problem size, solver features, or commercial deployment
- Specific Python version compatibility (requires_python is unspecified in metadata)
- Whether GPU support via CUDA is production-ready or remains beta-only in version 9.9.1
- Integration capabilities with NumPy and callback support for custom solver logic
Package facts
| License | Not declared unclear |
| Python support | Not specified |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 42 days since the last release |
| First released | |
| Downloads | 144,717 / month, #11,145 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Science/ResearchLicense :: Other/Proprietary LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: CProgramming Language :: C++Topic :: Scientific/EngineeringTopic :: Software Development |
Evidence: xpresslibs-9.9.1-py3-none-macosx_14_0_arm64.whl; xpresslibs-9.9.1-py3-none-manylinux1_x86_64.whl; xpresslibs-9.9.1-py3-none-manylinux2014_aarch64.whl; xpresslibs-9.9.1-py3-none-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
An agent finds packages by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language. Give your agent the search over MCP.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also xpress · optlang · PuLP · swiglpk · Mosek · docplex · cvxopt · pyomo · osqp · fxpmath