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.3. CLASS ENV 363<br />

A.2.278<br />

Task.writetask()<br />

Task.writetask(filename)<br />

Write a complete binary dump of the task data.<br />

Arguments<br />

filename :<br />

Description:<br />

str<br />

Output file name.<br />

Write a binary dump of the task data. This format saves all problem data, but not callbackfunktions<br />

and general non-linear terms.<br />

See section F.4 for a description of the Task format.<br />

A.3 Class Env<br />

A.3.1<br />

Env.checkinlicense()<br />

Env.checkinlicense(feature)<br />

Check in a license feature from the license server ahead of time.<br />

Arguments<br />

feature :<br />

Description:<br />

feature<br />

Feature to check in to the license system.<br />

Check in a license feature to the license server. By default all licenses consumed by functions<br />

using a single environment is kept checked out for the lifetime of the <strong>MOSEK</strong> environment. This<br />

function checks in a given license feature to the license server immidiatly.<br />

If the given license feature is not checked out or is in use by a call to Task.optimize calling this<br />

function has no effect.<br />

Please note that returning a license to the license server incurs a small overhead, so frequent<br />

calls to this function should be avoided.

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

Saved successfully!

Ooh no, something went wrong!