The Xpress Optimizer is a commercial optimization solver for a variety of mathematical programming problems, including linear programming (LP), quadratic programming (QP), quadratically constrained programming (QCP), mixed integer linear programming (MILP), mixed-integer quadratic programming (MIQP), and mixed-integer quadratically constrained programming (MIQCP).
The Xpress solver is considered one of the best solvers (in terms of performance and success rate of tackling hard problems) in math programming, and its performance is comparable to (and sometimes superior to) CPLEX. Academic users can obtain a Xpress license for free.
This package is a wrapper of the Xpress solver (through its C interface). Currently, this package supports the following types of problems:
Linear programming (LP) Mixed Integer Linear Programming (MILP) Quadratic programming (QP) Mixed Integer Quadratic Programming (MIQP) Quadratically constrained quadratic programming (QCQP) Second order cone programming (SOCP) Mixed integer second order cone programming (MISOCP) The Xpress wrapper for Julia is community driven and not officially supported by Xpress. If you are a commercial customer interested in official support for Julia from Xpress, let them know!
Here is the procedure to setup this package:
Obtain a license of Xpress and install Xpress solver, following the instructions on FICO's website.
Install this package using
Make sure the XPRESSDIR environmental variable is set to the path of the Xpress directory. This is part of a standard installation. The Xpress library will be searched for in XPRESSDIR/lib on unix platforms and XPRESSDIR/bin on Windows.
Now, you can start using it.
You should use the xpress version matching to your julia installation and vice-versa
This can be done using the
Xpress.Optimizer object. Here is how to create a JuMP model that uses Xpress as the solver. Parameters are passed as keyword arguments:
using JuMP, Xpress m = Model(with_optimizer(Xpress.Optimizer, DEFAULTALG=2, PRESOLVE=0))
For other parameters use Xpress Optimizer manual.
This package provides both APIs at different levels for constructing models and solving optimization problems just like Gurobi.jl, you can use the tests and examples in this package and Gurobi.jl's README.md basic for reference.
5 days ago