WOLFRAM

  • "Xpress" calls the Xpress optimization solver library.

Details

  • TemplateBox[{Xpress, {URL[https://www.fico.com/en/products/fico-xpress-solver], None}, http://gurobi.com, HyperlinkActionRecycled, {HyperlinkActive}, BaseStyle -> {Hyperlink}, HyperlinkAction -> Recycled}, HyperlinkTemplate] is a commercial optimization solver for linear, quadratic, quadratically constrained quadratic and second-order cone problems with real and mixed-integer variables.
  • View the workflow page for information on how to get a license for Xpress.
  • Method"Xpress" can be used in any convex optimization function as well as with NMinimize and related functions for appropriate problems.
  • Possible options for method "Xpress" and their corresponding default values are:
  • MaxIterationsAutomaticmaximum number of iterations to use
    ToleranceAutomaticthe tolerance to use for internal comparison

Examples

open allclose all

Basic Examples  (2)Summary of the most common use cases

Minimize subject to the constraint with method "Xpress":

Out[30]=30

Minimize TemplateBox[{{{, {x, ,, y}, }}}, Norm] subject to the constraints , for integer with method "Xpress":

Out[1]=1

Scope  (11)Survey of the scope of standard use cases

Applicable Functions  (6)

Use NMaximize with method "Xpress" to maximize 1-TemplateBox[{{x, +, {2, y}}}, Abs] subject to linear constraints:

Out[2]=2

Use ConvexOptimization with method "Xpress" to minimize TemplateBox[{{{, {x, ,, {2,  , y}}, }}}, Norm] subject to :

Out[1]=1

Get the minimum value and the minimizing vector using solution properties:

Out[2]=2

Use ConicOptimization with method "Xpress" to minimize subject to :

Out[1]=1

Use SecondOrderConeOptimization to minimize subject to :

Out[1]=1

Define the objective as and the constraints as TemplateBox[{{{{a, _, i}, ., x}, +, {b, _, i}}}, Norm]<=alpha_i.x+beta_i,i=1,2:

Solve using matrix-vector inputs:

Out[3]=3

Use QuadraticOptimization to minimize subject to and :

Out[1]=1

Define the objective as and constraints as and :

Solve using matrix-vector inputs:

Out[3]=3

Use LinearOptimization to minimize subject to :

Out[1]=1

Combine the coefficients into and use a vector variable :

Out[2]=2

Scalable Problems  (5)

Minimize Total[x] subject to the constraint using vector variable with non-negative values:

Out[8]=8

Minimize Total[x] subject to the constraint with a non-negative integer-valued vector:

Out[2]=2

Minimize Total[x] subject to the constraint using a vector variable :

Out[2]=2

Minimize the sum of the integer-valued coordinates of a point lying within a 1,000-dimensional unit ball:

Out[1]=1

Minimize for a symmetric semidefinite matrix , subject to constraint :

Out[2]=2