25.11.2015 Views

The MOSEK Python optimizer API manual Version 7.0 (Revision 141)

Optimizer API for Python - Documentation - Mosek

Optimizer API for Python - Documentation - Mosek

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

F.2. THE LP FILE FORMAT 599<br />

minimize/maximize<br />

c T x + 1 2 qo (x)<br />

subject to l c ≤ Ax + 1 2 q(x) ≤ uc ,<br />

l x ≤ x ≤ u x ,<br />

x J integer,<br />

where<br />

• x ∈ R n is the vector of decision variables.<br />

• c ∈ R n is the linear term in the objective.<br />

• q o :∈ R n → R is the quadratic term in the objective where<br />

and it is assumed that<br />

q o (x) = x T Q o x<br />

Q o = (Q o ) T .<br />

• A ∈ R m×n is the constraint matrix.<br />

• l c ∈ R m is the lower limit on the activity for the constraints.<br />

• u c ∈ R m is the upper limit on the activity for the constraints.<br />

• l x ∈ R n is the lower limit on the activity for the variables.<br />

• u x ∈ R n is the upper limit on the activity for the variables.<br />

• q : R n → R is a vector of quadratic functions. Hence,<br />

where it is assumed that<br />

q i (x) = x T Q i x<br />

Q i = (Q i ) T .<br />

• J ⊆ {1, 2, . . . , n} is an index set of the integer constrained variables.<br />

F.2.1<br />

<strong>The</strong> sections<br />

An LP formatted file contains a number of sections specifying the objective, constraints, variable<br />

bounds, and variable types. <strong>The</strong> section keywords may be any mix of upper and lower case letters.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!