25.11.2015 Views

The MOSEK command line tool Version 7.0 (Revision 141)

The MOSEK command line tool. Version 7.0 ... - Documentation

The MOSEK command line tool. Version 7.0 ... - Documentation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

13.1. MPS FILE STRUCTURE 281<br />

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

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

Field Starting Maximum Re- Description<br />

position width quired<br />

[vname1] 5 8 Yes Variable name<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 />

Hence, a record specifies one or two elements a ij of A using the principle that [vname1] and [cname1]<br />

determines j and i respectively. Please note that [cname1] must be a constraint name specified in<br />

the ROWS section. Finally, [value1] denotes the numerical value of a ij . Another optional element<br />

is specified by [cname2], and [value2] for the variable specified by [vname1]. Some important<br />

comments are:<br />

• All elements belonging to one variable must be grouped together.<br />

• Zero elements of A should not be specified.<br />

• At least one element for each variable should be specified.<br />

13.1.7 RHS (optional)<br />

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

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

where the requirements for each field are as follows:<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:

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

Saved successfully!

Ooh no, something went wrong!