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.

A.2. CLASS TASK 325<br />

Sets a string parameter.<br />

Arguments<br />

paramname : str<br />

Name of a parameter.<br />

parvalue : str<br />

Parameter value.<br />

Description:<br />

Sets the value of a named string parameter.<br />

A.2.212<br />

Task.putobjname()<br />

Task.putobjname(objname)<br />

Assigns a new name to the objective.<br />

Arguments<br />

objname : str<br />

Name of the objective.<br />

Description:<br />

Assigns the name given by objname to the objective function.<br />

A.2.213<br />

Task.putobjsense()<br />

Task.putobjsense(sense)<br />

Sets the objective sense.<br />

Arguments<br />

sense : objsense<br />

<strong>The</strong> objective sense of the task. <strong>The</strong> values objsense.maximize and objsense.minimize<br />

means that the the problem is maximized or minimized respectively.<br />

Description:<br />

See also<br />

Sets the objective sense of the task.<br />

• Task.getobjsense Gets the objective sense.

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

Saved successfully!

Ooh no, something went wrong!