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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

594 APPENDIX F. <strong>MOSEK</strong> FILE FORMATS<br />

QSECTION obj<br />

x1 x1 2.0<br />

x1 x3 -1.0<br />

x2 x2 0.2<br />

x3 x3 2.0<br />

ENDATA<br />

Regarding the QSECTIONs please note that:<br />

• Only one QSECTION is allowed for each constraint.<br />

• <strong>The</strong> QSECTIONs can appear in an arbitrary order after the COLUMNS section.<br />

• All variable names occurring in the QSECTION must already be specified in the COLUMNS section.<br />

• All entries specified in a QSECTION are assumed to belong to the lower triangular part of the<br />

quadratic term of Q .<br />

F.1.1.10<br />

BOUNDS (optional)<br />

In the BOUNDS section changes to the default bounds vectors l x and u x are specified. <strong>The</strong> default<br />

bounds vectors are l x = 0 and u x = ∞ . Moreover, it is possible to specify several sets of bound<br />

vectors. A record in this section has the form<br />

?? [name] [vname1] [value1]<br />

where the requirements for each field are:<br />

Field Starting Maximum Re- Description<br />

position width quired<br />

?? 2 2 Yes Bound key<br />

[name] 5 8 Yes Name of the BOUNDS vector<br />

[vname1] 15 8 Yes Variable name<br />

[value1] 25 12 No Numerical value<br />

Hence, a record in the BOUNDS section has the following interpretation: [name] is the name of the<br />

bound vector and [vname1] is the name of the variable which bounds are modified by the record. ??<br />

and [value1] are used to modify the bound vectors according to the following table:<br />

?? lj x u x j Made integer<br />

(added to J )<br />

FR −∞ ∞ No<br />

FX v 1 v 1 No<br />

LO v 1 unchanged No<br />

MI −∞ unchanged No<br />

PL unchanged ∞ No<br />

UP unchanged v 1 No<br />

BV 0 1 Yes<br />

LI ⌈v 1 ⌉ unchanged Yes<br />

UI unchanged ⌊v 1 ⌋ Yes

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

Saved successfully!

Ooh no, something went wrong!