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.

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

RHS<br />

rhs c1 30<br />

rhs c2 15<br />

rhs c3 25<br />

RANGES<br />

BOUNDS<br />

UP bound x2 10<br />

ENDATA<br />

Subsequently each individual section in the MPS format is discussed.<br />

F.1.1.2<br />

NAME<br />

In this section a name ([name]) is assigned to the problem.<br />

F.1.1.3<br />

OBJSENSE (optional)<br />

This is an optional section that can be used to specify the sense of the objective function. <strong>The</strong> OBJSENSE<br />

section contains one line at most which can be one of the following<br />

MIN<br />

MINIMIZE<br />

MAX<br />

MAXIMIZE<br />

It should be obvious what the implication is of each of these four lines.<br />

F.1.1.4<br />

OBJNAME (optional)<br />

This is an optional section that can be used to specify the name of the row that is used as objective<br />

function. <strong>The</strong> OBJNAME section contains one line at most which has the form<br />

objname<br />

objname should be a valid row name.<br />

F.1.1.5<br />

ROWS<br />

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

? [cname1]<br />

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

Field Starting Maximum Re- Description<br />

position width quired<br />

? 2 1 Yes Constraint key<br />

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

Hence, in this section each constraint is assigned an unique name denoted by [cname1]. Please note<br />

that [cname1] starts in position 5 and the field can be at most 8 characters wide. An initial key (?)

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

Saved successfully!

Ooh no, something went wrong!