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.

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

Field Starting Maximum Re- Description<br />

position width quired<br />

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

[cname1] 15 8 Yes Constraint name<br />

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

[cname2] 40 8 No Constraint name<br />

[value2] 50 12 No Numerical value<br />

<strong>The</strong> interpretation of a record is that [name] is the name of the RHS vector to be specified. In general,<br />

several vectors can be specified. [cname1] denotes a constraint name previously specified in the ROWS<br />

section. Now, assume that this name has been assigned to the i th constraint and v 1 denotes the value<br />

specified by [value1], then the interpretation of v 1 is:<br />

Constraint<br />

type<br />

li c u c i<br />

E v 1 v 1<br />

G v 1<br />

L v 1<br />

N<br />

An optional second element is specified by [cname2] and [value2] and is interpreted in the same way.<br />

Please note that it is not necessary to specify zero elements, because elements are assumed to be zero.<br />

F.1.1.8<br />

RANGES (optional)<br />

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

[name] [cname1] [value1] [cname2] [value2]<br />

where the requirements for each fields are as follows:<br />

Field Starting Maximum Re- Description<br />

position width quired<br />

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

[cname1] 15 8 Yes Constraint name<br />

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

[cname2] 40 8 No Constraint name<br />

[value2] 50 12 No Numerical value<br />

<strong>The</strong> records in this section are used to modify the bound vectors for the constraints, i.e. the values<br />

in l c and u c . A record has the following interpretation: [name] is the name of the RANGE vector and<br />

[cname1] is a valid constraint name. Assume that [cname1] is assigned to the i th constraint and let<br />

v 1 be the value specified by [value1], then a record has the interpretation:

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

Saved successfully!

Ooh no, something went wrong!